Dev Envinroment - Virtual PC's - need advice

MonsterZero

Limp Gawd
Joined
Jan 5, 2005
Messages
145
Hello,
I come from a pretty heavy gaming background so I'm familiar with building out PC's but am not familiar with dual processor systems or motherboard manufacturers and need some advice on how best to setup the system.

I'm doing .NET development and I want to simulate about 3 different environments on one machine, I'll be using Virtual PC 2k4 with Win2k3 OS's, one will have SQL Server running on it. At least 2 of them will need to be running at the same time. Both possibly running Visual Studio .NET

I was thinking along the lines of 2x265 Opterons (keeping the costs somewhat low), I really don't have much of an idea about motherboard.. All SATA drives (Nothing fast like a raptor needed, also not much storage space needed) would be nice, in RAID (Onboard controller would be nice) and PCI-E for a video card would also be nice.

Probably start off with 4GB of ram (recommendations to match this system are very welcome).

I work with some of this software now and know it's a hog on system resources, if anyone sees any obvious weaknesses in what's stated please let me know.

Edit: I have a CM Stacker now and was thinking about getting another one for this system, any other case advice is also welcome, noise isn't really a major concern.

Thanks in advance
 
In a nutshell?
More memory. Lots more memory. At least 8GB. Dump SATA - you'll need SCSI.
Don't worry overmuch about the video. They all emulate an old Cirrus Logic anyhow.
 
I am going to second the amount of ram, and I think your choice of cpu is good enough.
I am going to suggest an all 10krpm SCSI disk setup (probably a RAID array of some sort)

Lastly, have you ever looked into vmware? I have no comparison to virtualpc, but I personally run an OSx86 install and a WindowsXP install undervmware on my dual athlonmp 2000+ with 2GB of ram and IDE hard drives -- it runs really good when doing stuff in both virtual machines -- so IMO, it is very efficient. just my $.02 on that however :)
 
I don't think you'd need to go scsi - just set up a single physical hard drive for each virtual PC you are running. There might be a small performance hit, but nothing noticable.
 
IanG said:
I don't think you'd need to go scsi - just set up a single physical hard drive for each virtual PC you are running. There might be a small performance hit, but nothing noticable.

Also a good idea, but you also have a limited number of channels available, and a limited amount of physical space. You can usually get reasonable performance by instead using a single SCSI-U320 drive or a RAID1 array of Hitachi 10K300's as a gross example of abuse. ;)
 
From my experience building systems with large memory...

If running Windows 2000 your applications will only be able to use 2GB to 3GB of RAM depending on your MOBO, cards plugged in to it, and page file size. The /3GB and /PAE boot.ini switches won't help either.

Some MOBOs become unstable if four sticks of RAM are plugged in. If you decide on 4GB, I recommend making it two sticks.
 
The company I work for jumped on the VM bandwagon about two years ago. I was part of the architect for the change. We decided that instead of rebuilding our laptops for every project/client we would just install our development environments on VM’s. This had the added benefit of cutting down the start-up time for new team members. All they needed to get started was enough drive space (often remedied by a new external drive) and a DVD with the base development systems on it.

We are using Virtual PC and Virtual Server. We use Virtual PC on our company laptops to run the client development tools (VS.Net and IIS) and we use Virtual Server installed on 3 servers at our main office to run our development server environments (SQL, Oracle, SharePoint, AD, etc) as well as our test, support and production environments.

In addition, I run Virtual Server at home to run my Linux box, VPN router, DVR backend, Development VM’s and play VM’s for investigating or testing new software.
Here are my specs for my home Virtual Server:
2* 2Ghz Xeon (HT enabled)
1.5Gig Ram
140Gig (divided over two iSCSI Drives) for VHD’s
Running 3-6 VM’s concurrently

Here are the specs for my company’s Virtual Servers (we have 3 of these):
4 * 2.4Gig Xeon (HT enabled)
8Gig Ram (I thing the one dedicated to production/support apps has 16Gig)
??Tera (Fiber Channel SAN) for VHD’s
Capable of Running 10+ VM’s/Server concurrently

