When my trusty Solaris 10 Atlhon 32-bit home server blew up I enlisted a power hungry dual socket Opteron workstation as a stop-gap emergency measure. I also used the opportunity to upgrade from SVM/UFS to ZFS. But the heat and the noise were unacceptable, so I started thinking about a quieter and greener alternative …
My initial intention was to build a simple ZFS-based NAS box, but after an abortive attempt to do things on the really cheap with a £20 mobo and £25 CPU (one of which didn’t work, and I’m still waiting for Ebuyer to process my RMA), I decided I needed to make an effort to keep up with the Gerhards.
Although I’d seen Chris Gerhard’s post about a system built around an ASUS M2NPV-VM, when I searched for this mobo at Insight UK (where Sun employees can get a useful discount, free next working day delivery, and expect to be treated as a valued customer), I was unable to find it. So instead, I opted for the cheaper ASUS M2V-MX (£38) … and soon regretted it.
My config also included: an Antec SLK3000B case (£29), a quiet Trust PW-5252 420W PSU (£19), an AMD Athlon 64 3000+ 1.8GHz 512K L2 CPU (£45), two Kingston ValueRAM 1GB 667 DDRII DIMMS (£52 each), and two Seagate Barracuda 400GB 7200.10 ATA100 drive (£82 each). I also threw in a spare 80GB SATA drive and DVD rewriter I just happened to have lying around. Grand total: £399.
However, despite upgrading to the latest firmware, I couldn’t get Casper’s PowerNow stuff to work. My disappontment grew whilst talking to Chris about his ASUS M2NPV-VM. Not only had he got PowerNow working (rev 0705 firmware minimum required), but the mobo included gigabit networking, NVIDIA graphics, and greater memory capacity.
By this time, feature creep had also set in. I could see that the machine might also be a useful workstation, and ZFS compression probably meant I could use as much CPU as I could get (sadly, the current version of Casper’s code supports only a single core config).
Then I discovered that Insight UK did indeed stock the ASUS M2NPV-VM after all! It’s just that their search engine is broken. So I decided to bite the bullet (£56) … I have since reused the ASUS M2V-MX in a dual core Ubuntu config, but that’s a story for another day … perhaps.
To find out how much power I was saving, I invested in a Brennenstuhl PM230 inline power meter (shown above). Machine Mart only wanted £20 for it, and unlike some other cheap units, it does a proper job with the power factor. The only issue I’ve found is the crazy positioning of the power outlet relative to the display and control buttons (it’s pretty obvious that UK power plugs were not considered in the original design). Anyway, here are some results:
|Mode Config||2x Opteron 2.2GHZ
|1x Athlon 64 1.8GHz
|Intel Core Duo 1.83GHz
Apple MacBook Pro
|standby||40W (£23 PA)||4W (£2 PA)||7W (£4 PA)|
|idle||240W (£137 PA)||78W (£47 PA)||34W (£19 PA)|
|idle + charging||–||–||60W (£34 PA)|
|1 loop||260W (£149 PA)||111W (£64 PA)||50W (£29 PA)|
|2 loops||280W (£160 PA)||111W (£64 PA)||55W (£32 PA)|
|2 loops + charging||–||–||81W (£46 PA)|
The above calculated annual electricity costs are based on a charge of 9p per kWh. Since a home server spends most of its time idle, I calculate that my new machine will save me at least £90 per year relative to my stop-gap Opteron system. That hardly pays for the upgrade, but it does salve my green conscience a little … just not much!
mbp$ ssh basket Last login: Fri Apr 27 16:12:16 2007 Sun Microsystems Inc. SunOS 5.11 snv_55 October 2007 basket$ prtdiag System Configuration: System manufacturer System Product Name BIOS Configuration: Phoenix Technologies, LTD ASUS M2NPV-VM ACPI BIOS Revision 0705 01/02/2007 ==== Processor Sockets ==================================== Version Location Tag -------------------------------- -------------------------- AMD Athlon(tm) 64 Processor 3000+ Socket AM2 ==== Memory Device Sockets ================================ Type Status Set Device Locator Bank Locator ------- ------ --- ------------------- -------------------- unknown in use 0 A0 Bank0/1 unknown empty 0 A1 Bank2/3 unknown in use 0 A2 Bank4/5 unknown empty 0 A3 Bank6/7 ==== On-Board Devices ===================================== ==== Upgradeable Slots ==================================== ID Status Type Description --- --------- ---------------- ---------------------------- 1 in use PCI PCI1 2 available PCI PCI2 4 available PCI Express PCIEX16 5 available PCI Express PCIEX1_1 basket$
Technorati Tags: OpenSolaris, Solaris, NAS, ZFS
This reminds me of something that I’ve been meaning to explore for a while. I’m running a P4 linux server (perhaps one day I’ll get around to installing Solaris on it..)
It pulls about 77W when idle (which pleasantly surprised me when I checked it last year), but I suspect that most of that power is due to the mirrored root disks, which can’t spin down due to various things regularly writing to them (filesystem atime updates and the syslog, as two specific examples, I’m sure we could name many other culprits).
The atime solution is fairly obvious – and the log activity could be redirected to some other non-volatile filesystem (a flash device maybe?)
If for minimal cost and effort, we can let the root drives spin down into standby occassionally, then the idle wattage should drop further.
Erm.. of course, then we start to wonder about the effect of mechanical/thermal stress on the drives when they are constantly spinning down and up..