[maemo-users] Dealing with N900 responsiveness (or lack of thereof)

From: Marius Gedminas marius at pov.lt
Date: Tue Feb 23 11:16:50 EET 2010
On Mon, Feb 22, 2010 at 08:26:52PM +0000, Dawid Lorenz wrote:
> On 22 February 2010 18:06, Marius Gedminas <marius at pov.lt> wrote:
> > (Note that after a fresh boot with hundreds of megs of swap used the UI
> > is still snappy; it's after a large app pushes essential bits of the OS
> > into swap that leaves the UI a bit struggling, even after you close that
> > large app -- the OS bits are swapped-in incrementally on demand, so
> > expect occasional pauses.)
> That's what exactly I suspect is happening here and I wonder whether there
> is some way of flushing memory and/or swap from leftovers of apps that got
> closed?

There are no leftovers of apps that got closed; AFAIU it's just that
apps/libraries that didn't get closed were pushed from RAM into swap and
haven't moved back in again.  To force them back into RAM you can try

sudo gainroot
swapoff -a; swapon -a

Marius Gedminas
Premature optimization is the root of all evil.
                -- D.E. Knuth
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.maemo.org/pipermail/maemo-users/attachments/20100223/85bfd1c4/attachment.pgp>
More information about the maemo-users mailing list