Here are some of the lessons I learned:
1. Virtual PC will run all instances in one thread. There may be some limited multi-threading, but according the MS all the VM’s share the same thread pool.
2. Virtual Server gives each VM a thread pool of their own and schedules those across all CPU’s. You are still limited to 1cpu/VM, but you don’t share the threads between VM’s.
3. Virtual Server R2 is a big improvement over the initial release.
4. Virtual Server includes virtual SCSI drivers and they are much more efficient (faster) than the virtual IDE drivers.
5. I have not used VMWare since its beta days (1.0 Beta). I liked it then, but my company chose MS. I understand that certain versions of VMWare will allow SMP virtualization. I also understand that the development license for VMWare is fairly reasonable (I think < $500). I don’t know the limitations of the license.
6. You need more disk space than you think.
7. You need more memory than you think. 4Gig is good if it is just you on the system with a few VM’s running. Also VirtualPC/Server is limited on the amount of ram each VM can have (~2Gig I think). I think VMWare has a similar limitation. Don’t forget to leave enough ram (more than recommended) for your OS/Disk caches.
8. You will need a minimum of 512Meg/VM for what you are running. If it is a large project or massive data then you will need more.
9. You should be fine with ATA/SATA drives as long as you are the only one using the system. I use two iSCSI drives, one for my OS drives and one for data/swap/tmp drives. This is an old trick that seems to work well with the added overhead of the virtual drives. Also keep your VHD files defragged (from the host OS).
10. Once your VM is setup, use Terminal Services to interact with the guest OS’s whenever possible. It is often more responsive than using the native VM terminal.
11. Make sure your host is rock solid. Don’t enable any of the advanced disk caching options on either the host drives with VHD’s nor the VM’s themselves. Once you are sure your host is solid then you can try turning these on, but you do so at your own risk.
12. Keep ISO images of your windows cd’s on the server. You will need them at some point to repair the installations.
13. Make sure you backup either the important stuff on you VM’s or the entire VHD. Treat your VM’s like you would any other physical machine when it comes to backups and security (Virus scanners, etc).
14. Dedicate a NIC to the VM’s. I have a gigabit NIC and the only driver on it is the Virtual Machine Network driver. This keeps the host from using the NIC and gives me a good connection for my VM’s.

Once you have a VM machine at your disposal you will never look back.
 
Frank4d said:
From my experience building systems with large memory...

If running Windows 2000 your applications will only be able to use 2GB to 3GB of RAM depending on your MOBO, cards plugged in to it, and page file size. The /3GB and /PAE boot.ini switches won't help either.

Some MOBOs become unstable if four sticks of RAM are plugged in. If you decide on 4GB, I recommend making it two sticks.

One, it's 3.75GB, not 2GB to 3GB. There is no 'gray area.' 3.75GB period. 256MB below 4GB must be reserved for PCI address space on 32bit systems. This is why writing drivers for 32-bit only devices on 64-bit systems sucks; you must use bounce buffers or keep all memory that interacts below 4GB.

Secondly, this is utterly and totally false. If your board is unstable with 4 DIMMs, the board was poorly designed or poorly built. On a dual Opteron, 4 DIMMs is the minimum at 2 per CPU.
 
This may help as far as memory goes. I have read that if you run single rank dimms... say 1GBx8. You are less likely to get any slow down from having all the dimms populated. I have only found one model for sale Kingston 1GB PC3200 Registered ECC Single Rank. Micron has one as well I can't find it for sale though. Not sure if this is true but from what I have read it seems worth it.

You said you hadn't decided on a board. I am building a workstation similar to your system.

I will be using the SuperMicro H8DCE

It has 8 SATAII Raid ports. I believe it is hardware raid on levels 0,1 and 0+1. It does not have PCI-X or Firewire. It does have 2 x4 PCI-e slots.

Another option that is popular is the Tyan Thunder K8WE
This board has only 4 SATAII Raid ports. It does have PCI-X via the AMD8131. It also has firewire.

Both boards have full x16 PCI-e slots and support SLI. The Supermicro board is about $75 cheaper than the Tyan @~350. So if you don't need PCI-X it is a good deal. Both manufactuers have other boards that may suit your needs better. Check out the boards on their site.

You may also want to check out iWill as they have less featured boards but from what I hear are pretty decent. The new DK88 has 16 dimm slots, this is so that smaller chip sizes can be used, say 2GB sticks, to cheaply expand to 32GB.

MSI, Asus, and Gigabyte have a few Dual Opteron boards. None of them seem worth it though. But if you are on a budget they may be viable options.

Hope that helps.
 
kmrivers said:
This may help as far as memory goes. I have read that if you run single rank dimms... say 1GBx8. You are less likely to get any slow down from having all the dimms populated. I have only found one model for sale Kingston 1GB PC3200 Registered ECC Single Rank. Micron has one as well I can't find it for sale though. Not sure if this is true but from what I have read it seems worth it.

