Find the answer to your Linux question:
Results 1 to 9 of 9
on the same ESX box, we have a number of VMs running, which has both the Linux Redhead and Windows OS servers. we are not abusing the Windows OS servers ...
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4

    performance different of a windows server (2003) and a linux server

    on the same ESX box, we have a number of VMs running, which has both the Linux Redhead and Windows OS servers.

    we are not abusing the Windows OS servers by any mean, nor we are not giving it enough memory and CPU. The Windows and the Lunix VMs are sitting on the ESX's local disks.

    the issue: a lot of the Windows VMs are acting very slow while the Linux are running fine. Each time we RDP to a Windows VM, it was so slow to just even move the mouse around or to open up to browse some folders. And, trying to execute any program or scripts would just take minutes.

    we have set the hardware acceleration to the max on those Windows VMs.

    had anyone ever came across situation like this?

    what are some reasons that make the Windows servers operate slower compare to Linux servers?

    what makes the Linux to outperform the Windows?

  2. #2
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    do the windows boxes run in paravirtualization or full virtualization?
    You must always face the curtain with a bow.

  3. #3
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4
    Quote Originally Posted by Irithori View Post
    do the windows boxes run in paravirtualization or full virtualization?
    i am sorry, i am not sure what is full virtualization.

    however, there is only one box, and that is the ESX box running VMware ESXi 4.0, which host all those VMs.
    this ESX box supports VMI and VMI is enabled. All the Guest Linux are also have VMI enabled too.

    the Windows OS does not have the VMI.

    does that sort of answer your question?

  4. #4
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    no.

    Full virtualization means, the VM host has to provide virtual hardware, that can be accessed with the regular drivers of the guest

    In paravirtualization, there are special harddisc, video and network drivers, that take "shortcuts" (yeah, I know this a simplification)

    That is why there are vmwaretools.
    After installing these in the guests, performance will be much better.
    You must always face the curtain with a bow.

  5. #5
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    I will have to verify, but I *think* in linux you do not need special paravirtualization aware kernel modules (drivers) for IO and networkcards, as they are aware by default.
    Only video and usb need the vmwaretools in linux.
    You must always face the curtain with a bow.

  6. #6
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4
    Quote Originally Posted by Irithori View Post
    no.

    Full virtualization means, the VM host has to provide virtual hardware, that can be accessed with the regular drivers of the guest

    In paravirtualization, there are special harddisc, video and network drivers, that take "shortcuts" (yeah, I know this a simplification)

    That is why there are vmwaretools.
    After installing these in the guests, performance will be much better.
    I just read this article, it talks about this a bit which I found kinda interesting vmware.com/files/pdf/VMware_paravirtualization.pdf

    For the vmwaretools, yes we do have the latest tools installed on the ESX VMware box.

  7. #7
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    ok, if vmware tools are installed, then the next step might be to get some numbers.

    do this in linux:
    dd if=/dev/zero of=/opt/deleteme.dd bs=1M
    and watch
    vmstat 1
    This gives you the sequential write speed.

    For windows, there are also some free IO tests.

    There should be similar results in sequential write speed.

    Then use netio for network throughput.
    There is a windows version of it.
    You must always face the curtain with a bow.

  8. #8
    Linux Guru Irithori's Avatar
    Join Date
    May 2009
    Location
    Munich
    Posts
    2,100
    ok, netio for linux is hard to find these days.

    Letīs ducttape one:
    host 1: netcat -l 1234 > /dev/null
    (probably the command is called nc)

    host2: cat /dev/zero | netcat <IP_host 1> 1234

    host(1|2): iptraf, detailed view
    You must always face the curtain with a bow.

  9. #9
    Just Joined!
    Join Date
    Mar 2010
    Posts
    4
    Hi Irithori,

    I have used Perfmon to monitor a few Windows VMs and I found the following:

    1. The physical disks response (both read and write) are high (or slow) on those VMs as they almost always pass the 25 ms.

    - but, having said that, if the physical disks are slow, this also means that it is slow too on the Linux VMs. But, that doesn't cause the Linux performance to decrease. So, this isn't likely be the problem.

    2. The logical disk response (both read and write) are showing no problem.

    3. The network bottleneck doesn't seems to be a problem. We have two GB nic, and are both active.

    4. Processor and memory status are OK.

    PS.

    On your previous post,
    Prior to implementing those commands, I would like to know what those command do first. Honestly, I don't have access to the Linux environment, as I would have to ask the Linux support engineers to complete those command for me. So, I would like to know what they do and would the results suggest anything, so that I can sort of let them know.

    Thanks.

    Quote Originally Posted by Irithori View Post
    ok, netio for linux is hard to find these days.

    Letīs ducttape one:
    host 1: netcat -l 1234 > /dev/null
    (probably the command is called nc)

    host2: cat /dev/zero | netcat <IP_host 1> 1234

    host(1|2): iptraf, detailed view
    Quote Originally Posted by Irithori View Post
    ok, if vmware tools are installed, then the next step might be to get some numbers.

    do this in linux:
    dd if=/dev/zero of=/opt/deleteme.dd bs=1M
    and watch
    vmstat 1
    This gives you the sequential write speed.

    For windows, there are also some free IO tests.

    There should be similar results in sequential write speed.

    Then use netio for network throughput.
    There is a windows version of it.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...