How to build a cheap and low power server for Windows Home Server (WHS) or Server 2008 (also works for a home media center)
January 15, 2008 by mike · 39 Comments
We’ve built a variety of desktop computers and servers in the past to run Windows XP and Windows Vista. With the performance of computer components increasing and the price falling it is now possible for small business to obtain very secure and stable machines for less than the price of a second hand laptop. Since HD-TV compatible technologies are now the mainstream, and with cheaper and more reliable storage devices, we are now seeing more people adopting servers for the home; a place to store all your media content and serve it around your home or small office network.
In this article, I am going to walk you through building your own small office / home network server. A 500GB RAID-protected 2.1Ghz dual core server with HD media capability. All for less than £300.00 inc VAT.
Now Is A Good Time To Invest
Last month, Microsoft released Windows Home Server (WHS) for home users and next month, Windows Server 2008 is due for release for business users. Windows Home Server (WHS) is built on Windows Server 2003 and is designed for users who have multiple Windows Vista computers and laptops at home. It serves as a single place for all your media content and also as an automatic backup server, taking images of all your machines and files and storing them in such a way that you can restore your machines or lost files over your network automatically. Windows Home Server would be great for businesses, except that it doesn’t support the most useful business server software: Microsoft Exchange for Email.
For business users, Windows Server 2008 is due to be the most reliable, secure and easy to use Windows Server platform ever. By the summer of 2008, a special “Small Business” edition of Windows Server 2008 will be released, which should have Exchange, Fax Server, IIS (for hosting websites) all pre-loaded.
On the hardware side, Intel has the Core 2 Duo line of chips leading in the mainstream and performance segment, and AMD (unable to compete on performance) has dropped the prices of all it’s CPU’s across the range, and started developing “green” energy efficient processors with a 45 watt thermal design point (even less at idle). (By contrast, Intel Xeon’s in this segment draw over 100 watts).
Green energy efficient design is important, not just for the planet, or your pocket book, but there are good technical reasons for buying green. Lower power means less wasteful heat is generated and therefore less noisy fans are required. This means that silent or near-silent designs are possible - especially important for Home Servers which are likely to live in the living room.
Choosing Your Server Hardware
To all the geek’s reading this, I’m sure you’re already running your own home server, made from bits of old junk that you have lying around. I’ve certainly done this previously. However getting parts that have high reliability, low power consumption (and high definition compatible media output) are not likely to be found in your old computer parts bucket, so we first need to go shopping to find new components with warranty!
Doing your research and choosing the correct components that are all compatible and work together is the hardest step and one that I’m not going to go into in detail here. Suffice to say that I have chosen the very best bang for your buck branded parts that were available in the UK at the time. The components I chose were:
The Case - Antec NSK3480 MATX Micro Tower (£46.46)
Antec are well known for creating professional, high quality cases. This case is tiny and very heavy. It has room inside for two 3.5″ hard disk drives (which means you can use RAID 0 and 1, but not 5) and one optical drive and one floppy drive. The drives are mounted on supplied silicone spacers to minimise vibration (which causes damage and noise) and to improve airflow around the drives (reduces heat and improves disk life expectancy).
The Antec NSDK 3480 comes with a 380 Watt EarthWatts PSU which has a fan that spins down if it is not required - saving energy and reducing noise.
There are other cases that would do just as well. If you are building a server for the home, you might want to get one of the newer DVD-player style cases which are designed to sit in your living room next to your existing DVD player or Hi-Fi system. These cases are more expensive, however.
The Motherboard - ASUS M2A-VM HDMI 690G Socket AM2 (£34.35)
The choice of motherboard is the most critical choice of researching your build. Also because of the way in which the markets for motherboards are so cleanly split, there is usually only one or two choices for the motherboard that you should choose, all the others will not be appropriate.
Since we are building an AMD based system (low power and low cost), we need an AM2 motherboard. We also need a small motherboard as we have a small case. We also need a motherboard that supports RAID 1 - drive mirroring - so that if one of our drives fails, the server can continue to run whilst we replace the broken disk. We need an Integrated Graphics Chipset (save power and money as opposed to a dedicated card). If you want to play media directly from the server to a TV, HDTV or projector then you need a fairly decent graphics processor. Since AMD now own ATI, all modern AMD/ATI chipsets contain fairly advanced integrated graphics processing solutions. They might not be suitable for gaming, but this is a server. This motherboard comes with a Radeon x1250 integrated graphics chipset, which gives us up to 1900×1200 output resolution and can output high definition content via VGA, DVI, s-video, and HDMI connectors.
The Processor (CPU) - AMD Athlon 64 X2 4000+ Energy Efficient (£34.00)
AMD processors over Intel was an obvious choice for this segment. Almost all processors nowadays are 64bit with 32bit compatibility. Windows Home Server is only available in a 32bit version, and Windows Server 2008 is available in both 32bit and 64 bit versions. What is more important for a server is that the processor has two cores. Servers with only one core can often bottleneck at the CPU, tasks can be waiting for permission to execute. Dual Core resolves this problem. Quad Core is a waste on a home or small office server, as these small servers are most often used to serve files or host applications, not to perform heavy computation.
We continue to maintain that Intel Core 2 Duo chips are the technology of choice and are also capable of very low energy consumption. However, Intel Core 2 Duo chips cost more than twice the price of the AMD rival. Intel Chipsets (for motherboards) also don’t have the advantage of high performance integrated graphics, so we would need to purchase an additional graphics card if we were going Intel. In the low energy / low cost segment, AMD is the market leader.
CPU Fan - Arctic Cooling AC-FRZ-64 (£15.00)
The Arctic Cooling AC-FRZ Freezer range are fantastic fans. Very quiet and relatively small (although larger than a stock fan). You’ll notice from my photographs that I’m not using an Arctic Cooling Fan. This is because my supplier ran out of stock. Instead I went to Maplin for a basic Akasa fan. Works just as well, but not quite as quiet as the Arctic Cooling Freezer.
Storage - 2 x Western Digital WD5000AAKS 500GB (£105.98 for 2)
There are currently two choices for the title of “1/2 Terrabyte storage king” - the Seagate Barracuda 500GB 7200.11 and the Western Digital WD5000AAKS. Both companies have excellent reputations for reliability, and both drives have almost exactly the same specifications - 7200 RPM spin speed, 16MB of Cache, SATA II, low seek times, and are the same price.
The Western Digital drives are slightly quieter and don’t “click” as much as the Seagate drives, so for this build I went Western Digital.
Since the case we are using is a small case, it only has space for 2 drives. This means that both drives will be running in RAID 1 mirrored configuration. So we will have a total of 500GB of available space. This is more than enough for a small office server. If you wanted more space, 1TB drives are available - at a cost. If you wanted to spend more on a larger case, get three 500GB drives and use RAID 5. It is just as reliable as RAID 1, but 3 x 500 GB in RAID 5 would give you 1TB of storage (1000GB).
Memory - 1 OCZ 2GB DDR2 800Mhz/PC2-6400 (£30.00)
It doesn’t really matter what type of RAM you get for a home server. Even a small office server won’t notice much difference between EEC (server type error-correcting) or non-EEC RAM. The key thing to note is that you should purchase RAM that has the same clock speed frequency as your Front Side Bus (FSB). The FSB of our motherboard is 800Mhz, and it takes DDR2 RAM. So that limits our choice. The OCZ brand of RAM is well respected, and it’s on special offer - so I went with it. It is rare to find performance RAM available for less than value RAM. However, performance RAM tends to need to be worked harder than value RAM - this particular model needs 1.9V to be applied across it rather than the default 1.8V. I don’t think using 1.8V would cause many problems, and I would still rather have used value RAM, but we’re making a cheap PC remember? So in the real world, this was the best deal.
DVD Drive - NEC Optiarc AD-7170S-0B SATA (£13.86)
I chose a cheap DVD writer. It turned out to be out of stock, so my order was shipped without it. The Sony DVD writer you can see in the images I had to borrow from another office machine.
If you’re looking for a Blu-Ray, HD-DVD or combination high density drive, these are available. However, they cost more than £13, and we’re building a cheap server. If you wanted a more expensive server, you could go ahead and use a Blu-Ray or HD-DVD drive and it would work well with this setup.
Uninterruptible Power Supply with AVS - Plexus MV 500VA (£20.41)
Plexus make a line of cheap and cheerful UPS’es. This one in particular comes with enough juice to keep the server running under power outage conditions for several minutes and has a built in automatic voltage regulator. The voltage regulator is very important for server applications as it prevents spikes and under-voltage (brown-outs) from reaching the server. It gives the server nice clean power and ensures that your server is going to live a nice happy life!
Operating System
You’ve got a choice:
Linux - Free
Windows Vista Home Premium - about £60
Windows Home Server - about £150
Windows Server 2008 - Price TBC (will be more than £150).
Miscellaneous Bits
Don’t forget to order your SATA II cables, Thermal Conductivity Paste and some CAT-6 cables (for Gigabit Ethernet).
Click More.. to move to building the server!
Improve your internet speed with faster website loading times
January 1, 2008 by mike · Leave a Comment
A quick new-year’s tip for improving your web browsing experience and making your web pages load quicker:
Use OpenDNS (www.opendns.com).

