Can My Desktop Make It in the Big Leagues?
bionic-john wonders: "I work in an environment where the dollar is more than almighty (who doesn't?). One of my cost savings plans is to use desktop computers as servers. They cost much less, the parts are readily available and/or interchangeable - as opposed to waiting for overnight proprietary or obscure parts from a vendor, and so on. I understand that servers have redundancy on disk and power - but this can be emulated for a fraction of the cost, as well. Is there a performance difference between a desktop and a server with the same specs? Chipsets are chipsets, motherboards are motherboard, and memory is memory -- is there something special about a server other than looking at the rack of blades and feeling special?"
redundancy... speed... noise... that coolness factor you get when you say 'yeah, i'm running quad 64 bit opterons with 4 gigs of ram each. yeah thats right, this bitch has 16 gigs of ram, what you got?' and umm... well thats about it. if your needs dont require you to have dual true gigabit nics, dual or quad processors, a scsi raid array and a space heater/pink noise generator, then get yourself some decient computers with the basics. servers are usually built with better parts (i dont know for sure but i'm pretty sure that the same silicon wafers that make the 2.4 celerons also make the 3.2 p4's, the difference is in the testing - i think, plz correct if i'm wrong) but for the most part they're standard parts.
---- The first point-and-click interface was a Smith & Wesson
I have an "obsolete" low-end server that I use for running FreeBSD. It has SMP, ECC RAM, SCSI disks, a boring but very reliable chipset, extensive documentation, diagnostics software, and a high-quality case and power supply. It is also tested and certified to run all of the popular server operating systems. The manufacturer support is excellent. The video card would suck for a modern desktop, but who cares. It never crashes, it just works. If it does break, I can get parts and service.
Mea navis aericumbens anguillis abundat
Disks fail. When you stick a server in a rack and leave it running for 5 or 6 years (unlike your average /.'ers desktop which probably gets a shake-up far more often), you won't regret being able to hot-swap a failed drive on your RAID array with a spare.
Right. With desktop hardware you won't be able to hot-swap, you'll have to suffer 60 seconds of downtime for a reboot.
I had to do this the other day. Here's the process:
Unless you really can't accept the downtime required for a reboot, there's no reason to be worried about disks.
The biggest danger, frankly, is power supplies. Particularly since cheap power supplies often destroy not only themselves but motherboards and sometimes even disks as well. With cheap hardware, you can just have a replacement machine standing by, yank the disks from the failed box, throw them in the new box and power up. Unless the PSU took out the disks, you're back in business. If it did, though, you're restoring from backup. Not good.
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
A coworker did something similar to what you are talking about. While it did save cash up-front, he spent a huge amount of time researching and ordering parts, filling out purchase orders, assembling systems, troubleshooting systems, returning defective parts for exchange, burning in and testing assembled systems. Looking at the total costs, it only made sense if you treated his labor as free. In a rational organization, we would have bought tested and assembled systems. But our management had a fixed budget for labor and a small budget for capital expenditures, which led them to ignore labor costs.
Mea navis aericumbens anguillis abundat
There are differences but most do not really look.
Most cheap desktop motherboards have built-in video using "shared memory" - this is actaully taken from main memory and is a constant interuption to CPU to do what it needs to be done.
Bandwidth of the PCI bus and ACPI forcing all cards to use the same interupt adding to the overhead of the OS to sort out the conflict and order. This can also lead to lockups or frozen IO - I know using 100M NIC with 100M disk controller.
Multiple processors - and I am not talking about the CPUs! Server level parts most have intellegent controllers (ie their own co-processors) This way the main CPU can get work done and not worry about the reading a disk drive.
Now: Does very server have to built to server standards? NO
A old desktop box makes a great firewall, printer server or even departmental webserver. The key here, if it goes down how fast can it be replaced? With a firewall do not build one. Build two, the second just needs to boot and be plugged in. Same for a printer server or small localized webserver.
But if you are crunching data - a database server for example - buy a real server. I like IBM X440 maxs out at 16 CPU (build sets of 4) data busses 256 bits wide not 32 or 64 of most mother boards. PCI-X slots 64bits wide and hotswapable cards, plus maxs out with these at like 100 of them. Though on VMWare's ESX and make a pile of "little white boxes" all virtually.
You have also noted about RAID cards for IDE. besure they are intellegent (Co-processors) or the CPU is doing all the work.
In the end to me real difference between Desktop / Server Class / Servers is CPU loading. How much of the "housekeeping" the CPU must perform.
On desktop machine, the CPU does it all, It watches even byte the goes into and out of a disk drive or netcard. It gives up time to allow the video to share its memory. This all takes away from the base function of running an app. At one point a few years ago - the average machine was using up to 40% of its processing just to keep the screen updated.
Server Class machines have helping processors to off load the CPU. Adding these into desktop box starts the transformation into a server - except missing true server need hotswapable everything.
I have built machines with this in mind of years - My current home machine is dual PPro 200, with highend scsi and highend video (for the time, PCI Bus) working a large database and useing database design tool - it out preforms the 3Ghz P4 I have office, with IDE and shared video. Parts do make a difference.
True Server machines are built differently, PERIOD. Look at the X440 from IBM, look at the top end machines Dell, HP/Compaq you will see the difference.
Yes, they are sell servers that are really desktops in deguess. Dell 400SC small server is the same case and motherboards as Dell 800 desktop series. The difference ECC memory, and a front cover that covers the 2 USB slot and sound ports in the front. Also you can get this for less than matching desktop configuration. I got one for my wife's desktop.
Lastly clustering...
Clustering to me is the same as raid to disk drives. Lots of cheap servers sharing the load acting as a single larger machine. So all of this may be for naught.
I don't know how the rest of the world does it, and I don't really care.
The mail server where I work used to consist of a 733MHz Celeron, branded E-Machines. It was a disused desktop machine from Joe Random (Joe, of course, has a shiny new Dell on his desk to replace it). Complete with a $3 PCI RTL8139 NIC, it was the epitome of cheap.
If any part failed, including the 175-Watt PSU, the machine would die completely.
It'd been that way since I started with the company.
I mentioned it to a higher-up, who happens to be a rather important salesman of moderate technical inclination, and whose sales depend primarily on reliable email.
He insisted that I do something about it, and so I began doing so.
I fought with the RAID adapter in a Proliant that we had spare before I realized why people generally loathe binary drivers under Linux. I looked for another way to connect the hard drives, but the box only had one(!) real IDE channel, and it was consumed by a pair of CD-ROM drives.
I sat and fathomed that for awhile: Big server box, stout steel constuction, Serverworks chipset, ECC RAM, huge cooling, 64-bit PCI, one P4 Xeon and room for a second. Unsupportable hardware RAID. One bloody IDE channel. No SCSI. The sound of nonsensical madness was deafening.
So I just built one. I had a few priorities, like redundant PSU cooling, Pentium 4 (I'm an AMD fanboy, but thermal throttling is your friend, even if the chip is vastly overpriced), redundant storage, good IO performance, and the ability to replace any (or every) part with something that can be sourced locally within an hour or so. Oh, and it has to be cheap.
I also made a list of non-priorities: Don't need a lot of number-crunching ability, don't need redundant PSUs, don't care about multiple CPUs.
"Who makes server mainboards," I asked myself. I answered myself with "Tyan."
I've never read anything but good stuff about Tyan. So I got one of their P4 boards. Not a "server" board, but one of their lesser (single-CPU) models which were hopefully developed by the same engineers. Two channels of SATA RAID, four DIMM slots, very few other built-in goodies, except for two additional PATA ports.
It supports dual-channel ECC RAM, so I picked up a couple of quarter-gig sticks of that. Could've gotten more, but remember, this is a -budget- server. (It seldom swaps, and when it does, the disks are fast enough to make it a non-issue.)
Also picked up a couple of Western Digital 80GB SATA drives, because Moving Parts Are Important, MMkay?, and at the time they were the only ones still offering a 5-year warranty. This machine is supposed to live longer than that before it is outgrown.
And for good measure, I included a Pioneer DVD-R for offline backups. I hate tapes.
I tossed it all in the cheapest black case I could find (newegg, $24, shipped). I threw away the included PSU and replaced it with a big Antec Truepower.
Killed the hardware RAID in favor of Linux's software RAID1. I have no intentions of ever marrying a computer's software to something as general and failure-prone as a modern motherboard - out-of-the-box RAID is a great way to fuck yourself at disaster-recovery time.
It runs Gentoo, and and filters and tosses mail something like twenty times the rate of the old E-Machines consumerbox (which had buried itself in backlogged mail a few times).
We've got redundancy of cooling and storage, we've got a graceful fail-safe on the CPU fan, and we've got a disaster plan that includes being able to find parts from the mom-and-pop shop down the street, or mounting the SATA drives in that wretched Proliant with a PCI controller, or (at worst) setting up the Proliant's DVD-ROM and one of its 80gig drives as master/slave and restoring from DVD-R.
I'm pleased with it. It was cheap. It went together slicker than greased shit. I don't think it's going to fail anytime soon, but if it does, at least I don't have to worry abou
Kid-proof tablet..
I have, and having the system say memory error corrected is so much better than random lockups and faulty operation. Get ECC memory if you value reliability and correctness.
The problem I've found is that while it's possible to setup a workstation as a server and get good performance and reliability, it's so much work to research and build that it's often more cost-effective to just buy server grade hardware. When you start counting your cost as part of the system machine, a server no longer seem expensive.
If you can tolerate an outage every few weeks, go ahead and use desktops.
That has to be one of the most flat-out wrong statements I've heard this month. I've had several desktops working as servers over the years, and for the most part they all work flawlessly. I had one machine start getting very flaky after 3 years constant uptime, one where the hard drive failed (the HD was probbably 6 years old), and one where a PS failed (probbably about 6 years as well). With the exception of old age, the desktop servers work just fine.
Really if you need hardware that's going to last flawlessly for more than 3-4 years then go with the server HW. All desktops aren't created equally though. You can spend only a little bit more on a good quality motherboard, good PS, quality cooling fans, and probbably some form of RAID and expect no HW problems over a 3-4 year lifespan.
AccountKiller
Until last year, we had a very good run with using pretty standard machines as linux web and file servers that were accessed constantly over a LAN. The only things that needed replacement were harddisks (so ensure you perform nightly backups to another machine on the LAN), and the occasional birthday present of extra RAM or bigger harddisks.
This year we noticed Dell had very good rates for renting their rack servers, so we grabbed a couple, and will upgrade them on a 18-24 month basis. The affordability of these makes them much cheaper than buying a desktop machine, and the Dell warrantee/support has in our experience been sufficient when we've had problems (e.g. another damned harddisk crap-out).
So now, we have the leased rack 2.8ghz servers for our webservers, and our trusty P~500s still keeping up fine with our file serving, mail, and routing needs, etc (Thanks Linux... ).
Just don't think you're getting power filtering in a UPS; unless it's an "online" model and costs thousands of dollars, you're NOT.
I bought an APC RS1500 ($400 CDN, 1500va), thinking it'd do power filtering. Well, it does, except that it doesn't do power filtering within a 35w range, if I recall correctly.
According to APC, on 120v power, it has to go above 138v before it tries to filter by cutting voltage by 12% (Not dynamic, it just cuts whatever it gets by 12%). If it drops below 98v, it just boosts it by 12%. That's it.
I work for a small company that runs low-traffic sites for maybe 25 clients (employees can manage their healthcare from these sites) that are all on desktop G5s & eMacs. We have 2 eMacs for DNS, one for mail, 2 G5s as database servers, 2 as HTML servers (that the databases route through) and one as an internal fileserver (through which everything is backed up to one of 6 Lacie drives that are moved offsite weekly).
It's worked fine for us, and we have only had the servers go down twice in eight years - once when we moved offices, and once when the T1 provider's power went out.