This is actually incorrect. Whoever's been saying this needs a good beating.
Most boards will downclock to PC2700 with all 8 DIMMs populated. The best configuration for 4-per-CPU boards is 2-per CPU regardless of type. I strongly recommend ATP or Samsung, but yes, Kingston does work well. I don't recommend single rank in the H8DCE; I haven't tested, and it's picky enough that it may not work. I don't recommend the K8WE period - it's overpriced, underengineered, and has a litany of problems longer than your arm. It never should have been released as it was, and Tyan still can't get it right. (OROM is still broken, for example.)

As far as downclocking, there is a reason; electrical stability degrades based on your DIMM count. Single versus double doesn't change electrical draw or signal stability at the PCB level. That's where things go weakest, even with six layer PCBs. The H8DCE seems to follow SPD strictly, but I haven't had enough parts on hand to test it with 8 PC3200 DIMMs, only PC2700 DIMMs.
 
then what is the point of single rank? it has to have a purpose. I got this info from the 2cpu thread on the H8DCE. There were a few people who ran this Kingston single rank just fine in a H8DCE. As far as I read 4GB and under dual rank is fine. Going over that single rank is king.

Here is something that sort of lends it's hand to what I read.



Click on the single and dual bank section

I will try and dig up some more.

Also, I didn't mean slow down in the sense of bus. Maybe more latency. I am not really sure. I should have said something else, rather than slow down. In that sense I know i am wrong.
 
Just thought I'd point out that VMware server (formerly known as GSX) is now free and still awesome. You can get a support contract if that's an issue in your environment. I'd suggest trying it out, at the very least.

The CM stacker sounds like a good case choice. The H8DCE others have mentioned is also my recommendation. Either get a raid-1 with scsi disks, or get 4 or 5 disks (they probably don't have to be big - 80 or 120 - but get 5 year warranties, and nearline drives) for disk storage. I'd go for 4x1gb ram; 1gb is plenty for one VM, unless you do some very intensive database stuff or something. Make sure to set up several gigs of pagefile, though, just in case. Maybe a Raptor for a boot/swap drive?

In general, I'd tend to overbuild as much as possible. You'll probably end up using this machine for a lot more than you plan now. VMs are just so cool you keep making more ;) At one point I got up to four that were on pretty much all the time with 512mb of host ram - don't try it. As the saying goes, "buy it nice or buy it twice".

And if you don't have a backup strategy planned down to the last detail, now is the time.

 
kmrivers said:
this is coming from tyan but also describes the benefit of single rank dimms.

Tyan Ram info

Tyan makes me laugh lots. What they say about single-rank is almost completely false.
Single rank DIMMs are lower capacity than dual rank. Why? It's simple; single rank means you only get one side of the PCB, one set of chips. (Can't even use Samsung KH0435 stacking methods.) The only way you can max out an Opteron is with dual-rank. You can't get 4GB single-rank DIMMs. The "information" *snicker* they have there looks like they're trying to cover for their boards that have memory VReg and signalling problems.

As far as 2CPU forum information goes, I treat is as GIGO. Same as here. It's nothing personal towards anyone. Except that SuperPi is not testing, nor is seeing if it passes POST. But I can't blame them. Most folks do not have an SMBus analyzer rig, much less an I2C/SMBus rig. Forget a PCI bus analyzer. And who wants to spend four hours poking at boards with multimeters?
... no, I don't want to either, really. I just don't accept "good enough." :D
 
AreEss said:
One, it's 3.75GB, not 2GB to 3GB. There is no 'gray area.' 3.75GB period. 256MB below 4GB must be reserved for PCI address space on 32bit systems. This is why writing drivers for 32-bit only devices on 64-bit systems sucks; you must use bounce buffers or keep all memory that interacts below 4GB.

Secondly, this is utterly and totally false. If your board is unstable with 4 DIMMs, the board was poorly designed or poorly built. On a dual Opteron, 4 DIMMs is the minimum at 2 per CPU.

On your first point... yes, the BIOS and Windows 32-bit will see 3.75GB {or about 3.53GB depending on how you count GB) but APPLICATIONS will only be able to access 2-3GB of PHYSICAL RAM (not to be confused with Windows XP accessing PCI address space).

