[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-arm-kernel
Subject:    Re: Disabling kswapd
From:       Matthias Welwarsky <mwelwarsky () web ! de>
Date:       2004-06-11 10:37:36
Message-ID: 200406111237.36832.mwelwarsky () web ! de
[Download RAW message or body]

On Friday 11 June 2004 11:45, Erik Mouw wrote:
> On Thu, Jun 10, 2004 at 03:20:14PM -0700, Michael Moedt wrote:
> > I noticed a bunch of threads called 'kswapd' running
> > around on my system.  I'm not using any swapspace
> > (this is an embedded, ARM-based system!).
>
> You do, but you don't realise: when you execute /bin/sh and memory
> presure becomes high, the VM system will get rid of pages used by the
> .text segments of the binaries. IOW: it's used as file backed swap. The
> swapspace is for anonymous memory (memory you allocate with malloc()).

Actually, if you see them "Running" (R), this is a good (bad, actually) sign 
that your system is experiencing memory pressure. 

regards,
	matthias

-------------------------------------------------------------------
Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel
FAQ:       http://www.arm.linux.org.uk/armlinux/mlfaq.php
Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic