Sunday October 25, 2009 | Constantin's Blooog |
|
Useful stuff for your blog-reading pleasure.
All
|
General
A Small and Energy-Efficient OpenSolaris Home ServerIn an earlier entry, I outlined my most important requirements for an optimal OpenSolaris Home Server. It should:
So I went shopping and did some research on possible components. Here's what I came up with: Choosing a Platform: AMD or Intel?Disclosure: My wife works for AMD, so I may be slightly biased. But I think the following points are still very valid. Intel is currently going through a significant change in architecture: The older Core 2 microarchitecture was based on the Front Side Bus (FSB), where the CPU connects to the Northbridge which contains the memory controller and connects to the memory, while also connecting to the Southbridge which connects to I/O. Now, they are switching to the new Nehalem microarchitecture which has a memory-controller built into the CPU and a scalable I/O bus called Quickpath Interconnect that connects CPUs with other CPUs and/or IO. Unfortunately, none of these architectures seem to support ECC memory at consumer level pricing. The cheapest Intel-based ECC-motherboard I could find had still more than double the cost of an AMD-based one. Even though the new Intel Core i7 series is based on Nehalem and thus could support ECC memory easily in theory, Intel somehow chose to not expose this feature. In addition, Core i7 CPUs are relatively new and there are not yet any power efficient versions available. The Intel Atom processor series may be interesting for a home server from a pure power-saving perspective, but again, Atom motherboards don't support ECC and once your workload becomes a little more demanding (like transcoding or some heavier compiling), you'll miss the performance of a more powerful CPU. AMD on the other hand has a number of attractive points for the home server builder:
So it was no suprise that even low-cost AMD motherboards at EUR 60 or below are perfectly capable of supporting ECC memory which gives you an important server feature at economic cost. My platform conclusion: Due to ECC support, low power consumption and good HyperTransport performance at low cost, AMD is an excellent platform for building a home server. AMD Athlon II X2 240e: A Great Home Server CPU
While I was shopping around for AMD Athlon CPUs and just before I was about to decide for an AMD Athlon II X2 variant, AMD offered me one of their brand new AMD Athlon II X2 240e for testing, provided that I blogged about it. Thank you, AMD! Introduced in October 20th, this CPU is part of the newest energy-efficient range of consumer CPUs from AMD. It has 2 cores (hence X2), snazzy 2.8 GHz and a 2 MB L2 cache. What's most important: The TDP for this CPU is only 45W, meaning that even under the highest stress, this CPU will never exceed 45W of power consumption. Including the memory controller. As you've guessed already, the "e" in the model number stands for "efficient". There's an important trade-off to consider for home server CPUs: For instance, the AMD Phenom II series would have been more powerful because it has an additional L3 cache, but their TDP is at 65W minimum. While big caches (both with AMD and Intel) are good for compute-intensive operations and games, they can't help much in a home server context: Home servers spend most of their non-idle time transferring data from A to B (files, videos, music) and a cache doesn't help much here, cause it's just another stop between I/O and CPU to pass by. Transferred data hardly gets re-used. Instead, for home servers, sacrificing the L3 cache for lower power consumption makes a lot of sense: You pay less for the CPU and you pay less for your power bill without sacrificing too much (if any) server relevant performance. My CPU conclusion: For home servers, AMD Athlon II "e" series are perfect, because they save power and money and do the job very well. For games you might choose a more powerful Phenom II processor, which delivers better compute power at a slightly higher power bill. Finding the Right MotherboardAfter nailing the Platform and CPU question, I needed a motherboard. This can be a confusing process: For each CPU there are different chipsets, then there are different vendors offering motherboards based on these chipset, and then they offer different variants with different features. What should a good home server motherboard offer?
Here's a very useful email thread on the OpenSolaris ZFS-discuss mailing list about CPU and motherboard options, pros and cons and user experiences. In this discussion, F.Wessels recommended the M3A78 series from Asus so I went for the M3A78-CM motherboard, which is their "business class" variant, priced at around 60 Euros and it has 6 SATA and 12(!) USB ports. My motherboard conclusion: The Asus M3A78-CM motherboard has everything I need for a home server at a very low cost, and it's proven to run OpenSolaris just fine. The Case: Antec NSK-1380I won't go into much details about the case. My goal was to find one that can support at least 4 disks while being as compact as possible. The Antec NSK-1380 was the smallest case I could find that supports 4 disks. It comes with a built-in power supply, an extra fan, some features to help with keeping noise down and it looked ok for a PC case. Miscellaneous Tips&TricksWhile putting everything together, I ran into some smaller issues here and there. Here's what I came up with to solve them:
The ResultAnd now for the most important part: How much power does the system consume? I did some testing with one boot disk and 4GB of ECC RAM and measured about 45W idle. While stressing CPU cores, RAM and the disk with multiple instances of sysbench, I could not get the system to consume more than 80W. All in all, I'm very pleased with the numbers, which are about half of what my old system used to consume. I didn't do any detailed performance tests yet, but I can say that the system feels very responsive and compile runs just rush along the screen. CPU temperature won't go beyond the low 50Cs on a hot day, despite using the lowest fan speed, so cooling seems to work well, too. I just started full 24/7 operation of my new home server this weekend, so I hope I'll have some more long-term experience about performance and stability in a few months. Meanwhile, I'm in the middle of configuring the system, installing some services and implementing a new way of managing my home server. But that's probably the topic of another blog post... Do you agree with the home server conclusions I reached in this post? Or would you suggest alternatives? Do you have experiences to share with the mentioned components? Or do you have suggestions and tips on how to get the most out of them? Let me know by posting a comment here! Many thanks go to Michael Schmid of AMD for sending me the AMD Athlon II X2 240e CPU.
"A Small and Energy-Efficient OpenSolaris Home Server" has been brought to you by Constantin's Blooog.
This entry was created on 2009-10-25 15:22:05.0 PST and is associated with the following tags:
amd
athlon
build
home
opensolaris
server
x2
zfs
Gonzalez Goes GeekAndPoke: My First Co-Authored WebcomicA while ago, I highlighted a few of my favourite web comics. Little did I know then, that today I was going to be part of one. Here's the story: Yesterday, @moellus complained yet again about his eternal nemesis, the NT admin, by saying something like: "Damn, can't unfollow the NT admin because he doesn't twitter - here's why - that's the sh*# he sends me!" (Original Tweet) That reminded me of the famous insult by the late Douglas Adams from "The Hitchhiker's Guide to the Galaxy", in which Arthur Dent says about the Vogons: "I wish I had a daughter so I could forbid her to marry one..." So I twittered back that "I wish you were on Twitter so I could unfollow you!" must be the new worst insult you can do in 2009 and asked Oliver whether that would make a nice Geek And Poke cartoon. Today, I'm proud to be part of the "Geek And Poke"-uversum, here's the cartoon: I guess, to be "GeekAndPoked" is the new "Slashdotted" :). Thanks, Oliver! P.S.: @moellus: Actually, to a geek, in 2009, sending someone a box of Windows 7 is like the medieval slapping with a glove. Don't take it lightly and get your LART-whip ready!
"Gonzalez Goes GeekAndPoke: My First Co-Authored Webcomic" has been brought to you by Constantin's Blooog.
This entry was created on 2009-10-02 00:55:40.0 PST and is associated with the following tags:
comic
funny
geek
twitter
webcomic
« Previous month (Aug 2009) | Main | Next month (Oct 2009) » |
|