Sujet : Re: Parallel Forth on a 44 core machine
De : mhx (at) *nospam* iae.nl (mhx)
Groupes : comp.lang.forthDate : 28. Aug 2024, 10:29:37
Autres entêtes
Organisation : novaBBS
Message-ID : <a8005a1e18c02b7ce73e93705af8d9d4@www.novabbs.com>
References : 1 2
User-Agent : Rocksolid Light
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 didn't catch your drift there until I found out why there are no
really fast RAM drives. The fastest drive is no drive at all, and
that is possible by writing the simulation data to a temp file.
Windows has a special attribute for that ( _O_SHORT_LIVED ) and
Linux has shm.
This means that there is no need for iSPICE to require a fast disk
as long as there is enough free memory. And nice: I didn't have to
change the code much, only the file attributes for one CREATE-FILE.
With this change there is a slight possibility of losing data
when the OS crashes before the RAM runs out, or before there's
a reboot.
-marcel