From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7669 invoked from network); 6 Dec 2004 18:39:24 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 6 Dec 2004 18:39:24 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.41) id 1CbNlc-0003PY-2D for arch-gentoo-user@lists.gentoo.org; Mon, 06 Dec 2004 18:39:24 +0000 Received: (qmail 25754 invoked by uid 89); 6 Dec 2004 18:39:00 +0000 Mailing-List: contact gentoo-user-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-user@lists.gentoo.org X-BeenThere: gentoo-user@gentoo.org Received: (qmail 11695 invoked from network); 6 Dec 2004 18:38:58 +0000 Message-ID: <41B4979D.2030609@gonoph.net> Date: Mon, 06 Dec 2004 12:32:13 -0500 From: Billy User-Agent: Mozilla Thunderbird 0.8 (X11/20040918) X-Accept-Language: en-us, en MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org References: <49bf44f104120306566d7e95cc@mail.gmail.com> <20041204013213.GA30529@vicerveza.homeunix.net> <49bf44f104120318296c48f892@mail.gmail.com> <200412040853.22010.uwix@iway.na> <49bf44f104120608167e0a24a5@mail.gmail.com> In-Reply-To: <49bf44f104120608167e0a24a5@mail.gmail.com> X-Enigmail-Version: 0.86.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-user] More memory? X-Archives-Salt: 7a4f3751-b2fa-48a6-974c-93598636268c X-Archives-Hash: 88b459707f8e5eaa03ec834650eaf2d3 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