And your second point... HUH??? I said some MOBOs will become unstable with fours sticks of RAM (which I have determined is true). Then in your next post you appear to agree:
As far as downclocking, there is a reason; electrical stability degrades based on your DIMM count. Single versus double doesn't change electrical draw or signal stability at the PCB level. That's where things go weakest, even with six layer PCBs. The H8DCE seems to follow SPD strictly, but I haven't had enough parts on hand to test it with 8 PC3200 DIMMs, only PC2700 DIMMs.

And I didn't say anything about poorly designed or built. I said:
Some MOBOs become unstable if four sticks of RAM are plugged in.

I believe that includes "poorly designed or built" but does not make my Some MOBOs statement false.
 
As stated above, there would be no point in bringing a motherboard to market that became unstable with 4 DIMMs, seeing as you need 2 per CPU anyways for optimal performance anyways. Sure, most desktop mobos become harder to OC (or so I've heard) with 4x512MB DIMMs as opposed to 2x1GB (maybe I have this backwards), but still no stability problems. Putting in 4 sticks of distinct brands/types however, would be trouble I'd think.
 
I am beginning to that you your opinion is worth absolutely nothing, AreEss. All you have in your arsenal is bashing Tyan.

"blah...blah...blah....Tyan sucks"

The Ram guide was a general faq for all boards. So basically what you are saying is that all Tyan boards have the same problem and Tyan is trying to cover it up. Sure. I have to wonder if you have even used the Tyan... I would hope so considering you have so much to say.

And to assume that people use SuperPi or Post as a testing method is ludicrous. And I don't care if you stick a cattle prod up your ass to test for stability. If you want to spend you time analyzing buses and testing voltages be my guest but don't try to make it sound like you are superior because you don't accept "good enough". Take you useless comments somewhere else and try to contribute to the damn question.

Back to what I was saying: Single rank. Have you used Single rank dimms? Have you tested the difference? If the answer is no, then you have no right to say anything negative about. There has to be a purpose for them and it makes sense that they would be better suited for the task of speed.

The OP hasn't posted maybe he ran away. lol. When you do come back, have you decided on anything yet? I suggested the single rank because if you are looking for speed, it sounds promising. Something to be aware of is Chipkill:

"Chipkill was invented to augment ECC DRAM. Large server manufacturers have implemented additional error correcting hardware capabilities with a technology known as Chipkill. Per Dell, "Chipkill correct is the ability of the memory system to withstand a multibit failure within a SDRAM device, including a failure that causes incorrect data on all data bits of the device. These methods rely on the chip set and hardware architecture of the system and cannot be achieved through software upgrades."

As far as I understand you have to single rank dimms, or dual rank x4 dimms to enable this feature. Don't know if that will help your cause...
 
kmrivers, I've experienced Tyan's exceptional build quality on other boards, too. I had a 2515 board which had flaky USB support, flaky and slow RAM, and refused to run the option ROM for my sata card in combination with any other devices, including onboard ide, onboard scsi, or offboard ide. Switching to a new motherboard (Supermicro) cured all of these problems immediately. If you even think you're having problems with a tyan board, the first step I'd take is replace it with something else. I was at least as doubtful as you a few months ago, but since my problems have disappeared I'm a little less skeptical.

Single rank dimms are produced because of potentially lower power draws and overproduction of high-capacity chips. If you have 8 (9) chips of memory then there's a possibility that you can use less power to re-write the cells as compared to a 16 (18) chip setup. And if your manufacturing plant overbuilds chips of capacity X for 16X sized dimms (when you can't sell many 16X dimms) you can recover by building 8X dimms and selling what would otherwise be lost profit. Also, double-sided doesn't imply double-rank. A double-sided chip can be single-ranked.

Why does it make sense that single-rank memory sticks would be better suited to speed? It seems to me that the more chips of memory you have, the higher aggregate bandwidth you can achieve.

Chipkill does indeed require x4 dimms.

 
unhappy_mage said:
kmrivers, I've experienced Tyan's exceptional build quality on other boards, too. I had a 2515 board which had flaky USB support, flaky and slow RAM, and refused to run the option ROM for my sata card in combination with any other devices, including onboard ide, onboard scsi, or offboard ide. Switching to a new motherboard (Supermicro) cured all of these problems immediately. If you even think you're having problems with a tyan board, the first step I'd take is replace it with something else. I was at least as doubtful as you a few months ago, but since my problems have disappeared I'm a little less skeptical.

