| Deutsch English Français Italiano |
|
<2df471d1ec39c22949169f8a612b780d@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: mhx@iae.nl (mhx) Newsgroups: comp.lang.forth Subject: Re: Parallel Forth on a 44 core machine Date: Sun, 18 Aug 2024 11:31:37 +0000 Organization: novaBBS Message-ID: <2df471d1ec39c22949169f8a612b780d@www.novabbs.com> References: <a46cb8e455c12e2c81cd2ff60c095528@www.novabbs.com> <112ba13cc3d99496d5825773b3f0642e@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="2998669"; mail-complaints-to="usenet@i2pn2.org"; posting-account="t0bSWFIQDvYvkkhDiPIIv6byulC6WbSEwXWMJpxc4k0"; User-Agent: Rocksolid Light X-Rslight-Posting-User: 59549e76d0c3560fb37b97f0b9407a8c14054f24 X-Spam-Checker-Version: SpamAssassin 4.0.0 X-Rslight-Site: $2y$10$H5bYKrLXn3AcgzjE0pb5DO1de0lkDpIN4Zs4RiiwzT/SaM2SWNWni Bytes: 2050 Lines: 25 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