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?"
small, cheap, lower power consumption.
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.
In Soviet Russia, Trojan exploits YOU!
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?
It's at Newegg for 107USD.
2 E16856110030
http://www.newegg.com/Product/Product.asp?Item=N8
Add a few bits and you've got a complete low power system.
Stop the world; I need to get off.
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.
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."
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.
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.
Monstar L
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.
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.
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.
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.
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.)
why not pick up the USD 499 Mac Mini? Mine is working just fine as a small server.
This sig kills fascists.
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!
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.
an xbox running debian with a bigger HD...?
"goodbye and hello, as always" ~Prince Corwin, from Zelazny's Amber series
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.
Ok,
;-)
.html ( written in Java )
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
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.."
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
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.
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.
.75GB, the new one is at 2GB.
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