Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Efficiency of a virtual machine?
New Posts  All Forums:Forum Nav:

Efficiency of a virtual machine?

post #1 of 10
Thread Starter 
I use my personal file server as a gameserver. Thinking about creating a virtual machine on the server and putting the gameserver on the virtual server so that I would feel more comfortable allowing other moderators of the server on with remote access.

Would I lose any performance doing this?
post #2 of 10
Virtualization has gone a long way, the performance hit will be minimal. Many businesses run VM's on servers. If you have a chip with Intel VT-x or whatever AMD has, then the performance hit will be even less.

I am thinking of running a virtual server (using VMware ESXi or Proxmox) for CPU intensive simulations while still have the system split for other stuff.

However if you are still worried about a performance hit, I think you can section off the system with a sandbox area or something, I forget what it's called.
Edited by Darkknight512 - 1/28/11 at 3:28pm
X-Caliber
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q8300 @3.0 Ghz Gigabyte EP43 UD3L ATI Radeon HD3850 512MB 800/950 4x1 GB 800 mhz DDR2 (Dual Channel) 
Hard DriveOptical DriveOSMonitor
160 Hitachi HDD LG Super-Multi Drive with SecurDisc Windows 7 - Ultimate (x86) Samsung SyncMaster 2043SWX 20" 1600x900 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard rev. 2 460 watt Coolermaster Coolermaster Elite Razer Deathadder 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
X-Caliber
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q8300 @3.0 Ghz Gigabyte EP43 UD3L ATI Radeon HD3850 512MB 800/950 4x1 GB 800 mhz DDR2 (Dual Channel) 
Hard DriveOptical DriveOSMonitor
160 Hitachi HDD LG Super-Multi Drive with SecurDisc Windows 7 - Ultimate (x86) Samsung SyncMaster 2043SWX 20" 1600x900 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard rev. 2 460 watt Coolermaster Coolermaster Elite Razer Deathadder 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
post #3 of 10
I would have thought so, seeing as performance in a virtual machine is never as great as the performance of running something natively on the host OS.

It depends what percentage of your CPU/RAM the MC server is using.

Been a long time since I played Minecraft
post #4 of 10
Thread Starter 
Lol, hi ellis. You should hop back on for a bit.

Well, it's an i7 @ 3.8ghz. CPU is normally utilized at about 10%. Ram is 12GB, and there's where I am concerned, because I've seen 100% ram usage before. It's because of poor coding/memory leaks in the server software, but nonetheless, it must be accounted for.

How much of a memory footprint would we be talking about for a virtual machine?

I'm also concerned about latency. I'm not sure if network, cpu, or ram latency is increased while running a virtual machine or not, but it would definitely be a concern if it was.
post #5 of 10
An i7 @ 3.8GHz in a file/Minecraft server

You might have a problem with the RAM though - you won't be able to assign all of it to the virtual machine for obvious reasons so you might end up with the RAM being at 100% more than you'd like.
post #6 of 10
Quote:
Originally Posted by SgtSpike View Post
Lol, hi ellis. You should hop back on for a bit.

Well, it's an i7 @ 3.8ghz. CPU is normally utilized at about 10%. Ram is 12GB, and there's where I am concerned, because I've seen 100% ram usage before. It's because of poor coding/memory leaks in the server software, but nonetheless, it must be accounted for.

How much of a memory footprint would we be talking about for a virtual machine?

I'm also concerned about latency. I'm not sure if network, cpu, or ram latency is increased while running a virtual machine or not, but it would definitely be a concern if it was.
Ram usage should not be that much of a problem, virtualization only takes up about 200 mb + OS overhead, so you will lose about 0.5 to 1 GB. If you disable some services then that number should go down, if you wanted you could probably kill explorer.exe and never care.

