Sujet : Re: Parallel Forth on a 44 core machine
De : minforth (at) *nospam* gmx.net (minforth)
Groupes : comp.lang.forthDate : 18. Aug 2024, 15:01:04
Autres entêtes
Organisation : novaBBS
Message-ID : <c39d2e740aa8410759bd1efba4bd2599@www.novabbs.com>
References : 1 2 3 4 5
User-Agent : Rocksolid Light
On Sun, 18 Aug 2024 13:33:27 +0000, mhx wrote:
What I meant is severe slowdown when reading variables that are
physically *close* to variables that belong to another process.
It happens for both AMD and Intel on both Windows and Linux.
Spacing such variables farther apart has dramatic impact but
is quite inconvenient in most cases.
IIRC I once read a recommendation to group shared variables in
(larger) structs. With structs you have control over their memory
spacing and improve cache behaviour.