From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1SEg73-0004Uo-NS for garchives@archives.gentoo.org; Mon, 02 Apr 2012 12:11:58 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E2B06E0CB2; Mon, 2 Apr 2012 12:11:32 +0000 (UTC) Received: from mail-bk0-f53.google.com (mail-bk0-f53.google.com [209.85.214.53]) by pigeon.gentoo.org (Postfix) with ESMTP id E66EFE0BF0 for ; Mon, 2 Apr 2012 12:10:14 +0000 (UTC) Received: by bkwj4 with SMTP id j4so2346125bkw.40 for ; Mon, 02 Apr 2012 05:10:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=fZi0dfNRb1V4VxW3ROldtk3It7bVyI+miWaMCGD3nsU=; b=fDc8O+mrvRf8CC6Zl9JXFawthwRCo4buTVH7U/lupwPf2OXPHPKfYHQ1cqKt+FB37C fw58ZnxV9oa8zKV7/vtW8YqP7xtjhHBdWTLcvpAW+AQUM+5b0uenz1hopXfIiQqf008L UqO+K+hCsaR0c57yMD5w1EoAuq9fG1IPvfo/5p7HzoEAzUZ94GAkG60mUvuZlyfOUnp9 Q1K+EVgc2PpAZz6/hI2reoNocyFBKNAxJIu5tb6WVPc4Rfv0A1jcV8P/ZUeIBMX9k9YJ bHpA+3flsbO/gCuok/RzFfM0OSjRQzLcZHv4xM86WqpNr3d9w3dXwfXS8tPARfR4m8RC DCjg== Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.204.128.204 with SMTP id l12mr3608374bks.9.1333368613793; Mon, 02 Apr 2012 05:10:13 -0700 (PDT) Received: by 10.204.164.76 with HTTP; Mon, 2 Apr 2012 05:10:13 -0700 (PDT) In-Reply-To: References: <4F786E9A.60404@gmail.com> <20120402115559.2b723512@gmail.com> Date: Mon, 2 Apr 2012 08:10:13 -0400 Message-ID: Subject: Re: [gentoo-user] Tips for saving power needed... From: Michael Mol To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 215caaa7-ccf8-4dd1-8a73-afd95acee6c6 X-Archives-Hash: 1ca3c87fade74705647354a53ff1016e On Mon, Apr 2, 2012 at 7:57 AM, Pandu Poluan wrote: > > On Apr 2, 2012 5:00 PM, "Robert David" > wrote: >> >> Hi, >> >> maybe write your hw configuration first. Eg: CPUs, graphic cards, HDDs >> (size, speed, type) and others. >> >> Also provide lspci output and /proc/cpuinfo. >> >> Then this is a server, maybe with more than one GB nic. If you dont use >> spare nics disable them in bios. Do the same with other unneeded stuff. >> >> If you can access your server and replace cards, remove everything you >> dont need. Do not lower fans or dont play with cpu voltage. If you want >> to run this server 24/7 it can cause serious problems. It will not save >> you much power. Paradoxly this could lead to higher power usage in >> some cases, because of hotter devices. >> >> Remove spare memory cards, if you dont need much memory, etc. >> >> Robert. >> >> V Sun, 01 Apr 2012 17:04:58 +0200 >> Jarry naps=C3=A1no: >> >> > Hi, >> > >> > admin of a colo-center keeps complaining my server is going >> > a little over power-limit (which they have set as ~120W per >> > 24h/avg, while my server needs ~130-135W). So I need to find >> > a way to save at least those 15W, or I will be moved to >> > higher tarif (which means higher costs for server-housing). >> > >> > Before going hard(ware) way, I would like to try first >> > all possible software solutions. What I tried up to now is >> > cpufreqd, CONFIG_NO_HZ=3Dy, and spindown. In addition to that >> > I adjusted fan-speeds to a little lower values and turned >> > off some unneeded peripherials (in bios). >> > >> > Is there anything else I could do? Any tips would be greatly >> > welcomed... >> > >> > Jarry >> > >> >> > > I'd rather have *more* RAM than causing unnecessary swaps. > > Try using a smaller swapfile to reduce swap tendencies. You can always pu= sh > a larger swapfile into service when needed. > > There's also a kernel knob to set 'swappiness', but I forget what exactly= . > Try 'sysctl -a | grep swap' Swappiness is the knob you want to set if you want to reduce swappiness. I set mine to 0; swap only when absolutely necessary. In /etc/sysctl.conf: vm.swappiness =3D 0 On the command line: sysctl -w vm.swappiness=3D0 --=20 :wq