It will take you a few seconds to do, and will save you a few hundred milliseconds on average each time you load a web page.
OpenDNS is a free replacement for your ISP’s own DNS servers. A DNS server is a machine which your internet connection uses to look up web addresses and to convert them to the unique IP address where the website files can be found. Whenever you type in a web address, for example www.google.com, before the page loads your connection first needs to find the numerical address (in this case: 208.69.34.230) in order to locate the phyiscal page on the internet. A DNS server is required to match the web name with the IP address number. Your ISP will already be providing this service, although it is likely to be running at near-maximum or over capacity and this results in a slow web browsing experience, especially at peak time.
OpenDNS has a distributed network of DNS servers around the world and will automatically choose the fastest one for your connection. As an added benefit, OpenDNS automatically filters out know phishing/scamming and illegal or dangerous websites for you. You can also register your IP address with OpenDNS and they can provide you with free statistics on your household’s or businesses surfing habits and from this you can block specific sites and content from ever being accessed. This service is definately one for the control freak or senior management
When my clients ask me if there is anything they can do to tweak the performance of their internet connections to speed up web browsing, this is the first trick of the trade that I show them. They’re always pleased with the results, especially for the price (it’s completely free!).
What do you think? Did you know that changing your DNS server could improve performance or give you immediate control over your network’s internet use? I’d love to hear your views; drop a comment below.
C# vs VB.NET - which is better?
September 25, 2007 by mike · 5 Comments
It never ceases to amaze me how every single programmer I’ve ever met has a strong and unshakable fundamentalist religious faith that the language they choose is the best and can provide a wide number of arguements for it.
Historically, you had to have a position on C++ vs VB. Visual Basic being a Rapid Application Development tool, or quick and dirty, whilst C++ was considered more elegant, resourceful and “manly”. VB required a library of additional runtimes and up until VB6 service pack 6, had a lot of bugs, mostly to do with memory management. C++ was always the domain of the purist, who would often look down on the VB guy and his less-efficient binary. C++’ers would snub VB’ers whilst in the office. VB’ers would snub C++’ers when down at the pub, enjoying a project-completed pint while the C++ programmer was still months behind…
VB, dubbed as VBA was the language chosen by Microsoft as a scripting language for their applications. As such, it was the first language used by businesspeople, accountants, scientists and the like who needed to code without needing to learn Object Orientation or non-intuitive coding symbols such as those found in C: {};*. VB was taken up by developers and managers who “just wanted to get things done”, and usually not caring a great deal over memory or sheer performance. For the heavy lifting, you would rarely use VB anyway.
At the end of the day, purist geeks and hobbiests versus owner-managers will be each to their own, but those who are paying for the development - the managers, business owners, and ultimately directors, investors and shareholders, will want the problems solved, quickly. They will not care about your factory classes, polymorphism or multiple inheritance. They will care if you spend ten times longer than you “should” be working on low level code when the business task necessites quick, rapid testing and deployment. A motto I heard at a Microsoft Conference for succesful software projects is, “Build early, Build often”. You often can’t build early (maybe not even for months) if you are particularly low level. You need to keep a bigger picture, get your first “build” out within a day or two. Trust me, I’ve seen many projects (not my own, thankfully) go to the wall because they didn’t get installers built early enough or didn’t have the technology choices down right at the beginning of the project.
There are some cases where both languages are useful. A quick couple of days in VB to prototype and demonstrate a new software tool, followed by C++ modules to do the number-crunching, with the interface in VB.
When Microsoft introduced .NET they made accessibility one of the main design goals. It now doesn’t matter which language you are comfortable with - they all go through the same MSIL compiler and the result is exactly the same. .NET is also fully Object Orientated, so if you’re coming to .NET from a C++ or Java background, you’ll find that line-for-line your code will essentially look the same. However, if you’re coming from Classic Event-Driven/Procedural VB, you’ve got to master Object Orientation.
However, now, C# and VB.NET are for all intents and purposes - exactly the same. With VB.NET, it is slightly more productive, you need less lines of code as the compiler makes more of an effort to understand what you’ve written without the need for end-line characters or curly-bracket delimiters.
VB.NET also trumps C# in a few other key areas:
- Background Compilation (instead of just a Parser)
- Edit and Continue (new to 2005 - and a massive productivity boost)
- Refactoring Support
- Ability to utilise existing VB6 code
- Code Snippets
I’m not sure why C# does not offer the above. I cannot see a technical reason for it, as essentially these productivity tools are down to the IDE.
If you were writing in Notepad, who cares which language you use? C# is probably neater for this type of grass-roots coding. But since VB.NET has the nicer IDE, I’ll stick with the more productive language of VB.NET over C#.
A twist to the tale..
Just checking the UK job market, as of today these are the rates for the VB.NET and C# programmers:
VB.NET Programmer, hourly rate
£34/hour, £36100/annum
C# Programmer hourly rate (22% more!)
£44/hour, £38500/annum
Today, C# Programmers are paid 22% more than VB.NET developers to write exactly the same .NET code!
My advice? Stick to whatever feels best for you. If you’re a dyed-in-the-wool C++ programmer, jump to C# and forgo the advanced IDE improvements for the VB.NET crowd. If you’re just starting out, I recommend getting a free copy of “VB.NET Express” from the Microsoft website - the language looks easier to read than C# and the productivity improvements will save you time. Time that you can spend on other persuits; like your family that you’ve neglected whilst you’ve been studying C++.
Useful Links:
C# to VB.NET and VB.NET to C# Converters
http://labs.developerfusion.co.uk/convert/csharp-to-vb.aspx
http://labs.developerfusion.co.uk/convert/vb-to-csharp.aspx
C# and VB.NET Language Comparison (if you read and understand this, you won’t need to use the converters)
http://www.harding.edu/fmccown/vbnet_csharp_comparison.html





![Aliph Jawbone Noise Shield Bluetooth Headset (Black)[Retail Packaged]](http://ecx.images-amazon.com/images/I/217tQjzyGRL._SL75_.jpg)

