Wednesday, February 14, 2007

A few words about power management

One of the really neat things about Vista is the new resource monitor. It gives a very detailed in depth look at what is going on with your system. It offers a number of new metrics to see how your system is doing. Some of the readings that I got after installing baffled me a little.

In Vista, under the original task manager (Ctrl-Alt-Delete -> Task Manager) you can find your CPU utilization. I spent a decent amound of time looking at the CPU meter under XP 64 just to see what was going on under the hood. I found that for the most part the CPU never exceeded 30 - 40%. Only when a number of tasks or an installer was running would it go higher. Occasionally I'd leave WoW and EVE running at the same time and wonder why it wasn't quite as fast as it should be. Mind you, I'm overly sensitive and have high expections for my new machine. However when I was not using the machine, I found that the CPU was largely idle (1% Usage)

So after I installed Vista it seemed that my base usage had gone up, a lot. It also seemed that the general responsiveness of the machine was lower. I became curious and investigated further. I found that there is a new button, under the "Performance" tab in the Task Manager. It's the resource monitor. The resource monitor provides a vast amount of information. Amoing it's nice features is a CPU readout. Unlike task manager there are two data points, a blue line "Frequency" and the traditional green line, CPU usage.

I watched the graph and realized in short order that the CPU was by default, not running at 100%. In fact, most of the time it was clocked at 38%, the lowest speed possible. I typed in the word "Power" in the start menu and it brought up "Power Options". Sure enough, Vista is clocked at "Balance" by default. This means that if your cpu supports Cool n' Quiet (Lame name AMD) or SpeedStep Vista will enable it by default. It's nice that Vista supports these features by default.

So, if you feel like Vista is a little slower than XP, it probably is by default, but know that you are helping the environment by keeping the "Balanced" or "Power Saver" setting. You can always change it to give you a boost when you need it.

Share your score

I just found this really cool site for sharing your Windows Vista Score. Pretty cool stuff check it out!

http://www.shareyourscore.com

After submitting your info you'll get a little icon like the one on the right bar

A 4x4 Vista Score


After installing Vista I was really interested to see what the experience index would be. Before installing my graphics drivers it was a solid 1.0 based on lowest subsystem score. This was of course due to the fact that the default Vista drivers for my card didn't perform very well. So, I went on to install the 8800 drivers from NVidia and I ran the benchmark again. I wasn't fully sure what the scale was, 1 to 5? 1 to 10? Given the consistency of the results and based on the documentation in the help file I figured the scale is actually 1 to "5" which actually means 1 to less than 6 based on my results. 1 to 10 might have been better!

Sunday, February 11, 2007

Vista 32 bit or 64?

Last week I took the plunge and installed Vista on my 4x4 machine.

I purchased a copy of the "limited edition signed by Bill Gates" version of Vista. Lame I know, but it was the same price as the regular version on Amazon.

The ultimate edition comes with two DVD's, one for the 32 bit version and one for the 64 bit version. So of course the first question that comes to mind, which version do I install?

Being a glutton for punishment as well as having some very solid reasons for wanting to use the 64 bit version, I chose to go for the 64 bit.

Here are a few reasons for choosing the 64 bit version: Microsoft has said that they will not allow Kernel level access to outside applications in vista 64. What this means is that malicious programs will have an extremely hard time placing system level "hooks" that could be used for nefarious purposes. This was a major issue in the months leading up to the release in 2006. Many anti-virus vendors were complaining that they would not be able to make their software work properly with vista if it did not allow Kernel level access. Microsoft acquiesced to their request due to political and legal pressure, especially the EU. The compromise was that the 32 bit version would be left "open" and the 64-bit version would be left closed. As a developer I feel that the general direction of pc software will be towards 64 bit - so I'm interested developing under a 64 bit environment. Finally, in reading the list of "known issues" listed by Nvidia for the 8800 it seemed that there were less known issues with the 64 bit version of the 8800 package versus the 32 bit version. Whether this is due to less testing of the 64 bit version, I don't know ^ ^.

