Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #132026

Re: Parallel Forth on a 44 core machine

From mhx@iae.nl (mhx)
Newsgroups comp.lang.forth
Subject Re: Parallel Forth on a 44 core machine
Date 2024-08-18 11:31 +0000
Organization novaBBS
Message-ID <2df471d1ec39c22949169f8a612b780d@www.novabbs.com> (permalink)
References <a46cb8e455c12e2c81cd2ff60c095528@www.novabbs.com> <112ba13cc3d99496d5825773b3f0642e@www.novabbs.com>

Show all headers | View raw


On Sun, 18 Aug 2024 9:28:09 +0000, minforth wrote:

> Impressive! A PCIe NVMe drive will be a boost, but don't expect
> too much, when you already have so much RAM. And electric power. ;-)

I tried a RAM drive (from AMD), but it has a throughput of only 50MB/s,
10x slower than the SATA 6GBs connected Samsung SSD (500MB/s). I am a
bit puzzled why that is so devastatingly slow.

> My experiments with parallel threads were a bit sobering. You
> really need rather isolated subprocesses that require little
> synchronisation.

Yes, that is Amdahl's law. We constantly struggled with that
for tForth. Fine-grained parallelism never gave us good results.

> Otherwise the slowest process plus additional
> syncing costs can eat up all the expected benefits. Nothing new.

A new (to me) thing was that processes slow down enormously from
accessing shared global variables (depending on their physical
location), even when no locks are needed/used. For iSPICE such
variables are in OS managed shared memory (aka the swap file)
and are used very infrequently.

-marcel

Back to comp.lang.forth | Previous | NextPrevious in thread | Next in thread | Find similar


Thread

Parallel Forth on a 44 core machine mhx@iae.nl (mhx) - 2024-08-17 15:34 +0000
  Re: Parallel Forth on a 44 core machine minforth@gmx.net (minforth) - 2024-08-18 09:28 +0000
    Re: Parallel Forth on a 44 core machine mhx@iae.nl (mhx) - 2024-08-18 11:31 +0000
      Re: Parallel Forth on a 44 core machine albert@spenarnc.xs4all.nl - 2024-08-18 14:47 +0200
        Re: Parallel Forth on a 44 core machine mhx@iae.nl (mhx) - 2024-08-18 13:33 +0000
          Re: Parallel Forth on a 44 core machine anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2024-08-18 13:42 +0000
            Re: Parallel Forth on a 44 core machine mhx@iae.nl (mhx) - 2024-08-18 14:32 +0000
              Re: Parallel Forth on a 44 core machine anton@mips.complang.tuwien.ac.at (Anton Ertl) - 2024-08-18 15:14 +0000
          Re: Parallel Forth on a 44 core machine minforth@gmx.net (minforth) - 2024-08-18 14:01 +0000
    Re: Parallel Forth on a 44 core machine mhx@iae.nl (mhx) - 2024-08-28 09:29 +0000
      Re: Parallel Forth on a 44 core machine Paul Rubin <no.email@nospam.invalid> - 2024-08-28 09:35 -0700
  Re: Parallel Forth on a 44 core machine mhx@iae.nl (mhx) - 2024-08-18 18:37 +0000

csiph-web