[CentOS] Power burn test

Fri Aug 3 20:05:38 UTC 2007
Timothy Selivanow <timothys at easystreet.com>

On Fri, 2007-08-03 at 15:01 -0400, Robert Moskowitz wrote:
> I need a program that will just run everything at max so I can measure 
> the max power used on some systems.  My 'Kill a Watt' meter should show 
> up early next week.
> 
> SO run that CPU at max, using all memory, and keeping the harddrive 
> spinning.
> 
> I can jsut do pings on the lan card for it to stay awake.
> 
> I have searched here and on the net and have come back with nothing.
> 
> 
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

Are you wanting max power for provisioning purposes?  If so, the max
power on the power supply or chassis will give you absolute max.  80% of
that number is what it is rated for on a continuous basis, 100% is for
max burst.

If you need a more accurate number (as the above is the rated Wattage,
which /will/ be different than actual usage for safety purposes), you
could run multiple of something like this: `dd if=/dev/urandom
of={somefile} bs=1024k count=1024`.  Depending on your processor speed,
that won't keep the disks busy all the time which is why I suggested
multiple running at the same time.  What that will do is pull 1GB worth
of random data (stresses CPU) and writes it as fast as possible to the
disk. Running a few of those in a loop should give you enough time to
see actual power draw.  Shifting bits around in the memory register
probably won't add too much power draw, as it is mostly CPU and chipset
(just CPU if you are using AMD).  The RAM stick is fully powered
regardless.

Hope that helps at least a little.


-- 
Timothy Selivanow <timothys at easystreet.com>
Linux System Administrator
EasyStreet Online Services, Inc.  http://www.easystreet.com