2002-11-26 18:50:06

by Max Valdez

[permalink] [raw]
Subject: swap usage on most 2.4.x kernels

Hi all:

I have the same question that most people must have, why I need to
manually erase swap to avoid excesive paging after a couple of uptime
days ??.

Once i have most of my RAM ocupied (more than 50% by cache ona a 1GB
box) the swaping starts to be a problem, I know the problem is that i
like a fancy desktop style, and memory eating programs to read the damn
email, but I think there should be a way to decrese the swaping isnt it
??.. after all, most of the ram is in chache !!, is it really that
necesary ??

BTW, im starting to have the same "old" pagging problem with
2.4.20-rc2-ac3. after 1 uptime day. and it seems to be getting worst,
could it be a hardware problem ??, maybe my ram chips are passing the
way ?

If i'm doing something wrong please send me some recomendations.
Best regards
Max

--
uname -a: Linux garaged.fis.unam.mx 2.4.20-rc2-ac3 #2 SMP Thu Nov 21
17:15:31 UTC 2002 i686 unknown unknown GNU/Linux
-----BEGIN GEEK CODE BLOCK-----
GS/
d-s:a-C++ILIHA+++P-L++E--W++N+K-w++++O-M--V--PS+PEY+PGP-tXRtv++b+DI--D+Ge++h---r+++z+++
-----END GEEK CODE BLOCK-----
gpg-key: http://garaged.homeip.net/gpg-key.txt


Attachments:
signature.asc (189.00 B)
This is a digitally signed message part

2002-11-30 07:20:24

by Denis Vlasenko

[permalink] [raw]
Subject: Re: swap usage on most 2.4.x kernels

On 26 November 2002 10:57, Max Valdez wrote:
> Hi all:
>
> I have the same question that most people must have, why I need to
> manually erase swap to avoid excesive paging after a couple of uptime
> days ??.

What?

> Once i have most of my RAM ocupied (more than 50% by cache ona a 1GB
> box) the swaping starts to be a problem, I know the problem is that
> i like a fancy desktop style, and memory eating programs to read the
> damn email, but I think there should be a way to decrese the swaping
> isnt it ??.. after all, most of the ram is in chache !!, is it really
> that necesary ??

There are some /proc tunables, never used 'em muself...

Care to show us /proc/meminfo, top output etc?
People will be interesting *what* is eating your mem.

> BTW, im starting to have the same "old" pagging problem with
> 2.4.20-rc2-ac3. after 1 uptime day. and it seems to be getting worst,
> could it be a hardware problem ??, maybe my ram chips are passing the
> way ?

What? You want to say they are getting slower or smaller with time? ;)
--
vda