Low-Power Home Linux Server?
mpol writes "For years I've been using a home server with Linux, but recently I've been having doubts about the electric bill. I'm not touched by the recession yet, but I would like to cut costs, and going from a 100-Watt system to a 30-Watt system would save me 70 bucks a year. The system doesn't need to do much, just apache, imap, ssh and some nfs, but I do prefer to have a full-fledged system, where I can choose what to install on it. I also don't really care if it's a low-power Via or an ARM processor as long as it's cheap. I'm aiming for $300 or less for a full system, which I could then earn back in about four years through power savings. I've been reading about the Western Digital Mybook World Edition, which has an ARM processor but isn't that easy to install Debian on. A Mac Mini draws about 85 Watts, so that isn't an option either. Something a bit more than turn-key would be fine, but preferably not a complete hack-job. Adding a temporary CR-ROM or DVD-ROM, or a USB disk with an iso to install from would be nice. Any Slashdotters run nice and cheap low-power Linux systems? What can you recommend?"
I'm working on getting a Buffalo Linkstation Pro Duo set up with Debian Lenny. It's mostly complete, I'm rebuilding the kernel as I type to get USB printer support working. It's very compact and low-power, and has mirrored 500 GB disks, which I think is essential for any home server.
The downside is that I had to solder on a serial connection in order to get access to uboot (a bootloader similar in concept to GRUB) so I could view early kernel output and diagnose problems, log in if networking didn't come up, etc. If you can find a NAS device which supports a serial console (or at least can use netcat instead), that would be good.
One thing to be aware of is that you get a lot less CPU power with these low-watt ARM CPUs. The Linkstation Duo is great for fileserving, printing, and light email and webserving duties, but when I installed Gallery and postgres to view my photos over the web, it ran extremely slowly. That's not too surprising given it's a NAS not a full-fledged server, but it's something to keep in mind. You may only need a low-power device for 90% of your apps, but that last 10% can use a surprising amount of CPU.
You don't look like you need extensive processing power, so why not just underclock your current server? That alone will save you a pretty penny on your bill.
Also, the mac mini draws 110 watts http://store.apple.com/us/browse/home/shop_mac/family/mac_mini?aid=AIC-NAUS-K2-BUYNOW-MACMINI-DESIGN&cp=BUYNOW-MACMINI-DESIGN
"The difference between genius and stupidity is that genius has it's limits" - Albert Einstein
An old laptop will probably give you the lowest power for the cheapest cost. It doesn't sound like reliability or performance is your main concern. You can disassemble it and take out the LCD to save a couple more watts if you want, but a typical laptop draws between 10-20 watts.
I just finished setting up a via epia 5000 - it maxes out at 20watts power and runs a 533mhz cpu. It retails for about $100 US.
ASROCK ION 330 NETTOP
All in One ITX small factor PC. Takes only 30W of power. Some specs:
- dual core Intel Atom 330 CPU (1.6GHz)
- 2GB RAM, 320GB HDD, DVD, 1000BaseT ethernet
- Nvidia ION chipest + HDMI out makes it ideal also for multimedia
I'm using it as HTPC (Home Theater PC) running Ubuntu Linux + XBMC, but it can be good also as file server.
I have also some other devices described in this thread (EEE netbook, WRT54G router, DLINK NAS) but in most cases they have disadvantages like: i386 incompatibility, impossible to run mainstream linux distribution, CPUs and system boards are not powerful enough
I have one. It is preloaded with Ubuntu. This is a no-brainer.
Intel just released the D945GSEJT Atom board. This is not the same boards that used to older 945 chipsets. The older boards needed a fan on the chipset for it sucked up almost 20 watts!! The new board is mini-itx so it should fit in just about any case and runs on a single 12 volt coaxial plug so no need for a buly ATX PSU.
A nice review here: http://www.silentpcreview.com/Intel_D945GSEJT_with_Morex_T1610
I also use, and am a big fan of the PC Engines Alix boards: http://www.pcengines.ch/ You have several board styles to choose from. You can install Voyage Linux (Debian based and keep APT!!) on a compact flash with a simple installation (specifically for ALIX) script: http://linux.voyage.hk/
My alix, which I use as a USB music server, draws a measly 3 watts (Kill-A-Watt meter) when playing FLAC files. You can attach a low power USB hard disk for added storage if you want to run NFS.
Not great for surfing, or HD video but a home server is generally just passing data around and leaves the compute intensive stuff to the users' PCs.
politicians are like babies' nappies: they should both be changed regularly and for the same reasons
http://www.nslu2-linux.org/
New device: ~$110
New 320 GB 2.5" HardDrive: ~$90
New 2.5" HD Carrier: ~$25
Total: ~$225, AND good binary support
I bought a Western Digital MyBook network drive which is basically a little ARM board with 32MB memory. It is intended just to serve up some windows shares over a network. But you can run a simple program to enable ssh access, install a package manager and start installing other software on it - mine runs a few cron jobs to download files, as well as being a print server through its spare USB port. I'm not sure how far it could be pushed given how little memory it has, but I'm sure a bit of email & NFS wouldn't be beyond it if you're not fussy about speed.
Power and cost were only a bit more than the drive itself.
Matthew @ Bytemark Hosting
The SheevaPlug is great: I've come down from over 600W for a rack of Solaris servers via 18W for a Linux laptop to now under 4W for a SheevaPlug (all quiet/typical consumption) to provide the same services, see:
http://www.earth.org.uk/note-on-SheevaPlug-setup.html
(Served off the plug indeed...)
I've reduced the consumption so much that the plug now runs entirely off-grid from a small array of solar PV panels (under 200Wp) with a small (12V, 40Ah) battery to cover nights and very dull days...
Rgds
Damon
http://m.earth.org.uk/
The fan in most netbooks is only for your comfort, and will still run fine with the fan disabled or failing. Also, they have a built in UPS with several hours of power!
According to my Kill-A-Watt meter, the thing consistently uses 4 watts. I set up um SVN MySQL LightHTTP Samba and I forget what else. SSH/SFTP were enabled out of the box. I transferred the filesystem from the crappy 512 MB NAND to a compact flash card and moved some var directories to an external HDD.
Ironically it was much more difficult to plug in the Kill-A-Watt. It has a three prong plug sticking out of the middle of a chassis that is carefully designed to cover every other outlet in the room. The SheevaPlug went in right on top with no problem.
I'd be tempted to register a temporary dyndns for 5 minutes and post it here to see what the Kill-A-Watt does if I weren't feeling so lazy. I don't feel like reaching down there and power cycling it.
Not robust enough? I think the people running this server farm might disagree.
http://www.dannychoo.com/post/en/13019/Mac+Mini+Server+Farm.html
If I didn't have absolutely NOTHING to do, I wouldn't be here.
Or even a nicer one - I have the 1000HE (Atom processor, 160GB HDD) and it runs 10-12W with the screen on. Performs comparably to the Atom "fanless" desktop machine I also have (which won't run more than 1/2 hour without getting hot as a pistol thanks to the lousy chipset, so it now has a fan on the heatsink!) which pulls 25W at idle with NO screen. Both running Ubuntu 9.04. (Of course, the Eee pulls more when it needs to charge the battery - I don't remember what that tops out at.)
I use the Eee as a laptop, but have considered getting another to replace the desktop. It is a server, running on my off-grid solar system, so more than halving my 24x7 power consumption is a tempting idea...
The wattages above are actually DC measurements off my battery bank - the desktop has a DC PSU, the Eee was running through a small inverter.
When I bought the Eee, I thought it was interesting that the unit with solid-state disk listed a *shorter* battery life than the one with the 160GB HDD... I wanted the space anyway, so went with the HDD.
I definitely recommend Sheeva. I'm using mine as a streaming media server. I used to just use a well-built desktop Linux system, but now I'm using the Sheeva Plug with an SDHC card containing all my music and it uses less power than my desktop turned OFF (my desktop pulls about 5 W of phantom power, whereas the Sheeva runs at MAYBE 4-5 W depending on load). Can't beat it, and there are a ton of prebuilt images for it. I even have Hamachi on there.