From: Billy <billy@gonoph.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] More memory?
Date: Mon, 06 Dec 2004 12:32:13 -0500 [thread overview]
Message-ID: <41B4979D.2030609@gonoph.net> (raw)
In-Reply-To: <49bf44f104120608167e0a24a5@mail.gmail.com>
Grant wrote:
> If I'm reading that right, I'm only *using* using 340MB. Why doesn't
> the system get rid of some of the inactive stuff in memory so I don't
> have to use more and more swap and slow down my system?
that's what swap does. It moves inactive stuff onto disk so :
* apps have more ram - thus faster
* the OS can cache more data - thus faster
I'll post some of my systems, so you can see their swap usage. The
machines with the most IO utilize the most swap. The one that serves
purely dynamic pages uses very little swap - and it's apache server has
fewer dynamic modules compiled in so that will help on memory foot print
usage. However, swap usage isn't a bad thing. In fact, it most cases
it's a really, really good thing.
[Terminal Server] gentoo running 2.6.x kernel. I'm doing an emerge, and
I have 10 physically different people logged on the system doing work.
Running on dual 1.6 Ghz opertons. High load average is mostly disk IO
due to emerge.
11:56:03 up 18 days, 12:04, 25 users, load average: 7.65, 7.23, 5.63
total used free shared buffers cached
Mem: 2009 1591 417 0 57 341
-/+ buffers/cache: 1192 816
Swap: 4094 1218 2876
However, since I'm using the ck-sources, and most of the apps are
interactive, no one even notices I'm doing anything funny.
[Web Server] suse running 2.4.x kernel, a peak of about 15 hits per
second, and peak traffic of 670kbps. does not act slow. Running on 1.2
Ghz P3. Also email virus scanner, SMTP and POP - I don't have peak usage
on those services.
11:52am up 274 days, 18:38, 1 user, load average: 0.00, 0.02, 0.02
total used free shared buffers cached
Mem: 1005 929 75 0 183 319
-/+ buffers/cache: 426 578
Swap: 1027 698 328
[secure commerce server] redhat running 2.4.x kernel, a peak of about 12
hits per minute, and about 130 kbps. Also not slow, all pages dynamic.
Running on 1.2 Ghz P3. Database on another system.
12:17pm up 67 days, 3:08, 2 users, load average: 0.01, 0.06, 0.06
total used free shared buffers cached
Mem: 439 414 24 0 159 117
-/+ buffers/cache: 137 301
Swap: 509 37 472
--
gentoo-user@gentoo.org mailing list
next prev parent reply other threads:[~2004-12-06 18:39 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <49bf44f104120306566d7e95cc@mail.gmail.com>
[not found] ` <1102117306.10326.3.camel@sf.rout.dyndns.org>
[not found] ` <49bf44f10412031709175d496@mail.gmail.com>
[not found] ` <20041204013213.GA30529@vicerveza.homeunix.net>
[not found] ` <49bf44f104120318296c48f892@mail.gmail.com>
2004-12-04 23:49 ` [gentoo-user] More memory? James Colannino
[not found] ` <200412040853.22010.uwix@iway.na>
[not found] ` <49bf44f104120410162d888ca2@mail.gmail.com>
[not found] ` <41B2059F.2010407@pnpitalia.it>
[not found] ` <49bf44f10412041057329eda1d@mail.gmail.com>
2004-12-05 1:33 ` Bastian Balthazar Bux
2004-12-06 16:16 ` Grant
2004-12-06 17:20 ` Jerry McBride
2004-12-06 17:32 ` Billy [this message]
2004-12-06 20:36 ` Uwe Thiem
[not found] ` <cor8c2$pgv$1@sea.gmane.org>
2004-12-05 0:27 ` [gentoo-user] " Simon Windsor
2004-12-05 1:39 ` Grant
2004-12-05 12:21 ` Tim Igoe
2004-12-05 18:05 ` Grant
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=41B4979D.2030609@gonoph.net \
--to=billy@gonoph.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox