On Wednesday 09 February 2005 18:08, Anthony Brock wrote: > >>> Paul Warren <[EMAIL PROTECTED]> 02/09/05 07:12AM >>> > > > > Right, but the memory is mmapped to that file. My understanding is > > that > > > the memory will only be synced with the disk when either (a) msync > > (or > > > munmap) gets called or (b) the kernel has nothing better to do. > > > > I'm assuming that (a) doesn't happen, and I wouldn't expect (b) to > > happen if the I/O system is otherwise engaged, so I don't understand > > where the performance gain comes from - it should all be in RAM > > anyway. > > Paul, > > Assuming that you assessment is correct, what happens when: > > 1. The system is idle (say, for 4 seconds). > 2. The host decides to swap-out the guest kernel and memory. > 3. Your user, in the middle of looking at his programming book, starts > typing again.
> tmpfs resolves a LOT of the performance issues. tmpfs *does not* prevent its content from being swapped - you should use ramfs for this purpose. > Tony -- Paolo Giarrusso, aka Blaisorblade Linux registered user n. 292729 http://www.user-mode-linux.org/~blaisorblade ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ User-mode-linux-user mailing list User-mode-linux-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user