It all seems to work however, and overall my impression is a positive one!

Sunday, January 14, 2007

Impressions and some "benchmarks"

After putting the system together my first impulse was to open task manager and see what was going on behind the scenes, and I was stunned.

I think I've seen my system exceed 50% utilization twice. Not for lack of trying mind you. I loaded up Warcraft III, Flight Sim X, FEAR and found that they were all CPU bound to one CPU, I came to realize that the other cores and chips just don't help at all, at least not right now. I mean, I already knew this, single threaded games won't use more processors - but seeing everything in action really drove the point home.

If you are buying a system for gaming, keep this one point in mind - your games will only run as fast as your fastest core. Half Life is slated to get some multi-threading goodness sometime this year, but coding (i know) multi-threaded applications is difficult and frequently slows the development process. There are a host of issues that need to be dealt with when developing with threads. It also increases bug hunting time. So while it would be "nice", many houses that have single threaded developers probably aren't going to be adding a ton of "risk" to their project plans any time soon just so that we can use all of these crazy cores. The good news is that the PS3 is inherently mutli-threaded and will allow game developers a chance to get their feet wet with threads and concurrent process streams.

The impression here is that 4 cores is too many for 99.99999999999999% of the people out there. The bandwidth available on this system is staggering. I found that when I was installing software I would start two, sometimes three "long running" installs. Or I might run the updater and do an install browse the web etc. etc. There would be basically no slowdown. Nothing seems to take very long, and things like searching my Outlook inbox doesn't put a dent in system performance. All the while I'm free to go from site to site, recompile code, and run queries. If you want a gaming rig I think that two cores might be a better number, it will give the OS and other tasks an area to work while the other core is maxed out. Also, the Intel chips are highly overclockable.

What was a little surprising is that I'm using way more ram, because I can run more programs. In hindsight it makes sense, though when I put this system together I looked at my previous RAM usage and settled on 2 GB, thinking 4 GB might be excessive. I was wrong. Running Visual Studio 2005 really eats a lot of ram, add in SQL Server Management Studio, a few browsers, Outlook, EVE or WCIII and iTunes and you have 1.5 GB easy. I'm also using x64 for my development tools which increases RAM usage as well. The bottom line is that if you have a lot of applications open, go for the 4GB you'll probably need it when Vista is out.

Disk IO is phenomenal. I'm never waiting on the disk. Well I am, but not nearly as much as other machines. This has less to do with the chips and more to do with the drives. If you are building a high end machine like this, get the faster disks. You'll find that they are still fast three years later. It's really the only "investment" that won't get thrown away.

I don't know what's going on in my machine. At the moment, I have no way to monitor temps across the system. I've tried a number of different packages and I've found that they either hang the system or report wierd numbers. This is actively preventing me from tweaking it anymore than I already have. Though at the moment I'm running it in "stock" mode.

From a graphics perspective it eats up the highest settings. In some cases such as EVE, I've found that it actually renders a little better at higher settings. Everything just looks great though. I'm pretty sure that has more to do with the 8800.

Lack of cooling options. Most coolers are not designed to deal with multiple cpus. While I'm sure it would help, I'm going to hold off until a decent 8800 cooler is available. I've also been thinking about desinging a cooling rig for this type of setup that is quiter than a fan based solution.


Installation benchmarks

Windows XP64 - 26 Minutes
Patch to current - 16 Minutes (DSL 6.0 Mb)
Full Office Install (From ISO) - 1 Minute 30 Seconds
Full Visual Studio 2005 Team Architect Install (DVD ISO ~ 3.5GB of data) - 12 Minutes 24 Seconds
SQL Server Tools - 2 Minutes 30 Seconds

Those are the extent of the heafty installs. Those of you who have done the VS.NET install can appreciate how fast that really is.

Drive benchmarks (using h2benchw)

