Slashdot Mirror


Low-Powered Personal Servers?

antifoidulus asks: "Being the proud owner of a PowerBook, I have but one complaint when it comes to my computing experience: the lack of an 'always-on' web/database server that would allow me to work on some personal programming projects, since I don't like having my PowerBook on 24/7. I could just buy an Intel box, but looking at some of the horror stories of how much power P4s consume, and living in Germany where electricity is not cheap, I wanted to see what suggestions the Slashdot community has for low-cost, low-power, headless servers. My only requirements are that it can run Linux and preferably cost less than $500. Is this possible? What architecture should I go with?"

27 of 119 comments (clear)

  1. mini-itx by jotux · · Score: 2, Informative

    small, cheap, lower power consumption.

    1. Re:mini-itx by woobieman29 · · Score: 4, Informative
      Indeed, Mini-itx is perfect for this. For your needs you can get away with an older generation 733 or 800 mhz processor that you could pickup for next to nothing (especially if you ebay it). One really cheap way to get one of these boards would be to look locally or on Ebay for someone getting rid of a bunch of the thin client devices that run these boards. I have an old Maxspeed unit that had a Mini-ITX 800mhz that originally booted off of a Compact Flash card. That would definitely be the ticket for ultra low power consumption (there isn't even a fan running) and it can run Linux/Windows/whatever. It's quite easy to add a hard drive if you want as well. Awesome for a file server, mild traffic web server, or even a MySQL database.

      Good luck!

      --
      \/\/oobie
    2. Re:mini-itx by slaker · · Score: 2, Insightful

      I don't know what the poster's requirements for fileserving are, but many miniITX solutions have only one IDE port on-board. Granted, these days you can stick a couple 500GB drives on something and call it a day, but that's the thing that keeps me away from it as a platform.

      If the disk subsystem is an issue, I'd suggest something in an Athlon mobile or Athlon64 mobile. Low power, noise and heat, combined with modern and full-featured system boards AND a CPU that's up for real work if need be (and if not, it'll throttle back to 500ish MHz). Plus the mobile chips are surprisingly cheap.

      --
      -- I wanna decide who lives and who dies - Crow T. Robot, MST3K
  2. EPIA is your friend by Deathlizard · · Score: 2, Interesting

    http://www.viaembedded.com/

    The mini-itx and nano-itx boards require little power to operate, can run any X86 based OS, and some can run off of flash memory devices with no addons required.

    The only drawback to these is that their overall performace is not as fast as their AMD or Intel counterparts, but if silence, space and power savings is what you are looking for then these are a great solution.

  3. Localhost by Alethes · · Score: 4, Insightful

    Is there any reason you can't run the web and database servers locally on your laptop so that it's always available when you need it, but not using power otherwise?

    1. Re:Localhost by file+cabinet · · Score: 2, Informative

      yeah, that's what I was wondering, check out http://www.apachefriends.org/

  4. Via C3 Terminator barebones by OneDeeTenTee · · Score: 3, Informative

    It's at Newegg for 107USD.

    http://www.newegg.com/Product/Product.asp?Item=N82 E16856110030

    Add a few bits and you've got a complete low power system.

    --
    Stop the world; I need to get off.
  5. Pentium M, not P4-M by TeknoHog · · Score: 2, Informative
    ASUS makes an adaptor that allows the use of P4-M CPUs in standard motherboards

    I'm sure you mean Pentium M. P4-M is practically the same as P4, but Pentium M is the sane choice when you're talking low power with high performance.

    --
    Escher was the first MC and Giger invented the HR department.
  6. Low Power, Small Size, try an old laptop. by DoubleD · · Score: 4, Interesting

    Specifically old laptops with bad screens or batteries that do not work anymore can be quite cheap.

    For example here is an old IBM thinkpad with a battery that does not hold a charge for 150 euro.
    http://paris.craigslist.org/sys/92369116.html

    Adding a PCMCIA NIC should not be too expensive.

    If you want a really cheap system I bet you can find an old pentium or pentium 2 system someone is discarding or recycling.

    --
    "He is no fool who gives what he cannot keep in order to gain what he cannot lose."
  7. NSLU2 by jrockway · · Score: 4, Informative

    Get a linksys NSLU2. It's a network attached storage unit, but it can be flashed with a firmware that lets you basically run Debian on it. Right now, one is serving mail, web, and storage for my domain.

    It's no 4-way Xeon when it comes to performance, but at 8W power consumption and a $75 pricetag, you can't go wrong.

    http://www.nslu2-linux.org/

    I'm actually writing an article on how to run a domain from one of those things for AnandTech, so in a few weeks you can read about it there. (Tom's Hardware did an article, but it isn't very good or accurate anymore. Stick with the nslu2-linux site.)

    --
    My other car is first.
  8. Re:Buy a Mac Mini by antifoidulus · · Score: 2

    Heh, the reason I put the $500 in there was that I wanted to use the mac mini as a ceiling. Actually I think I am going to go mini-itx, it is much cheaper than a mac mini with about the same(if not somewhat less) power consumption.

  9. Caveat Hacker! by renehollan · · Score: 2, Informative
    Bewarned that Via has made last minute changes in the Nano-ITX mobo such that the Silverstone LC-07 and LC-08 cases, designed to accomodate it... don't

    Last time I checked, Silverstone is retooling to produce modified cases, but the nano-ITX/LC0[7|8] combo will not be silent: Via nixed the option to let Silverstone use the nano-ITX moniker unless their case accomodated a fan and not a heat block (like their original LC-07 and LC-08 designs). (The new LC-07 nd LC-08 cases supposedly will have vent holes in the top -- ugh!).

    These specs are subject to change, and should not be considered definitive. Contact Via and or Silverstone yourself if you want to pursue this option.

    --
    You could've hired me.
  10. well, there's the soekris net4801, I suppose... by Malor · · Score: 3, Interesting
    The Soekris Net4801 might possibly work for you, but be prepared to put in some learning time to get one going. The board, case, and power supply are about $250... you'd have to add a laptop-style drive from there.

    They are completely headless AMD Geode machines... 266mhz Pentium class, with 128mb of RAM. They're primarily meant as routing devices for wireless networks (they have three network ports, and 1 3.3v PCI and 1 miniPCI slot). They are completely fanless, and have a socket for a Compact Flash, which is the normal boot device. They also have a connection for a laptop-style hard drive, and a USB 1.1 port.

    Now, these little guys can really be a chore to get set up, because they have no true video... they route the BIOS text-display calls out through the serial port. And they have no floppy to boot from, so you must either set up a PXE boot environment (what I did the first time... NOT a trivial process for someone who isn't very familiar with Linux and/or the BSDs), or build a bootable CF or laptop drive on another system.

    If you can muscle past the installation difficulty, the boards themselves are absolutely silent, with no moving parts at all. For your application, you'd probably boot off a laptop IDE drive. Most of these small drives aren't designed to be on 24x7, so be sure to look around for one that supports a long duty cycle, and even at that, take regular backups.

    This would give you a small, very low-power solution. The Geode is extremely efficient. I'd have to look it up, but from memory I think it's like 7.5 watts. You could spend more running a nightlight. The drive will add some to that, but it'll definitely stay under 15w, and maybe under 10. It's reasonably powerful, with a decent amount of RAM, and will make very little noise and take up very little space.

    I'm using one of these boxes as a router/firewall, and I like it very much. I hate noise, and with a CF, it is both silent and should last many, many years... no moving parts at all. Folks on the mailing list have claimed that it can sustain 10 megabits comfortably with moderately complex firewalling, and as much as 30 megabits if it's just routing between interfaces. It's not a speed demon, but it's really not bad.

    Another possibility might be the Linksys NSLU2, which is a NAS device that runs Linux, and is apparently pretty hackable. It would be even harder than the Soekris to get going, though...and it's not X86, if that matters. I don't know much about them, but others may chime in with more data.

  11. Do what I do: WOL by Bozzio · · Score: 4, Informative

    Use the Wake-on-LAN feature of your network card.

    I have a computer that remains in hibernation until it receives network traffic. I have it set up to only wake-on-lan when it receives a magic packet (I configured my router to accept these packets over the internet). So when I need to work on my webprojects I usually run through this:

    1. Send magic packet to my home IP (the router takes care of the rest)
    2. wait about 20 seconds for my server to awake and acquire an IP
    3. go on with my work as if the server had never been down.

    I also have the server set to hibernate if it's been idle for 10 minutes, so I don't use very much electricity at all.

    --
    I just pooped your party.
  12. Some kind of managed hosting by subreality · · Score: 2, Interesting

    Have you considered just getting an account with some managed hosting place? VPS servers are cheap. US$30/mo gets you one here: http://www.rapidvps.com/?page=services , and I've been happy with mine. There are other cheaper places as low as US$10/mo that I've seen. You get root on your own virtual system, some disk, some memory, and some CPU cycles, and you don't have to pay for power, or up-front for the hardware, or any ongoing maintenance, and you'll have better net connectivity than you can probably get from home.

  13. Why not just use your PowerBook? by patrick42 · · Score: 2, Informative

    Are these personal projects that you need to access from computers other than your PowerBook? If not, why not just run them on your PowerBook when you're using it? The built-in Apache and PHP work great, and it's simple to add a MySQL database. I wrote a little script that makes it possible to host multiple virtual hosts under Mac OS X, though they're only accessible from that computer by default. (I use NetInfoManager to add additional host names that point at 127.0.0.1.)

  14. These mini-itx solutiions are pretty cool but by cypherz · · Score: 2, Insightful

    why not pick up the USD 499 Mac Mini? Mine is working just fine as a small server.

    --
    This sig kills fascists.
  15. Re:Hmmmm by thegrassyknowl · · Score: 2, Informative

    Why not pick up an old pentium and throw in a large HDD?

    It's really quite simple. The buy a slightly faster pentium (they're a bit more efficient in terms of power per cycle). Clock it down. Clock down the RAM speed. I have a 2x550MHz machine running at 2x350 (or so) with slghtly lower core voltage. It doesn't even need fans (well I haven't tried in the warmer weather but that is coming up, so we will see).

    One place that uses quite a bit of power is DRAM. It is continually drawing power to do the refresh as charge is lost from the cells. Take out all the RAM you don't need.

    Bigger hard disks use more power. It's an unavoidable fact. The platters are more densely packed with magnetic material. Faster hard disks use more power. If you want to minimise power, a 2.5" 4800RPM disk is the go. You can easily make an adaptor for the 44-pin -> 40 pin + floppy power connector. They retail for quite a bit if you can find em.

    If you can't (or don't want) a 2.5" disk, a 3.5" disk at 5400RPM will use quite a bit less power than a 7200RPM job.

    Don't put in a kick-ass video card. What's the point? Shitty old PCI S3 or something that doesn't use much power will suffice. In fact, if it's just going to be a simple server leave out all the cards. Why have sound, and all that other crap you don't ever plan to use? Disable it all in the BIOS if its built into the chipset.

    Fans... if it's on 24x7 you need to be careful with fans. Go out and replace whatever fans are in the machine you get with expensive ball bearing fans. It's worth it in the long run. They are quieter and last longer.

    Turn on APM and let it go to it's idle mode. It'll shut down the video and the hard disks but leave the CPU responsive so that you can bring it back up pretty quickly. You probably won't notice the delay while the hard disks spin up if you're accessing it over the network.

    --
    I drink to make other people interesting!
  16. Three words: Mac mini ! by sootman · · Score: 2, Interesting

    I'm running several sites on my Mac Mini. I'm using OS X but it'll run Linux just fine from what I hear. Might not be the fastest thing on the planet but you said 'personal', right? I'm running MySQL, Geeklog, Gallery, and many other things on it and the limit is bandwidth (256k up DSL), not CPU.

    It's quiet enough to keep in the bedroom (the nearby TiVo is louder) and it's much faster than the PIII/500 Compaq Deskpro EN SFF that it replaced (that's another low-power box, and those corporate Compaqs last forever) though half the reason I switched was because it's just so much easier to get everything working on OS X.*

    Plus, it'll work great with your PB (native file sharing = easy two-way backups) which in turn will be the perfect portable development environment since it's got the same OS. This guy has some really good guides on doing ISP-like stuff under OS X and Marc is your source for all the packages you'll need.

    * I've been using Linux since 1998 but every time I put together a box I can never get everything working at once. My last attempt with Fedora resulted in a box with PHP and MySQL, but PHP did not have something it needed to talk to MySQL. Another box had PHP and MySQL but something else didn't want to take, and so on, and so on.

    --
    Dear Slashdot: next time you want to mess with the site, add a rich-text editor for comments.
    1. Re:Three words: Mac mini ! by ldspartan · · Score: 2, Insightful

      * I've been using Linux since 1998 but every time I put together a box I can never get everything working at once. My last attempt with Fedora resulted in a box with PHP and MySQL, but PHP did not have something it needed to talk to MySQL. Another box had PHP and MySQL but something else didn't want to take, and so on, and so on.

      Have you considered that, perhaps, despite using linux for 7 years, you're bad at it?

  17. Re:Hmmmm by persona+419 · · Score: 2, Informative
    I'm running a PII right now as my firewall/server. It's running headless and is currently drawing 39 amps according to my Kill-A-Watt. Stepping over to it right now, I see I've used 14.63 KWH in 483 hours, about 3/10th of a cent per hour if the juice is priced at 10 cents a KWH. Total cost, bought used was $40 (about the same as the Kill-a-Watt)
    my current setup uses a small HDD (4GB) to boot up off of and mount an 80GB drive that the bios can't see
    Or you could just make two partitions on your 200 GB drive, a small boot one that the bios can handle and a larger one for storage
  18. xbox? by Anubis350 · · Score: 2, Insightful

    an xbox running debian with a bigger HD...?

    --
    "goodbye and hello, as always" ~Prince Corwin, from Zelazny's Amber series
  19. Re:Buy a Mac Mini by IvyKing · · Score: 2, Informative
    A Mac Mini just idling along uses about 10 to 11 watts from the AC mains (that's the total power draw) - a co-worker had a Mac Mini plugged into a wattmeter to measure power consumption in researching running the Mini on batteries (if this reminds you of a recent Slashdot article, it is because it was the very same Mini featured in that article).

    Since you are already familiar with the Mac OS, the mini sounds like the most logical choice to me. I strongly doubt that a mini-itx will have as low of a draw as the Mini.

  20. My take on the low power personal server thread by dezb · · Score: 2, Informative

    Ok,

    Weighing in with my two cents worth, for what it's worth, I'd like to brain dump what I would consider worth while options for your needs. All of these are solutions I either have used in the past successfully, or am currently using for various purposes. So bear in mind that this is not just the causal musings of a thread cruiser, but actual tried and proven solutions ;-)

    First some basic assumptions:

    1) You want to run some form of Unix or Unix like system ( i.e. Linux ) - you've noted you currently use your Apple PowerBook laptop, so one has to assume you're running Mac OS X 10.x.x natively ( more power to you ).

    2) You want complete control over the system including "root" access 24/7 - this is of course the whole point of having your own system, you can beat it up, break it, rebuild it, and all that jazz.

    3) The system should be able to be run remotely, even if just headless on your LAN, or perhaps more ideally remotely from some external 3rd party in a hosted solution so you don't end up having to host it behind your link at home ( also making it easier for you to provide access to other parties should you want to either share it with friends and family or if you just want to make it world visible for whatever reason - i.e. your own mail and web server et al ).

    4) You want an "always on" solution, so this should be something that, as you state, should not suck too much juice power wise, is able to be built with a "standard build" style hardened platform, which in the case of power loss would ideally recover nicely, quickly, and be back on line ( I'll touch on this later as standard builds are going to make your life so much simpler and fun ).

    5) The performance of the system ideally should be such that it will cope with the key elements you've noted in your post, such as:

    a) remote access such as remote sessions via SSH won't kill the system

    b) able to run a web server such as:

    thttpd: http://www.acme.com/software/thttpd/
    Apache: http://www.apache.org/
    mathopd: http://mathop.diva.nl/
    Roxen: http://www.roxen.com/
    Boa: http://www.boa.org/
    Jigsaw: http://www.w3.org/Jigsaw/ ( written in Java )
    Acme.Serve: http://www.acme.com/java/software/Acme.Serve.Serve .html ( written in Java )
    CERN: http://www.w3.org/hypertext/WWW/Daemon/Status.html
    NCSA: http://hoohoo.ncsa.uiuc.edu/
    Netscape FastTrack: http://home.netscape.com/ ( not sure if it's still available )
    Netscape Enterprise: http://home.netscape.com/ ( not sure if it's still available )
    Zeus: http://www.zeus.co.uk/

    source: http://www.acme.com

    --
    --- Dez Blanchfield http://WebSearch.COM.AU "Will work for bandwidth.."
  21. Use a hosting provider by Decker-Mage · · Score: 2, Insightful
    Unless you need the server experience for some reason, I have no idea why are going to spend all that money, including recurring costs such as power and replacement parts as the machine ages, just to do your web projects. For less than $30 per month you can find some hosting provider with the right mix of features for you. Heck, mine provides every bell and whistle you can think of from .NET/SQL Server 2000 on down on the MS side and PHP/MySQL/etc. on the FOSS side for the same account, 20 GB of space, and 2 GB of traffic a month. That's what I use for my projects as it's flexible as hell. Furthermore since I'm hosted, via my reseller, at iPlanet, I don't think I'll have any downtime in the next millennium ;-). Many of the hosting providers for LAMPs based systems even provide a command line and even more space.

    Economically it makes no sense to go any other way unless there is an overriding reason to do so. Push the security updates, costs, and maintenance off to someone else.

    --
    "[I]t is a wise man who admits the limits of his knowledge or skill, and that pretending either causes harm." --Terry Go
  22. Re:Hey! by pla · · Score: 3, Interesting

    I've also been wondering for the same thing. I now was with a long disputed battle to leave on a 30watts 800MHz P3 always on.

    Personally, I have two always-on machines... My internet gateway, and my file server (both running Linux). I recently upgraded both from old P3 machines, which suck 30W each just for the CPU, as you mention.

    For my Masq'ing box, I went with an Epia CL 600 and a 512MB CF disk (via a CF to IDE adapter). Won't break any number-crunching records, but it sips a nice 28W, total, at-the-wall. Best of all, I could run it fanless, which would make it have no moving parts at all. I didn't like that it would creep up above 50C, however, so threw in an as-close-to-silent-as-you-can-get 120mm fan, keeping it down in the low 30s.

    For the file server, I used an Athlon 64 (90nm Winchester 3000). Before drives, it sucks under 50W (again, at-the-wall). Each drive will add 15-25W, so scale up from there. The whole system, however, can realistically draw less than just a naked P4, if I limited it to only two drives (but of course I have more than that, currently four, each as the master with no slave).


    One interesting point I'd like to see discussed, if anyone has a few good links - Motherboard power consumption (aside from the CPU), and "real world" HDD draw. I have three Winchester 3000s (two of which I plan to drop X2s in when they come down in price a tad) in three different motherboards, and they vary by 20W (ie, half the total) idle power use (with the same low-end PCI video card, except one system has on-board video a hell of a lot stronger than that old Trident card (an ATI Radeon XPress 200), and it sucks the least power of the three). Then for HDDs, I can of course find the published TDP, but as with CPUs, that means very close to nothing beyond "make sure your power supply can handle this, but it will never actually need to".


    And, as a last point, if you care about shaving off a few more watts more than money or horsepower (but want something heftier than an Epia), get a Pentium-M board. They can manage around half the power consumption of an Athlon 64 (3W vs 7W idle, and (roughly) 25W vs 50W at load), with around 80% of the performance. At idle (an always-on home server sits idle over 99% of the time, I'd say, unless you stick something like Seti@Home on it), that should compare well (wattage-wise) even to a high-end Epia board.

  23. Re:Hey! by the+eric+conspiracy · · Score: 2, Interesting

    My internet gateway, and my file server (both running Linux). I recently upgraded both from old P3 machines, which suck 30W each just for the CPU, as you mention.

    One of the reasons I dumped the idea of running an internet gateway on a PC was the power consumption. I now run a gateway appliance that draws about 5 watts. For my file server up antil recently I was running a dual P2 400 that drew 60 watts idle (with one HD spinning). My experience is that HD's draw about 7 watts per spindle to keep them spinning.

    Recently I decided that the P2-2 wasn't giving me enough compute power for some of the jobs I needed to run, so I decided to upgrade - knowing that the result would be an increase in power consumption. After looking at a lot of reviews I decided to try an Athlon X2 4400 on an Asus SLI AN8 Premium with a low end ATI video card (the ATIs draw less power than the NVidias). After tweaking a bit I got the power consumption down to 85 watts idle with one spindle running. The low power modes cut the CPU down to 1 GHz which is where the system runs unless it needs to do something really comuot intensive. I think that the 25 watts additional is pretty worthwhile given the vastly greater (x10 at least) compute power available with this system. The problem with a lot of these low end options is that the power per unit of work isn't that great even though the total power consuption is low.

    It is quite possible over time I might get a few more watts squeezed out of the system by tweeaking the fans, voltages, etc.

    I've been using the Kill-a-Watt wattmeter which is available from a lot of internet outlets for $30 or so and seems to work quite well for the money.

    One thing I haven't sorted out yet is what the power consumption of RAM is. My old machine had .75GB, the new one is at 2GB.