Deutsch   English   Français   Italiano  
<2024Aug18.171452@mips.complang.tuwien.ac.at>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!feeder8.news.weretis.net!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: anton@mips.complang.tuwien.ac.at (Anton Ertl)
Newsgroups: comp.lang.forth
Subject: Re: Parallel Forth on a 44 core machine
Date: Sun, 18 Aug 2024 15:14:52 GMT
Organization: Institut fuer Computersprachen, Technische Universitaet Wien
Lines: 18
Message-ID: <2024Aug18.171452@mips.complang.tuwien.ac.at>
References: <a46cb8e455c12e2c81cd2ff60c095528@www.novabbs.com> <112ba13cc3d99496d5825773b3f0642e@www.novabbs.com> <2df471d1ec39c22949169f8a612b780d@www.novabbs.com> <nnd$0f8813aa$41d0ee61@18dd570284c2b77b> <932f13f537e8c918ecd2089466e4c405@www.novabbs.com> <2024Aug18.154233@mips.complang.tuwien.ac.at> <f149ab8c61a2bc72b3471b90985a3930@www.novabbs.com>
Injection-Date: Sun, 18 Aug 2024 17:25:58 +0200 (CEST)
Injection-Info: dont-email.me; posting-host="11f9cdd7e7dbbdab9d286c1d611a2b79";
	logging-data="2563364"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX18EImlzvHm0uPbvO9Wkp7kW"
Cancel-Lock: sha1:CAC2YViYifxfUcHxrRMzrgxGXx4=
X-newsreader: xrn 10.11
Bytes: 1910

mhx@iae.nl (mhx) writes:
>Do you know if shared memory as provided by the OS (or Windows)
>has these problems too?

Shared memory has false sharing problems, however that sharing is
arranged.  The slowdown comes from the hardware.  See
<https://en.wikipedia.org/wiki/False_sharing>.

The I-cache/D-cache ping-pong when you have writable data close to
executed code on AMD64 is also false sharing, this time within one
core.

- anton
-- 
M. Anton Ertl  http://www.complang.tuwien.ac.at/anton/home.html
comp.lang.forth FAQs: http://www.complang.tuwien.ac.at/forth/faq/toc.html
     New standard: https://forth-standard.org/
   EuroForth 2024: https://euro.theforth.net