You may want to read this: https://db.cs.cmu.edu/mmap-cidr2022/

Quoth [email protected]:
> Further trying to sanitize venti, I decided to change my mventi (no isects) 
> for mmap IO.
> 
> At a first stage I mmap the whole venti i arena partition (current size 80GB, 
> filled to 44GB). On a 64bit processor this is not a big thing, and replace 
> the file operations (rwpart in part.cĀ  and readarena in arena.c) by memmove.
> 
> As it works on amd64 FreeBSD, I can now eliminate the block cacheĀ  and its 
> complications (IO over block boundaries) from the source making the remaining 
> source much clearer.
> 
> The price is, that I have to rely on demand paging of the OS. So it is 
> probably not easily portable to plan9 or 9front.
> 
> Can any body give ime a hint, how to map a partition to a segment in 9front?

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tf991997f4e7bb37e-M1c4328c5437366d50eb39ffd
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to