NVSL / linux-nova

NOVA is a log-structured file system designed for byte-addressable non-volatile memories, developed at the University of California, San Diego.
http://nvsl.ucsd.edu/index.php?path=projects/nova
Other
421 stars 118 forks source link

Write distribution of NOVA filesystem #79

Closed pratham-pc closed 3 years ago

pratham-pc commented 4 years ago

Is there any way to know how the writes are being distributed? Any of the two - the expected writes and the writes which actually take place because of the caching system.

pratham-pc commented 4 years ago

@Andiry if it is possible, can you please check this?

Andiry commented 4 years ago

There is no caching system in NOVA (if you mean DRAM cache). For the writes, since the NVM pages are allocated across the CPUs based on physical address, depending on which core handling the write request, writes will be performed on the free pages that is managed by that core, starting from low address. If data fault protection is enabled, things are more complicated because parity will be written to a different place. But that is the basic idea.