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 1HkcEY-0003VJ-V1 for garchives@archives.gentoo.org; Sun, 06 May 2007 08:36:47 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l468YwJA029381; Sun, 6 May 2007 08:34:58 GMT Received: from mail.ilievnet.com ([84.21.204.200]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l468YtWo029376 for ; Sun, 6 May 2007 08:34:57 GMT Received: from localhost (localhost [127.0.0.1]) by mail.ilievnet.com (Postfix) with ESMTP id F108F9148D for ; Sun, 6 May 2007 11:34:53 +0300 (EEST) X-Virus-Scanned: amavisd-new 2.4.1 (20060508) at ilievnet.com Received: from mail.ilievnet.com ([127.0.0.1]) by localhost (mail.ilievnet.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YTEvnLvnenx2 for ; Sun, 6 May 2007 11:34:44 +0300 (EEST) Received: from ilievnet.com (lists.ilievnet.com [10.0.1.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: danny@ilievnet.com) by mail.ilievnet.com (Postfix) with ESMTP id 279A29148B for ; Sun, 6 May 2007 11:34:44 +0300 (EEST) Date: Sun, 6 May 2007 11:34:42 +0300 From: Daniel Iliev To: gentoo-amd64@lists.gentoo.org Subject: Re: [gentoo-amd64] Re: [OT] AGPART [SOLVED] DRIFT: RAM USAGE In-Reply-To: References: <20070504170035.8E51699466@mail.ilievnet.com> <20070505075815.DE6FA92266@mail.ilievnet.com> X-Mailer: Claws Mail 2.9.1 (GTK+ 2.10.9; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit Message-Id: <20070506083444.279A29148B@mail.ilievnet.com> X-Archives-Salt: 372706c0-3e2c-448c-ab5d-49d9e2a68b44 X-Archives-Hash: 54533d40f40ee6abc9a5610fee6edd74 On Sat, 5 May 2007 09:15:41 +0000 (UTC) Duncan <1i5t5.duncan@cox.net> wrote: --snip-- > > 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. --snip-- In case you didn't know... There are several kernel configuration options you can tweak to make it cache more aggressively. Also you could try XFS - it is known to be one of the most hungry-for-RAM file systems. Please, have in mind that these tweaks could be dangerous for your file system in case of power failure. Consider using an UPS. So, you could try changing the values of the following params in /etc/sysctl.conf and activate their new values by "sysctl -p" vm.overcommit_memory fs.xfs.xfsbufd_centisecs fs.xfs.xfssyncd_centisecs fs.xfs.age_buffer_centisecs vm.dirty_ratio vm.dirty_background_ratio vm.dirty_expire_centisecs vm.dirty_writeback_centisecs vm.swappiness vm.swap_token_timeout vm.vfs_cache_pressure vm.page-cluster The meanings of these options are described in the kernel docs, so the files containing the info could be found by grepping like: "grep -rinm1 dirty_expire_centisecs /usr/src/linux/Documentation". Have fun! ;-) -- Best regards, Daniel -- gentoo-amd64@gentoo.org mailing list