Results 1 to 4 of 4

Thread: CPU offlining

  1. #1
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    697

    CPU offlining

    Hi,


    I wonder if some of you had success with demand-scaling of their CPU power for VPS hosts.
    I tried to hack something that will take offline more and more physical CPUs in my Xen hosts as load decreases and takes them back online as the load goes back up.

    Of course, shutdown of the box is even more efficient, and it can be brought back online via IPMI once needed, but i.e. if you run a network backed cluster filesystem you will constantly have more nodes online than are being fully utilized.


    The problem with this was that I don't have a good power meter at hand, and judging by the CPU thermal sensors this whole endeavour had little effect.
    I guess all that happened was that the CPU cores were idling unused at full speed (so I managed to free the cores, but they weren't sent to sleep at all). The test box was just an AthlonX2 box, maybe that is another cause.

    Did any of you succeed in doing such a thing?
    What were your experiences?

    Or are you still planning to give it a try?
    Check out my SSD guides for Samsung, HGST (Hitachi Global Storage) and Intel!

  2. #2
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    697
    I can give a partial update to this

    You can view power management reports and set power management policies using
    xenpm

    Turning off CPUs like I wanted seems to be a little beyond what PC servers are capable off. (sigh... just toys
    Check out my SSD guides for Samsung, HGST (Hitachi Global Storage) and Intel!

  3. #3
    I think that's along along the same lines as sending CPU idle instructions. Remember back on windows 95 when the CPU would burn hot 24/7

    But to more directly answer your question, check out this pretty cool article on xen.org http://www.xen.org/files/xensummit_o...mmit_intel.pdf

    Run-time power (cpufreq) is particularly interesting.

  4. #4
    Join Date
    Mar 2010
    Location
    Germany
    Posts
    697
    Offlining is different. On highend servers it's possible to power off cpus or put them into deep sleep states if just single cores.

    Thanks for the link. About the paper, it's IMHO "nice research" but since they didn't have access to anything other than a dualcore laptop it is not highly helpful.
    So far I have enabled the "powersave" cpu governor using xenpm.
    At the Xen hackathon I also heard that the powersaving was at times broken for Xen kernels but from all I can tell this is working just fine on all versions that I have (Oracle 3.4 and AlpineLinux 4.1.2 with pvops)

    You can also see / collect good statistics with xenpm, like with intel powertop on normal servers.

    Oh and btw last weekend I did some large Nagios benchmarks. Doing a
    service cpuspeed stop improved results by a good 10% :/


    Anyway we can all do more on that topic so that we can hopefully some time live on the energy we get for free from our nature. And THEN we can have laaaarge datacenters

    happy powersaving!
    Check out my SSD guides for Samsung, HGST (Hitachi Global Storage) and Intel!

Similar Threads

  1. E3-1230 CPU vs. 2.53GHz quad core Xeon X3440 CPU
    By kobeyang in forum Dedicated Server
    Replies: 12
    Last Post: 08-27-2011, 07:11 AM
  2. Replies: 12
    Last Post: 02-12-2010, 01:22 PM
  3. what makes server cpu's superior to desktop cpu's? woodcrest vs conroe, etc
    By disgust in forum Colocation, Data Centers, IP Space and Networks
    Replies: 15
    Last Post: 12-12-2009, 07:22 PM
  4. Replies: 1
    Last Post: 10-29-2009, 11:16 PM
  5. Replies: 0
    Last Post: 08-11-2009, 11:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •