Gentoo Archives: gentoo-performance

From: Colin Kingsley <ckingsley@×××××.com>
To: gentoo-performance@l.g.o, gpark@××××××.com
Subject: Re: [gentoo-performance] swap?
Date: Sat, 31 Jul 2004 16:44:13
Message-Id: 13cc2f7804073109446dd9f637@mail.gmail.com
In Reply to: Re: [gentoo-performance] swap? by Gyujin Park
um. that makes NO sense at ALL.
Besides, youve missed the point that using 99% of your physical memory
is not a problem. However, the fact that /proc/sys/vm/swappiness does
not exist is extreemly wierd, maybe you need support for it compiled
into your kernel. While youre at it, maybe you need to check some
other parts of your kernel config. Make sure you have shared memory
support compiled into your kernel!


On Sat, 31 Jul 2004 10:31:35 -0600, Gyujin Park <gark@××××××.com> wrote:
> thanks, > weird though, swapiness does not exist in 2004.2 in this server. It does in my > desktop 2004.0. > > but i found the big secret formula to clear up memory. Even though I am not sure. > (Thanks to Bart Alewijnse) > > dd if=/dev/hda1 of=/dev/null bs=400M > > It frees out a lot of memory. > However, swap still doesn't work. > > Tom > > On Sat Jul 31 10:25 , Colin Kingsley <ckingsley@×××××.com> sent: > > >just a thought. A server environment might benefit from setting the > >swappiness factor higher. try echo "100" > /proc/sys/vm/swappiness > > > >On Sat, 31 Jul 2004 07:27:36 -0600, Gyujin Park gpark@××××××.com> wrote: > >> Yes, response in Apache, and vsFTP gets really slow until more memory frees out. > >> (Report from users and other admins while I was testing the system.) > >> > >> Thanks, > >> > >> Tom > >> > >> On Fri Jul 30 20:42 , Colin Kingsley ckingsley@×××××.com> sent: > >> > >> >As far as I know, your system should be stable. The details of how > >> >much memory/swap is used at any given moment probably depends on your > >> >kernel, how much memory you have, etc. > >> > > >> >Do you have any actual evidence of the slow down you mentioned? the > >> >system should begin using swap when/if it needs to. it looks to me > >> >like you discovered the "free" command and are seeing problems where > >> >none exist. > >> > > >> >On Sat, 31 Jul 2004 03:53:58 +0200, lukas lukas@××××××.de> wrote: > >> >> On Saturday 31 July 2004 02:42, Gyujin Park wrote: > >> >> > Does this mean the system will be still stable with 99% memory usage? > >> >> > I mean, at some point it should turn into swap. The system reaches up > >> >> > to 99% physical memory usage with less than 3 MB of physical memory > >> >> > left. > >> >> > >> >> "free" gives me the following outout on my workstation: > >> >> > >> >> total used free shared buffers cached > >> >> Mem: 1550840 1308096 242744 0 94244 859148 > >> >> -/+ buffers/cache: 354704 1196136 > >> >> Swap: 522104 23868 498236 > >> >> > >> >> About 84% memory is used. But about 900MB are used for caching and > >> >> buffering, so in fact there are only about 346MB in "real use". > >> >> If your memory is 99% without buffers and cache, then there is > >> >> something wrong (but I don't know what). > >> >> Can you see a process that consumes that much memory when you are > >> >> calling "ps" or "top"? > >> >> What kind of kernel do you use? > >> >> > >> >> cu > >> >> > >> >> lukas > >> >> > >> >> > >> >> > >> > > >> >-- > >> >gentoo-performance@g.o mailing list > >> > > >> > >> ---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/ > >> > >> -- > >> gentoo-performance@g.o mailing list > >> > >> > > > >-- > >gentoo-performance@g.o mailing list > > > > ---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/ > > -- > gentoo-performance@g.o mailing list > >
-- gentoo-performance@g.o mailing list

Replies

Subject Author
Re: [gentoo-performance] swap? Bart Alewijnse <scarfboy@×××××.com>