From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1HkGOo-0001pr-MS for garchives@archives.gentoo.org; Sat, 05 May 2007 09:17:55 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l459G0U5019143; Sat, 5 May 2007 09:16:00 GMT Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l459G0od019138 for ; Sat, 5 May 2007 09:16:00 GMT Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HkGMr-0008Ko-CB for gentoo-amd64@lists.gentoo.org; Sat, 05 May 2007 11:15:53 +0200 Received: from ip68-230-67-248.ph.ph.cox.net ([68.230.67.248]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2007 11:15:53 +0200 Received: from 1i5t5.duncan by ip68-230-67-248.ph.ph.cox.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 05 May 2007 11:15:53 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-amd64@lists.gentoo.org From: Duncan <1i5t5.duncan@cox.net> Subject: [gentoo-amd64] Re: [OT] AGPART [SOLVED] Date: Sat, 5 May 2007 09:15:41 +0000 (UTC) Message-ID: References: <20070504170035.8E51699466@mail.ilievnet.com> <20070505075815.DE6FA92266@mail.ilievnet.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: ip68-230-67-248.ph.ph.cox.net User-Agent: Pan/0.128 (SR/CL: Leitmotiv: Toynbee Idea) Sender: news X-Archives-Salt: 7624fc50-df50-483b-b92e-6f581be1b667 X-Archives-Hash: 0f8dcb9cb36081202f063fe8733244af Daniel Iliev posted 20070505075815.DE6FA92266@mail.ilievnet.com, excerpted below, on Sat, 05 May 2007 10:58:13 +0300: > Duncan, thanks for your most detailed answer. Now I know an additional > thing that should be done when compiling a kernel for systems with >3.5G > RAM. Unfortunately I've got no such "problem" ;-) and I'm happy with my > 1G of RAM. It gets rarely used at 100%. Actually only in situations like > compilation of updated packages + web surfing in the same time. Beryl > and Firefox are my biggest resident memory hogs. Well, 4 gigs RAM or so opens some real nice possibilities, particularly on Gentoo. Among other things, one can point PORTAGE_TMPDIR at a tmpfs, and compile most things entirely in memory! =8^) Of course, not only does that speed up compiles significantly, but it decreases I/O contention, so the rest of your system, especially read/write to disk, remains much more responsive during compiles. Combine that with MAKEOPTS="-j1" on a dual-core or dual CPU, and/or PORTAGE_NICENESS=19, and compiles don't bother you at all. However, for normal use, 2 gigs seems a very good balance, as at least here. I'll run half a gig to a gig of app memory, leaving a gig of memory for cache. With a gig of memory, the system still works very well, but most of cache is thrown away during memory intensive tasks (like some compiles, or working with large image files or the like), and I really / hate/ to see that happen, when I know I'll only have to read that data back in from disk later. Two gigs is enough to use a gig of app memory at times and still have a gig of cache that's doesn't have to be thrown out on top of that, so it's a nice sweet spot. Actually, here, I have 8 gigs. That's a bit overkill. I'd probably stick with four if I were doing it over, as over four gigs remains entirely empty, most of the time, not even used for cache. Still, I have dual Opterons now, and was buying with dual-cores in mind. 8 gig of memory should still be plenty with dual dual-cores, even out three more years, which is when I expect to start getting serious about upgrading my entire platform once again. So the 8 gig was future-proofing, and I certainly accomplished that. Still, it's the first time I can honestly say I've had so much memory I rarely fill it up, even with cache, and it's nice to have had the experience at least /once/ in my life. =8^) -- Duncan - List replies preferred. No HTML msgs. "Every nonfree program has a lord, a master -- and if you use the program, he is your master." Richard Stallman -- gentoo-amd64@gentoo.org mailing list