Sujet : Re: Parallel Forth on a 44 core machine
De : anton (at) *nospam* mips.complang.tuwien.ac.at (Anton Ertl)
Groupes : comp.lang.forthDate : 18. Aug 2024, 16:14:52
Autres entêtes
Organisation : Institut fuer Computersprachen, Technische Universitaet Wien
Message-ID : <2024Aug18.171452@mips.complang.tuwien.ac.at>
References : 1 2 3 4 5 6 7
User-Agent : xrn 10.11
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.htmlcomp.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