Latency is usually not an issue, or not a large enough issue to cause concern. If you set the network sharing to bridged then the network lag will be minimal (we are talking about router to host to VM, as opposed to router to VM. The latency was probably 1-2 ms in the first place).
X-Caliber
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q8300 @3.0 Ghz Gigabyte EP43 UD3L ATI Radeon HD3850 512MB 800/950 4x1 GB 800 mhz DDR2 (Dual Channel) 
Hard DriveOptical DriveOSMonitor
160 Hitachi HDD LG Super-Multi Drive with SecurDisc Windows 7 - Ultimate (x86) Samsung SyncMaster 2043SWX 20" 1600x900 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard rev. 2 460 watt Coolermaster Coolermaster Elite Razer Deathadder 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
X-Caliber
(13 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core 2 Quad Q8300 @3.0 Ghz Gigabyte EP43 UD3L ATI Radeon HD3850 512MB 800/950 4x1 GB 800 mhz DDR2 (Dual Channel) 
Hard DriveOptical DriveOSMonitor
160 Hitachi HDD LG Super-Multi Drive with SecurDisc Windows 7 - Ultimate (x86) Samsung SyncMaster 2043SWX 20" 1600x900 
KeyboardPowerCaseMouse
Logitech G15 Gaming Keyboard rev. 2 460 watt Coolermaster Coolermaster Elite Razer Deathadder 
Mouse Pad
Steelseries QcK 
  hide details  
Reply
post #7 of 10
Any latency you incur from virtualization would be minimal compared to network latency especially going over WAN.

I think 200 MB RAM for VM software would be an over estimate too. Depending on your software needs some Linux solutions can cut down the guest OS overhead to 20MB or less idle too.
post #8 of 10
Thread Starter 
Thanks for the thoughts guys. Sounds like it wouldn't change things too much then. I guess the final challenge would be finding a proper OS... I'm not real big on Linux, but I don't have a 2nd copy of Server 2008 either.

Yes ellis, it needed it! Even on a Phenom II X4 @ 3.6ghz, it was struggling. The i7 finally alleviated the CPU bottleneck though.

Unfortunately, the server process is rather single-threaded, even though it claims to be multithreaded. It requires a fast core to keep up, especially with PvP!
post #9 of 10
Quote:
Originally Posted by SgtSpike View Post
Thanks for the thoughts guys. Sounds like it wouldn't change things too much then. I guess the final challenge would be finding a proper OS... I'm not real big on Linux, but I don't have a 2nd copy of Server 2008 either.

Yes ellis, it needed it! Even on a Phenom II X4 @ 3.6ghz, it was struggling. The i7 finally alleviated the CPU bottleneck though.

Unfortunately, the server process is rather single-threaded, even though it claims to be multithreaded. It requires a fast core to keep up, especially with PvP!
Oh fair enough,

I would just say give it a go. If it ends up being laggy or having latency issues or whatever, you've learned your lesson and you'll know that it doesn't work for the future. I think it's more likely that it will work, though.
post #10 of 10
I would say it depends what kind of VM you are running. At our research group we got vsphere from VMware and it`s nice, if you use it just for a gameserver there should be no problems.
vSphere Hypervisor is the free version, you could give a try with this.
GL!
/* Redemption*/
(14 items)
 
  
CPUMotherboardGraphicsRAM
I7 3930K Asus Sabertooth Asus GTX 680 8x4GB G.Skill@1337MHz 
Hard DriveOptical DriveCoolingOS
2xM4 64GB/ / F3 - 1TB / 2x2TB Baracudas some LG Modified EK 360 HFX 2x(Win7 x64) 
MonitorKeyboardPowerCase
SyncMaster P2770HD and SyncMaster 940NW Roccat Isku Corsair Gold AX750 NZXT 810 Switch 
MouseMouse Pad
Rocat Kone[+] Razer exactmat X 
  hide details  
Reply
/* Redemption*/
(14 items)
 
  
CPUMotherboardGraphicsRAM
I7 3930K Asus Sabertooth Asus GTX 680 8x4GB G.Skill@1337MHz 
Hard DriveOptical DriveCoolingOS
2xM4 64GB/ / F3 - 1TB / 2x2TB Baracudas some LG Modified EK 360 HFX 2x(Win7 x64) 
MonitorKeyboardPowerCase
SyncMaster P2770HD and SyncMaster 940NW Roccat Isku Corsair Gold AX750 NZXT 810 Switch 
MouseMouse Pad
Rocat Kone[+] Razer exactmat X 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Operating Systems
Overclock.net › Forums › Software, Programming and Coding › Operating Systems › Efficiency of a virtual machine?