From: Simon <turner25@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Tips for saving power needed...
Date: Mon, 2 Apr 2012 10:17:42 -0400 [thread overview]
Message-ID: <CAN1q39VQQnaAAmFW6=d60ggof+t1+1-tWSirwz+EDJGd_4+5hQ@mail.gmail.com> (raw)
In-Reply-To: <CA+czFiAaXuRb5_RtUHnNeyV7nh1bSNmOgU=GOjucvzb0v61N5A@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 2965 bytes --]
There's "powertop" that I use, which shows a listing of things that are
keeping the computer busy. And it gives recommendations on how to lower
power usage (including setting kernel options, enabling/disabling stuff in
/sys, etc...). It also estimates power consumption in Watts and gives you
approx time left.
Many recomendations already posted in this emails will be suggested by
powertop.
Simon
On Mon, Apr 2, 2012 at 8:10 AM, Michael Mol <mikemol@gmail.com> wrote:
> On Mon, Apr 2, 2012 at 7:57 AM, Pandu Poluan <pandu@poluan.info> wrote:
> >
> > On Apr 2, 2012 5:00 PM, "Robert David" <robert.david.public@gmail.com>
> > 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 <mr.jarry@gmail.com> napsáno:
> >>
> >> > 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=y, 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
> push
> > 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 = 0
>
> On the command line:
> sysctl -w vm.swappiness=0
>
> --
> :wq
>
>
[-- Attachment #2: Type: text/html, Size: 3995 bytes --]
prev parent reply other threads:[~2012-04-02 14:19 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-04-01 15:04 [gentoo-user] Tips for saving power needed Jarry
2012-04-01 15:24 ` Michael Hampicke
2012-04-01 15:56 ` Volker Armin Hemmann
2012-04-02 5:22 ` Walter Dnes
2012-04-06 17:05 ` [gentoo-user] Tips for saving power needed... particulary on laptops Frank Steinmetzger
2012-04-06 17:17 ` Michael Mol
2012-04-02 9:55 ` [gentoo-user] Tips for saving power needed Robert David
2012-04-02 11:57 ` Pandu Poluan
2012-04-02 12:10 ` Michael Mol
2012-04-02 14:17 ` Simon [this message]
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='CAN1q39VQQnaAAmFW6=d60ggof+t1+1-tWSirwz+EDJGd_4+5hQ@mail.gmail.com' \
--to=turner25@gmail.com \
--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