I was interested to see if there was any gain or loss in performance by using the MediaShield controller. I was also interested to see the difference between a single disk and the RAID 0. I found that there was no signficant different between the RAID and non-RAID connected drive. The RAID adds a pretty heafty read boost, though I was expecting a little more.

Write tests were not conducted primarily because it took too much time.

Single Raptor no RAID
Sustained transfer rate (block size: 128 sectors):
Reading: average 71966.5, min 27578.4, max 85309.5 [KByte/s]
Random access read: average 8.13, min 2.52, max 20.64 [ms]
Random access read (<504 index =" 28.9">
Single Raptor RAID connected (also system disk)
Sustained transfer rate (block size: 128 sectors):
Reading: average 71351.8, min 16714.1, max 85308.2 [KByte/s]
Random access read: average 8.10, min 2.24, max 19.86 [ms]
Random access read (<504 index =" 28.8">

RAID 0 Striping (system disk)
Sustained transfer rate (block size: 128 sectors):
Reading: average 99133.7, min 55080.4, max 111992.1 [KByte/s]
Random access read: average 8.14, min 0.05, max 14.84 [ms]
Random access read (<504 index =" 31.7">

Games
I'm going to expand on this a little more but here is some preliminary stuff:

Warcraft III
Highest settings, 1600x1200, don't have a framerate, but it's fast, very fast.
30% CPU Use

EVE Online
Resolution: 1920x1200
100 FPS in station, 27-32 FPS Outside (You've never seen EVE like this)
Settings:
Antialias: 16xQ
AA Transparency: Supersample
Anisotropic: 16x
Vertical Sync: On
25% CPU

EVE seems like it might use more than one thread. I'll post some new EVE pics soon, they are unbelievable.

Why 4x4?

Expensive, Hot, Loud, Not the winner. Those might be reasons not to build a 4x4 machine. I think though, that there are some solid reasons to build this system, and to start using this platform. So here are a few...

Dual processors.
I think we've all wanted dual processors at some point in our lives and this is it, finally, a dual processor desktop platform that we can all use. Granted, ASUS seems to think that this is a "server" motherboard, but I would tend to disagree. It lacks the Buffered/ECC ram that would make it a stable and reliable addition to a server room. The disk controller is not fit for a server environment either.

Upgrade path.
One thing that I like about AMD is that there is a decent amount of life in their products. Socket 939 is still alive and kicking, AM2 should be around for a while as well. The 4x4 and Socket F is it's own thing as well. If you want to upgrade in 12 months, it will be possible. The same cannot be said of Intel who has an external memory controller that frequently requires a new motherboard with the purchase of a newer processor (though the new 5300's are pin compatible with previous motherboards). More than anything I bought this system for this fall, and the 8 cores that I will be able to plug into my machine. It's going to rock.

IO.
AMD has an excellent architecture for I/O. My tasks vary on a day to day basis, but I felt that AMD would provide the necessary bandwidth for all of my tasks and more. So far this is the case. Though the broken ethernet controller is a disappointment.

Speed
Despite losing out to the QFX, it didn't lose by that much and in terms of cost, the board and chips for the FX70 are about the same price.

Conclusion
Pick what you want - there is more than enough processing to go around. I like AMD, I think they have been innovating and I want to support their products. This purchase hasn't been by the numbers, but I'm very happy.

Wednesday, January 10, 2007

A Partial Guide to 4x4 and Windows XP64

I have tried a number of configurations for the install of Windows and I thought I would share what works and what does not on XP64.

Things to know before starting

*Do not install nTune*
Under windows XP64 nTune does not work with this motherboard and will cause a full system halt (no BSOD, mouse will stop functioning system will go unresponsive).

Format new drives
It takes forever, and seems like a total waste of time - but do it. A WD Raptor 150 will format in 45 minutes. Ideally, format each new drive that you are putting into your computer individually. Simply following this procedure would have saved a solid 6 hours during the install process for me. The default drivers provided by ASUS do not deal well with faulty drives in your RAID array - and the latest nVidia drivers do a much better job at hiding the problem. However there are no SMART utilities installed by default - so you have no insight into drive statuses and problems.

Remove USB card reader devices
So I was on my "last install". I install XP only to find that when I boot into windows that my main drive is labeled "E:" LOL. Turns out the USB card reader that I had connected to the computer was detected as a fixed drive even though there was no card installed during the installation. At the time I also had Plug and Play OS set to "No" in the BIOS which may have caused this issue. Regardless USB devices cause trouble (see my previous post) so remove them before starting your install.

Setup the RAID ahead of time
Using the BIOS options, setup the RAID array. There are some posts kicking around on message boards that suggest that the array should be setup post OS install. I have found that this does not work with this particular piece of hardware. If the OS is installed without the RAID controller enabled, XP will fail to boot when the RAID controller is enabled post install. XP will fail to boot properly *even if the drives are not assigned to the controller*. The relevant settings were: MediaShield Enabled (BIOS, First Screen, IDE Configuration), No drives enabled, Sil BIOS enabled (BIOS, Screen Two, Other Configuration). Also of note is that when no drives are assigned to the RAID F10 is not an option.


Before you begin

If you are using a RAID Array, you will need the RAID drivers to boot and install the OS on the new array. This will require one of two things: A slip stream image created with nLite or a floppy disk, and drive attached to the system that contains the F6 drivers. The ASUS disk has these files under \Drivers\Chipset\64bit\IDE\WinXP\sataraid. Optionally you can download the latest nForce drivers and then extract the EXE file using Winzip and grab the drivers under \IDE\WinXP\sataraid.

If you are not using the RAID, turn off the RAID options in the BIOS and you will be able to install without any problem.

My Process

Drives
The drives were plugged into SATA ports 1 and 3. I have enabled RAID for ports 1 - 6. Under the F10 menu the RAID method set is to striping, using the the two drives on ports 1 and 3.

Overclocking
No overclocking was used during install.

Boot Sequence
CD-ROM, Hard Drive, Floppy Disk

Drivers

Motherboard
The asus provided drivers were not used. The latest nForce drivers for the motherboard were used, Version 9.53 released December 21 06. WHQL Certified.

Audio
The ASUS provided drivers were used.

Graphics
The latest 8800 drivers were used, ForceWare Release 95Version: 97.44 Release Date: December 8, 2006.

Networking
My local LAN is domain based. As part of the initial install domain membership was added.


The Install

Time required

The install from F6 to cd-key request will take about 15 minutes. From the cd-key request the login prompt will take roughly an additional 11 minutes. This will total somewhere around 26 minutes for the complete install. Pretty fast!

The sequence

Install Method: The non-slip stream, F6 method was used to install Windows on the machine.

F6 was pressed at the initial load screen and at the the prompt "S" was used to install the two nVidia RAID (Class and nForce) Drivers.

The installer asked which drive to install the OS. Only one, the RAID array, was listed. The drive was selected and "Format partition (Quick)" was used (The drives had been previously formatted to verify their integrity).

After copying and installing the files the system rebooted.

The install prompted for a number of pieces of information the requested information was provided. Upon completion of the forms a few more operations complete and the system rebooted.

System boot after the BIOS finishes takes about 14 seconds at this point.

After the system boots and the main user account is logged on the nVidia nForce drivers were installed. The Ethernet drivers were not installed due to issues with my on board devices. However, I would recommend just installing only the Ethernet package and not the second optional install (I forgot its name).

The system was rebooted.

Hard Drive Benchmarks were run on the RAID array. See my benchmarks post.

The 8800 Drivers were installed.

The system was rebooted.

Windows update was run, 51 updates (174.8 MB) were downloaded and installed in 16 minutes over a 6.0 Mb DSL connection.

The audio drivers were installed.

Normal operation of the computer commenced.