Gentoo Archives: gentoo-performance

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

Replies

Subject Author
Re: [gentoo-performance] swap? Colin Kingsley <ckingsley@×××××.com>