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:25:28
Message-Id: 13cc2f7804073109259dc2eab@mail.gmail.com
In Reply to: Re: [gentoo-performance] swap? by Gyujin Park
1 just a thought. A server environment might benefit from setting the
2 swappiness factor higher. try echo "100" > /proc/sys/vm/swappiness
3
4 On Sat, 31 Jul 2004 07:27:36 -0600, Gyujin Park <gpark@××××××.com> wrote:
5 > Yes, response in Apache, and vsFTP gets really slow until more memory frees out.
6 > (Report from users and other admins while I was testing the system.)
7 >
8 > Thanks,
9 >
10 > Tom
11 >
12 > On Fri Jul 30 20:42 , Colin Kingsley <ckingsley@×××××.com> sent:
13 >
14 > >As far as I know, your system should be stable. The details of how
15 > >much memory/swap is used at any given moment probably depends on your
16 > >kernel, how much memory you have, etc.
17 > >
18 > >Do you have any actual evidence of the slow down you mentioned? the
19 > >system should begin using swap when/if it needs to. it looks to me
20 > >like you discovered the "free" command and are seeing problems where
21 > >none exist.
22 > >
23 > >On Sat, 31 Jul 2004 03:53:58 +0200, lukas lukas@××××××.de> wrote:
24 > >> On Saturday 31 July 2004 02:42, Gyujin Park wrote:
25 > >> > Does this mean the system will be still stable with 99% memory usage?
26 > >> > I mean, at some point it should turn into swap. The system reaches up
27 > >> > to 99% physical memory usage with less than 3 MB of physical memory
28 > >> > left.
29 > >>
30 > >> "free" gives me the following outout on my workstation:
31 > >>
32 > >> total used free shared buffers cached
33 > >> Mem: 1550840 1308096 242744 0 94244 859148
34 > >> -/+ buffers/cache: 354704 1196136
35 > >> Swap: 522104 23868 498236
36 > >>
37 > >> About 84% memory is used. But about 900MB are used for caching and
38 > >> buffering, so in fact there are only about 346MB in "real use".
39 > >> If your memory is 99% without buffers and cache, then there is
40 > >> something wrong (but I don't know what).
41 > >> Can you see a process that consumes that much memory when you are
42 > >> calling "ps" or "top"?
43 > >> What kind of kernel do you use?
44 > >>
45 > >> cu
46 > >>
47 > >> lukas
48 > >>
49 > >>
50 > >>
51 > >
52 > >--
53 > >gentoo-performance@g.o mailing list
54 > >
55 >
56 > ---- Introducing Spymac MailPro: http://www.spymac.com/mailpro/
57 >
58 > --
59 > gentoo-performance@g.o mailing list
60 >
61 >
62
63 --
64 gentoo-performance@g.o mailing list