yum and low memory kernel behaviour

seth vidal skvidal at phy.duke.edu
Sun Oct 24 15:50:29 UTC 2004


On Sun, 2004-10-24 at 09:54 -0400, Alan Cox wrote:
> On Sun, Oct 24, 2004 at 03:43:23AM -0400, seth vidal wrote:
> > I do not know of anyway of a userland application to force the kernel to
> > not allow the use of swap. I can tell you definitely that I have not
> > intentionally programmed yum to do that.
> 
> mlockall().
> 
> It is normally the wrong thing to do. You can also hint to the kernel that
> stuff is no longer needed using madvise().
> 
> This sounds rather more like an application programming issue however 8)


Well, I'm open to suggestions. There is 200M of data to be written to a
pickle file and I don't know of any way to write the pickle out in
little pieces.

-sv





More information about the test mailing list