Nice to see someone else around here who realizes that some of us do know what we're talking about. Nevermind my 10+ years of building dual and quad processor systems. (I still have a pair of Micronics P54e's with the EISA disks!) I don't slam good boards, because there's too damned few of them. It's to the point where I can count reliable vendors on one hand.
I also guess some folks are too stupid to notice that I did recommend the K8WE previously, and have sold the K8WE. So of course, I have absolutely no experience or reason to be disgusted with the board. I mean, I should be gung-ho about the second Tyan board in a row that I was forced to replace every single one of because of Tyan's consistent screwups. Customers had no choice but to flash to fix a quirk that I was working around in configuration, which immediately broke their ethernet. Yes, that really makes for a great board. Flash your BIOS, break your board. Thusly leaving me, the reseller/vendor/builder holding the bag on a $500 motherboard that doesn't work and must be replaced. RMA? Oh, but it's not defective! It's a bug, and bugs can't get you an RMA. Not to mention the incomprehensible amount of damage their incompetence did to my reputation. I had to eat the cost on every single board and four PCI-X cards that cost more than the boards themselves because of Tyan's incompetence.

Also, double-sided doesn't imply double-rank. A double-sided chip can be single-ranked.

Oooh. Those are kinda neat in a sick and twisted sense. Like the KH04x5's, trying to remember if it's the 1 or 4's, which are dual-rank single sided. (Chips stacked on top of eachother.)

Why does it make sense that single-rank memory sticks would be better suited to speed? It seems to me that the more chips of memory you have, the higher aggregate bandwidth you can achieve.

The foolish logic is that less chips means less signals means less bus contention. The simple fact is that 4GB is 4GB. Bandwidth is by clock. DDR is a differential clock. Single rank DIMMs do not offer any speed advantage over dual rank. The one thing they do offer is decreased heat, but this tends to be insignificant; we're talking margins of error. Samsung 1GB dual-rank versus KH0425 stacked chip dual, I could measure no temperature difference. I haven't tested in a 1U, but yes, it likely would make a larger and more noticable difference there. (I've only taken largely open air measurements in a well cooled case.)
The other common misconception is voltage improvements. DIMMs run at 2.5V. Single rank have a very slightly lower wattage draw. So what? The problem with 2 DIMM versus 4 DIMM isn't wattage. It's signalling. You have so many traces, and they are packed tightly together. Boards downclock to PC2700 because the proximity of these traces, regardless of voltage, become subject to signalling interference against eachother. Even the Celestica 4-ways do it, and those have seperate modular DIMM VREGs. (That's the 5th "DIMM socket.") If it was just voltage, why wouldn't Iwill up their VREGs, flank the DK88's sockets with them, and run at PC3200 instead of PC2100? Why would HP run the DL585 at PC2100?

Chipkill does indeed require x4 dimms.

It also requires chipset support for Chipkill, and additional support circuitry and software. Very costly to implement, sadly.
 
I've lost money on every Tyan board I've purchased, whether in shipping it back, RMA (time lost is money lost!), or selling it for a loss. With all those losses, it would have probably equaled the cost of a H8DCE, which I plan to purchase for my build.
 
MonsterZero said:
Hello,
I come from a pretty heavy gaming background so I'm familiar with building out PC's but am not familiar with dual processor systems or motherboard manufacturers and need some advice on how best to setup the system.

I'm doing .NET development and I want to simulate about 3 different environments on one machine, I'll be using Virtual PC 2k4 with Win2k3 OS's, one will have SQL Server running on it. At least 2 of them will need to be running at the same time. Both possibly running Visual Studio .NET

I was thinking along the lines of 2x265 Opterons (keeping the costs somewhat low), I really don't have much of an idea about motherboard.. All SATA drives (Nothing fast like a raptor needed, also not much storage space needed) would be nice, in RAID (Onboard controller would be nice) and PCI-E for a video card would also be nice.

Probably start off with 4GB of ram (recommendations to match this system are very welcome).

I work with some of this software now and know it's a hog on system resources, if anyone sees any obvious weaknesses in what's stated please let me know.

Edit: I have a CM Stacker now and was thinking about getting another one for this system, any other case advice is also welcome, noise isn't really a major concern.

Thanks in advance

Look at my sig to see what I use for my VMware GSX server.
The memory requirement is all going to depend on the applications you will deploy in the VMs.

You might be suprised that for a small group of developers you might not need too high of a system. My server is accessed by 5 developers and is holding very well.
I have 3 DBs, multiple app servers, 1 dedicated domain controller, 1 CVS server, 2 desktops VMs all running just fine.
 
Back
Top