Slashdot Mirror


Energy Efficient and Cheap Servers for Home Use?

CapnRob asks: "I just got married, and my wife and I are putting together a home network in the (small) apartment we're now living in. We'd like to set up a firewall/mail server/small-file-server, but all the machines we own right now are pretty big machines that pull a fair amount of power, and that we don't want to keep running 24/7. Since our mail and file server needs are pretty low, our ideal box would be something like a Linksys WRT45G with one of the open source firmwares ... if only you could add a small hard drive to it. We're both long-time FreeBSD users, so installing a *nix system is no big deal, but what I've found so far in this line needs more l337 soldering iron skillz than I've got. Any suggestions for tiny little cheap boxes that won't send our power bills into orbit?"

54 of 594 comments (clear)

  1. SparcStation IPX by ackthpt · · Score: 5, Interesting

    SparcStation IPX (or even IPC) I ran one of these clever little buggers for a few years, very low on power, quiet as a churchmouse and houses one harddrive (but at todays disk sizes that's plenty) the architecture is pretty fast and 64MB of RAM was more than adequate. You can pick these little beasties up on eBay for next to nothing so spare parts shouldn't be a problem, either (I actually bought a second for spares.) I was running RedHat 6.1 for months at a time without a hiccup.

    --

    A feeling of having made the same mistake before: Deja Foobar
    1. Re:SparcStation IPX by ZorinLynx · · Score: 5, Interesting

      There's some problems with the IPX that should make you think twice before considering it.

      1) CPU speed: The CPU in a Sparc IPX is slow. We're talking a MicroSPARC at 40MHz. Even running basic applications in a shell, it feels like slogging through mud. I have a SparcStation classic, which uses a MicroSPARC at 50MHz (slightly faster) and it's pure torture, especially when you fire up gcc to compile something.

      2) Bus speed: The 20MHz SBUS can barely support 10Mbps ethernet at full speed. I put an hme 100Mbps adapter in my SparcClassic and couldn't push more than about 12Mbps through it with large packets. It absolutely choked with smaller ones. The system also adds about 4ms of latency to any packet going through it, in my experience. Again, this is the slightly faster SparcClassic, not even an IPX! If you have a really fast (3Mbps or greater) DSL connection, you may lose out on performance because of this.

      Don't get me wrong, it's a fun as hell box to play with, and you can get them to network boot and run off a serial console, but they're just plain torture for doing real work. Even a PCI-bus 486 is loads faster.

      -Z

    2. Re:SparcStation IPX by Karzz1 · · Score: 3, Insightful

      Its going to be a mail/file server. I think you don't need a ton of horsepower.......

      It depends on whether you are planning on doing any mail filtering. I have a bunch of experience with MailScanner and ClamAV -- a sendmail server that normally eats 4-5% CPU will quickly start hitting 75% and more. SpamAssassin will add a bunch more to the load. As far as file sharing goes though, you are probably safe.

      --
      Beware of he who would deny you access to information, for in his heart he dreams himself your master.
  2. Soekris is what you want. by Nugget · · Score: 4, Informative

    Soekris boxes are exactly what you're looking for. They're cheap, stable, low power, interface-rich and run FreeBSD like a dream. They're super boxes.

    1. Re:Soekris is what you want. by douglips · · Score: 5, Informative

      You can easily run the Pebble Linux distro on these. The easy way is to mount a CF card on a Linux box and build a bootable filesystem there. The Pebble docs walk you through it, piece of cake.

      Since you can get 1 GB flash cards for pretty cheap, and Pebble even with added bells & whistles fits handily in 256 MB, you can run dead silent. No fans, no water cooling. Power consumption is somewhere south of 10 watts according to the soekris docs.

      Of course, if you are running a mail server and/or web server, you might want an actual hard disk to be able to have many read/write cycles without destroying your CF card - you can use a microdrive CF form factor disk with no problem.

      My understanding is that Soekris' support for *BSD is better than for Linux, but I've had no problem running Pebble on mine.

    2. Re:Soekris is what you want. by Raleel · · Score: 3, Insightful

      I can concur on the soekris box. Might I suggest the 4801. 3 ethernet ports, laptop sized harddrive connector on board, compact flash slot, pci slot, and a mini-pci slot. they even sell them with WAN interfaces cards

      we use these for wireless/bluetooth sniffers

      --
      -- Who is the bigger fool? The fool or the fool who follows him? --
    3. Re:Soekris is what you want. by blixel · · Score: 4, Informative

      Soekris boxes are exactly what you're looking for.

      I'll second that. I bought one of these about 6 months ago and it has been amazing. I plan on getting at least one more so I can have a highly customizable WAP.

      Check my little tutorial for more info. (Several pictures included.)

  3. whoa! by Anonymous Coward · · Score: 5, Funny

    You found a BSD chick? roxxor!

    1. Re:whoa! by Anonymous Coward · · Score: 5, Funny
      You found a BSD chick? roxxor!

      I happen to know there are some BSD chix out there. They like Star Trek, Star Wars, computer games, Dungeons and Dragons, and love wild sex. Unfortunately 90% of them are five foot two and weigh in at 250 pounds.

    2. Re:whoa! by UranusReallyHertz · · Score: 4, Funny

      geeky, smart, hot. Choose any two.

      --
      Smoking is an expensive, slow, and unreliable method of suicide.
    3. Re:whoa! by kevman42 · · Score: 5, Funny

      Hilarious...the parent is modded as "Informative"...like some person with mod points was reading through the posts, saw that one, and thought "Hm, I didn't know the BSD chix weighed in at 250. Next time I see h0tti3BSDbab3 online, I'll know not to flirt with her anymore, because I like my women thin".

    4. Re:whoa! by uberdave · · Score: 3, Insightful

      If they're hot+smart, they're clever enough not to get entagled with any of us.

    5. Re:whoa! by shut_up_man · · Score: 4, Insightful

      I'm sorry, but the correct reference is:
      Smart, hot, sane. Choose any two.

    6. Re:whoa! by Anonymous Coward · · Score: 5, Funny
      Beg to differ. Mine is young, tall, thin, hot, funny, technical (computer security no less) and pulls down big bucks.
      Has she noticed you following her yet?
    7. Re:whoa! by amide_one · · Score: 3, Funny

      > pulls down big bucks.

      Bare-handed? or does she hunt the deer with dogs? :)

  4. Just do what I do by Anonymous Coward · · Score: 5, Funny

    Move into an apartment with utilities included.

    AC 24/7, free electricity... It's like a server farm in here.

  5. Is this what you're looking for? by fatjesus · · Score: 5, Informative

    http://www.mini-itx.com/

    1. Re:Is this what you're looking for? by Bombcar · · Score: 4, Informative

      I'm drawing less than 35 watts with one of those. The harddrive takes most of the power. You won't get less than that, and 35 watts is basically less than a normal lightbulb.

      Try to get a setup that requires no fans.

  6. Slashdot by couldntthinkupagoodn · · Score: 3, Funny

    If you're planning on making the file server accessable from online, whatever you do, don't post the link. I've never heard of a slashdotted house before, but I can't imagine how hard it would be.

  7. Via Motherboard by bluewee · · Score: 3, Informative

    I am using a Syntax Via 1200+ Motherboard with CPU From TigerDirect when they were having a sale(I came to 10$USD, I grabbed a small MicroATX case from NewEgg and it works beautifully, and is small and quiet. It kinda takes a while to emerge everything, yeah Gentoo user here :D. but it works great and does not use much power.

    --
    [blue] - The Ministry of Information approved this message...
  8. Re:Mini ITX and CF by Carnildo · · Score: 4, Interesting

    Flash memory isn't a good storage solution for a mail server. If you've got any sort of traffic volume, you'll wear out the memory in a year or so.

    --
    "They redundantly repeated themselves over and over again incessantly without end ad infinitum" -- ibid.
  9. Mini-ITX variety by captnitro · · Score: 4, Informative

    Mini-box make some neato little ITX boxes which you could hook up to any number of storage solutions. Past that, I've had good success with Mini-ITX boards. I get the cases from Web-tronics, as the MITX ones are very, very expensive -- they're meant to make your MITX look like a CD player, pretty much, and I can do more without having to worry about cosmetics. MiniBox (above) sells snap-in MITX power supplies ranging from 60w to 200w. For the extra cool factor, use a Xenarc display or use something 'headless', e.g., LCDProc and Crystalfontz. (As I remember, the MiniBoxes come with their own little displays.)

  10. How about a used laptop? by Darth+Muffin · · Score: 5, Informative
    A used laptop might do what you want. You don't need an awful lot of power. If a laptop HDD is large enough for your storage needs, then look for a cheap used laptop on e-bay.

    Laptops are generally very efficient on power. And they come with their own screen too. In fact, I heard of one company that replaced all of it's desktops with Thinkpads and used power as the single justification (the computer takes less, the monitor takes less, and less heat generated requires less AC).

    --
    Real programmers use "copy con program.exe"
    1. Re:How about a used laptop? by Stevyn · · Score: 4, Informative

      Not a bad idea, but laptops don't like to be left on 24 hours a day. I would know. I have a dell inspiron 8200 and I keep this thing running all the time. I'm also on my third hard drive. I just keep the operating systems and programs on the laptop drive and all other data is on the external firewire drive. If you could get a USB drive that was powered by the laptop, that might be a safer solution.

      This is a good power saving alternative to a huge desktop, but I wouldn't trust my data to a laptop hard drive.

  11. Old laptops... by D-Cypell · · Score: 4, Insightful

    I have several old laptops that I current run as servers. It seems that it is quite common for old laptop batteries to die and refuse to hold a charge. Suddenly, they become pretty decent servers if you set them up to remain running with the top closed.

    I suspect that you will find a few of these 'battery-less' laptop on ebay for a good price as the lack of mobility will really effect the asking price for a laptop. Snap them up and get all the cheap servers you will ever need.

    1. Re:Old laptops... by K8Fan · · Score: 4, Interesting

      Laptops with broken displays are even better. I have an old P3 laptop I use as a server, and I got it free. Sony charges $600 for ANY display repair, so it's literally not worth fixing. But the VGA output works fine, and I have it set up through a KVM switch. Viola! A 75 watt server. Tiny hard drive, but if it becomes a problem, I can just do externals.

      I'm thinking of taking the whole display off, thus making sure the lamps never come on, thereby reducing power drain even more.

      --
      "How perfectly Goddamn delightful it all is, to be sure" Charles Crumb
  12. None of us believe you by mark*workfire · · Score: 5, Funny

    I just got married, and my wife and I are putting together a home network in the (small) apartment we're now living in. We'd like to set up a firewall/mail server/small-file-server ....

    Dude, honestly, none of us believe you. You should have included a link to your marriage certificate and a picture of yourselves. People posting articles on Slashdot aren't married.

    Besides, you just got married, and your interested in the network ?????

    1. Re:None of us believe you by big+tex · · Score: 4, Funny

      I have over 0x800 posts.

      Dude, 0 times anything is still zero.

      You're not impressing anybody.

      --
      I think I need a new sig here.
    2. Re:None of us believe you by FuzzyBad-Mofo · · Score: 3, Funny

      There's 0x10 kinds of people in the world: those who know hex, and 15 other kinds..

  13. Netwinder by FatRatBastard · · Score: 3, Interesting

    Don't think you can buy them new (at least cheaply) but look for an old Netwinder. I got one on eBay a couple of years ago for abougt $150. Low power, two ethernet ports, easy to manage and small. Not a barn burner by any means, but for a firewall / file server / print server it works perfect.

  14. Old Laptop, two pcmcia net cards by Saint+Stephen · · Score: 4, Informative

    Brother in law gave me an old gateway Pentium MMX 133, 32 mb ram, 4 gb HD. Put two pcmcia net cards in it, and put OpenBSD running PF. Perfect.

  15. Since you like Linksys by kbahey · · Score: 5, Informative

    How about the NSLU2?

    It has been covered before on Slashdot and is hackable just like the router you mentioned.

  16. Old Laptop (aka a "california server") by nweaver · · Score: 5, Interesting

    Get an older laptop, put a PCMCIA or USB ethernet to give you a second ethernet (connect that to the DSL/Cablemodem uplink).

    Low power: Obviously, laptops have to be low power.

    Low space: Laptops are small. Disable the "I've closed the lid" switch or get the *nix install to ignore it, fold it up, and slide it away.

    Low cost: I said OLD laptop.

    Built in UPS: Why do you think its called a "California Server"?

    --
    Test your net with Netalyzr
  17. Re:Mini ITX and CF by Abalamahalamatandra · · Score: 3, Interesting

    Bollocks. Just do what I did - build a nice little Mini-ITX system, put in a gig of RAM and load up Linux with a custom initrd that extracts the system to a ramdisk and pivot_roots to it. Mount the drive for storage, then use hdparm to tell it to power down when idle.

    Then write a daemon to watch when the drive is spun up, and copy the mailboxes off to a storage area on the drive. Use rc.local to copy them back when the system reboots.

    Voila - low power (max 40 watts, usually less because the drive isn't spinning) and fast.

    You could do this with flash as well, you just won't have the storage space of a drive. And it obviously doesn't have to spin down. Just use a cron job.

  18. Boxes too... by douglips · · Score: 4, Informative

    This PDF is the manual for the bare-bones Soekris 4501 - the first page has pictures of the bare board and the "box" version. It is a router/hub form factor.

  19. Obsolyte! by tekrat · · Score: 4, Funny

    As the owner of http://www.obsolyte.com, which is running on one of these little boxes, I'd like to thank you for slashdotting my poor little server into the ground... However, I guess it's good test for the server to see if it can withstand it -- if it can, than I guess that's the box they are looking for in the "ask slashdot"....

    --
    If telephones are outlawed, then only outlaws will have telephones.
    1. Re:Obsolyte! by Spad · · Score: 4, Informative

      As a concerned Slashdot reader - here's a Coral cache link for the page in question:

      SparcStation IPX

    2. Re:Obsolyte! by LiquidCoooled · · Score: 3, Insightful

      The thing is, its holding up better and returning faster than most sites under normal load!

      I'm definately impressed.

      Think I'll go hunting.

      --
      liqbase :: faster than paper
  20. Openbrick by Scottaroo · · Score: 5, Informative

    Greetings:
    http://openbrick.org/ is a community of folks doing this kind of stuff. I have purchased a couple of boxes from a US distributor (http://www.hacom.net/ and have been really happy. They have 3 ethernet ports, so they make great firewalls. We use CF cards for storage because we don't need the storage, but you can put little laptop harddrives in them, so you could make a file/print box if you wanted to. They'll boot off of a USB CD, so installation is a breeze. I run Debian, but have installed openbsd for kicks, also. They're cool enough that they don't need an internal fan, so they're quiet too.
    I have nothing but nice things to say about them. The US distributor only takes paypal, but he has always delivered without problems. He even called back to see if I liked it.

    --
    ----------
    If your answer is Microsoft, you obviously didn't understand the question.
  21. Two Things by Listen+Up · · Score: 5, Informative

    1) Do a search for the power requirements of a modern computer (any time after the invention of APM). There are plenty of studies to be found, many of them at university websites. The average computer, when it is in standby mode, uses 35W or less. When an EPA Green monitor (almost every modern monitor on Earth) is in sleep mode they use less than 1W. So, you are trying to figure out how to use less electricity than the equivalent of a small nightlight? The first time you leave your electric oven on 350 degrees for about one minute longer than your buzzer went off (assuming it is heating at the time), you most likely just spent more electrical energy than an entire month of computer server usage on full power.

    2) Why are you trying to jack around buying proprietary solutions or exotic mini-computers for your needs? That's dumb as hell. My personal server at home is an old Dell P233 laptop I bought for $50. It sports 80MB of RAM, 100Mbit ethernet, and a 4GB HDD. It currently runs my Apache HTTP, SAMBA, SSHD, VNC, Postfix, and CUPS server and it is tucked away neatly on a shelf under my desk. It has been especially useful as my print server (since I have a wireless network) and MP3 SAMBA server. Power consumption? Please, this is a laptop and the power features have worked perfectly as they were intended to. Also, there has been no additional configuration with this system since its original installation outside of Linux OS security/bug/OS upgrades.

    1. Re:Two Things by Tim+C · · Score: 5, Insightful

      The average computer, when it is in standby mode, uses 35W or less.

      That's good to know, but what use is a server if it's in standby mode?

      The guy said he wants something on 24/7 - that to me implies accessible, especially as he mentions using it as a mail server.

  22. WRT54GS by chopkins1 · · Score: 3, Informative

    I have seen at least one of the SVEASOFT (experimental) distributions that has a way for the WRT54G(S) to NFS mount a hard drive. Hope this helps.

  23. Separate your firewall from your servers by Bun · · Score: 4, Insightful

    "We'd like to set up a firewall/mail server/small-file-server..."

    IMHO, putting all your servers on your firewall is just asking for trouble. For better security, you'd do best to have one of those Linksys firewall/routers separate from your mail/file/blah-blah server.

    --
    "Anyone that has ever gotten an idea based on any of my work and done something better with it-good for you."--J.Carmack
    1. Re:Separate your firewall from your servers by Stinking+Pig · · Score: 4, Insightful

      Bull. Regurgitating general aphorisms blocks true understanding.

      This aphorism came about because it is undesirable to have one service hacked leading to access to all the other services and firewall configuration. Okay, this is an understandable situation and goal. Taken to its logical end, it clearly leads to one service per box, which is a good design model for a corporate enterprise with uptime and security as primary design goals.

      However, in a home network where service consolidation and low power utilization are the primary design goals, this additional layer of safety bears too high of a cost. Even if the servers are $50 laptops, six or seven of them stacked up are going to be noisy, heat-generating, continually failing little problems. That's probably okay if the goal is to learn how to manage a corporate enterprise, but now we're changing design goals midstream, never a good idea.

      With tools like chroot and automatically-handled patch management (urpmi, apt-get, &c), the risk of getting the whole server compromised by one service is reduced, down to what is an acceptable level for many. Once that's understood, we can evaluate the choice of firewall/router packages, and once we're doing that the power and flexibility of netfilter or pf blow any SOHO appliance out of the water. Proper logging, a good set of utilities... appliances are fine for use in networks where no one cares, I suppose, but I don't see why you would want one when a Linux or BSD box could be used instead.

      --
      "Nothing was broken, and it's been fixed." -- Jon Carroll
  24. What about a PDA? by Eldred · · Score: 4, Interesting

    You could probably pick up an older Zaurus (Linux PDA) cheap. The 5500 I have can take both compact flash and SD/MMC Cards, and runs on a fraction of a watt. With a compact flash ethernet card you could connect it to pretty much any router. Just mark it as your DMZ, and the incoming traffic will be routed to it. All you need do is set up a mail server on the Zaurus, maybe a little custom compiling, and you're all set.

  25. Re:Mini ITX and CF by sPaKr · · Score: 5, Informative

    memory, daemon, spin up disk, cronjob ? jebus your cool. It only took you about 10 seconds to revinvent a shitty vfs layer in userspace. Shouldnt we just be able to tune the VFS for aggressive cacheing and let that spin up and down the disk as needed. I dont want to get into the softupdates Vs. journel issue, but really thats what you want.

  26. I built a mini-itx for around $350 by tungwaiyip · · Score: 3, Interesting

    I was seeking the same thing before. I did some research and found some really cool and small products. The problem of being cool is it carries a high price tag.

    I endup ordered a mini-itx box from idotpc. No hassle, super fast delivery. Cost me around $350 for a 512MB ram 80GB HD system (w/0 CDROM). It ran a small website link above. The best part, my power bill dropped by $10 a month after I turned off the AMD box!!! Now I can brat about helping out in the California energy crisis.

    Eventually something should make a webserver the size of iPod. How about $200 for a 40GB version?

  27. Uh... am I way off base here by suggesting... by 5n3ak3rp1mp · · Score: 3, Interesting

    ...procuring a used laptop? Low power, and all the creature comforts of a full-fledged computer.

    (aside)
    But, I have to also say. I have NEVER even MET a woman who has HEARD of bsd. I had to argue with a Comcast Cable woman today who hadn't even heard of FireWire. I considered it a victory when I got my g/f to run Folding@Home. She was even game for Red Hat, but it was too difficult for her to find a wireless driver for the Thinkpad built-in 802.11... but hey, at least she tried!

    Here's to... if not geek, then geek-compatible women! love 'em.

  28. Real computer by macdaddy · · Score: 5, Informative
    Don't use a device like a LinkSys or some other device that requires a flash card for storage if you're planning on serving web pages or handling email. Proper handling of email is not simply take the incoming message and write it to disk once. Do you realize that Sendmail writes a transcript file (xf) that exists during the life of a session showing everything that happens during that session? Few people realize that. Spam and AV checking will also likely require at least part of the message to be written to disk prior to scanning. Now you can do a lot of this in memory but the memory in a WRT45G is going to be too limited to have a decent tmpfs partition to handle this.

    No offense, but what you need to use is something that's meant to handle the job: a real computer. You can build a low cost, quiet, power conservative computer for not that much money. The average computer consumes less than 100 watts of power when performing basic tasks. This review gives you lots of details. So really the power consumption won't be a problem. Keep the number of internal devices low and you won't have much heat build up. Keep the heat low and you can do all sorts of fancy things with sound panels to absorb sound, thus fixing that problem. You sound like a person that really does need a home server, like myself and my servers. You can't go wrong with a real computer. Plus when something breaks (and of course it will) you have warranties to fall back on. You can also hop on newegg or run down to the corner Crap Shack and buy replacement parts. Try doing that with your jerry-rigged WRT54G. ;-)

  29. DEC Multia's by Moekandu · · Score: 4, Informative

    They're tiny (13x13x3 in), you can get them dirt cheap in both Pentium and Alpha flavors (100 - 166Mhz range) and just about any *nix distro will support them.

    They're basically the predecessor to the SFF boxen. Just don't lay the Alpha Multia's flat or one of the chips on the underside of the motherboard will overheat and die. But, then again, there are detailed instructions on the NetBSD website on how to use those l33t soldering skills to fix it.

    --
    Mediocrity knows nothing higher than itself; but talent instantly recognizes genius. -- Sir Arthur Conan Doyle
  30. Epia / Mini-ITX by The_DOD_player · · Score: 4, Informative

    Is the only way to do this IMO....

    I have the exact same in my closet. VIA-Epia Eden 533 MHz motherboard/cpu/network/vga package, fanless, a bit of RAM, a fluid bearing harddrive, Gentoo Linux... it rocks....
    - Barely consumes power ~30W
    - It's also almost silent.
    - It's very cheap.

    1. Re:Epia / Mini-ITX by merlin_jim · · Score: 4, Informative

      I'm also a proud Mini-ITX owner. I have the 800 MHz version with a small fan. Got a small 2.5" hard drive used (4 GB). Stick some RAM in there. I put mine in a Cubid 2766 box, which is very compact (it's far smaller in form factor than my VCR) and uses an efficient and quiet 12V DC powersupply; the AC power is rectified outside in a transformer brick that doesn't require active cooling.

      Prices (as I recall.... YMMV):

      800 Mhz EPIA... $100
      128 MB RAM... $40
      2.5" 4 GB HDD... $40
      16X DVD-ROM drive... $25 (eBay)
      mini-adapter for DVD-ROM... $10
      Case + DC-DC power supply... $60

      for a grand total of... $275. And it can double as a DVD / digital media player.

      BTW, I originally modded an acrylic cube to hold the computer. With no prior experience, I built a 7" cube to hold everything. I took it out because the power switches I used were difficult to press. I even used acrylic hinges. You can get just the power supply for $30.

      I didn't do it for e-mail though. MythTV baby, so you gotta throw in a $150 hardware capture card to be perfectly fair when quoting the price of my system as-is.

      --
      I am disrespectful to dirt! Can you see that I am serious?!
  31. Cobalt Qube by old_sarge · · Score: 3, Informative

    You can pick up an old Cobalt Qube on ebay for around $100.

    There are howto's - if you dig - for porting FreeBSD to one of these.

    They are about 7.5" cubed and draw very little power. I've got 5 of them around the country and they've been going strong for over 5 years.

  32. Re:Mini ITX and CF by bobbozzo · · Score: 5, Informative

    Linux 2.6.6 and above kernels have a "Laptop Mode" which will only spin up the disk when necessary (read needed, or write buffers full).

    It's a sysctl variable...
    echo "1" > /proc/sys/vm/laptop_mode

    There's apparently also a userspace version if you don't want to upgrade your kernel.
    Google has info on using both.

    --
    Nothing to see here; Move along.