Deutsch   English   Français   Italiano  
<c39d2e740aa8410759bd1efba4bd2599@www.novabbs.com>

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

Path: ...!weretis.net!feeder9.news.weretis.net!i2pn.org!i2pn2.org!.POSTED!not-for-mail
From: minforth@gmx.net (minforth)
Newsgroups: comp.lang.forth
Subject: Re: Parallel Forth on a 44 core machine
Date: Sun, 18 Aug 2024 14:01:04 +0000
Organization: novaBBS
Message-ID: <c39d2e740aa8410759bd1efba4bd2599@www.novabbs.com>
References: <a46cb8e455c12e2c81cd2ff60c095528@www.novabbs.com> <112ba13cc3d99496d5825773b3f0642e@www.novabbs.com> <2df471d1ec39c22949169f8a612b780d@www.novabbs.com> <nnd$0f8813aa$41d0ee61@18dd570284c2b77b> <932f13f537e8c918ecd2089466e4c405@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="3010680"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="0+ejqm+s29REto3A2x2P4fP+XaUXf51pZgtYBR0nEqI";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$/ck/TlYN2WrY1egWqe2u..Chs8rEOHLbpzz7zuhd7rwo6gNmy6JCG
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: d2a19558f194e2f1f8393b8d9be9ef51734a4da3
Bytes: 1635
Lines: 9

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.