From: Kenn Humborg (kenn at domain linux.ie)
Date: Sun 29 Sep 2002 - 19:41:03 IST
On Sat, Sep 28, 2002 at 11:56:07AM +0100, Paul Kelly wrote:
> Kenn Humborg wrote:
> > What I'm thinking is that there might be some tool that could
> > force the swapping in of user pages
> This feels like cheating, but if you're not in the red on physical RAM,
> 'swapoff -a; swapon -a' should do the trick. Or if you are in the red,
> but you have two or more swap devices, you could cycle each of them in turn.
It probably won't be in the red, but I wouldn't take that chance.
I'll probably just do as Niall suggested and switch over to a temporary
swap file and then back to my regular swap partition.
Thing is that these solutions require a surplus or RAM or disk, while
touching each page with ptrace(2) wouldn't. But then, the ptrace(2)
method would take longer to implement :-(
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:19:08 GMT