Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-10 Thread Blaisorblade
On Wednesday 09 February 2005 19:31, Paul Warren wrote: > On Wed, Feb 09, 2005 at 09:08:08AM -0800, 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 wil

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-10 Thread Blaisorblade
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) ge

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-10 Thread Blaisorblade
On Wednesday 09 February 2005 22:01, Anthony Brock wrote: > Paul Warren <[EMAIL PROTECTED]> 02/09/05 10:31AM >>> > > We've disabled this. Having searched the archives, I believe the > > summary is: > > > > CONFIG_BLK_DEV_UBD_SYNC == YES => All I/O is synchronous and slow > > CONFIG_BLK_DEV_U

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-10 Thread Blaisorblade
On Wednesday 09 February 2005 16:12, Paul Warren wrote: > On Wed, Feb 09, 2005 at 03:20:11PM +0100, Hegedus Gabor wrote: > > 2005-02-09, sze keltezéssel 14:13-kor Paul Warren ezt írta: > > > On Wed, Feb 09, 2005 at 02:59:50PM +0100, Andreas Wohlfeld wrote: > > > > Patch your host with skas and see

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-09 Thread Anthony Brock
Paul Warren <[EMAIL PROTECTED]> 02/09/05 10:31AM >>> > A delay. My original question was, does using tempfs do more than > prevent the memory from getting swapped out? We have developed a patch > that mlock()s the memory (using a setuid helper app), and thus should > stop it from getting swa

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-09 Thread Paul Warren
On Wed, Feb 09, 2005 at 09:08:08AM -0800, 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 call

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-09 Thread Anthony Brock
>>> 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) doe

Re: [uml-user] tempfs (was: no. of UMLs)

2005-02-09 Thread Paul Warren
On Wed, Feb 09, 2005 at 03:20:11PM +0100, Hegedus Gabor wrote: > 2005-02-09, sze keltezéssel 14:13-kor Paul Warren ezt írta: > > On Wed, Feb 09, 2005 at 02:59:50PM +0100, Andreas Wohlfeld wrote: > > > Patch your host with skas and see that the temp files go to a tempfs > > > mount point (or mount /