project-m36 icon indicating copy to clipboard operation
project-m36 copied to clipboard

raw disk

Open boogerlad opened this issue 3 years ago • 2 comments

I see Project:M36 currently saves its state in memory or to a file. I don't know how hard it would be, but it would be nice to use an Intel 3D XPoint or some other sort of fast non volatile memory directly. Possibly better performance due to being able to optimize further, and operating system independent. This would also solve the chicken and the egg problem of new operating systems without hierarchical file systems.

boogerlad avatar Jan 27 '22 09:01 boogerlad

Indeed, I am excited about new storage technologies as well. Project:M36 has a bunch of low-hanging fruit to implement in this context. I hope that you have seen "UltraRAM" as well. It's not immediately clear, at least to me, how/when the operating system will discern between temporary and permanent storage and the current APIs will probably not suffice, so I'm keeping an eye on this.

agentm avatar Jan 27 '22 14:01 agentm

Note that Project:M36 currently uses essential and common file system features:

  • journaled fs metadata- enables durability of ACID
  • fsync/fdatasync- enables durability of ACID
  • parallel writing to disk

agentm avatar Oct 03 '22 17:10 agentm