Degraded performance with Windows 2008 R2 with applications

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi list,

I'm not sure if this is the right list, but I have to ask for help on
some performance issues with KVM and Windows 2008 R2.

Windows guest is working properly on a clean install. But once some
applications get installed - especially MSSQL, but others as well -
system becomes pretty unresponsive. In turns, a login to the system can
take several minutes, context menus are opened badly slow and the clock
is not updated correctly which leads to differences of whole hours after
only some few hours uptime. Verifying with performance monitor in
Windows I could only see load on disk IO, not on CPU, memory. From
kvm/qemu point of view: A raw-image stored on a ext4 formatted LVM
volume is used and started with following configurations via libvirt -
see attached.

On the host system runs Debian Squeeze with a custom 2.6.38-rc2-amd64
kernel. Packages kvm, qemu-kvm and qemu-utils have been re-packaged from
source with only slight changes from original Debian source. Versions
following

linux-source-2.6.38-rc2-amd64 (custom kernel)
kvm                                                      1:0.13.60-1
qemu                                                     0.12.5+dfsg-3
qemu-keymaps                                             0.12.5+dfsg-3
qemu-kvm                                                 0.13.60-1.2
qemu-system                                              0.12.5+dfsg-3
qemu-user                                                0.12.5+dfsg-3
qemu-user-static                                         0.12.5+dfsg-3
qemu-utils                                               0.13.60-4
libvirt-bin                                              0.8.6-1
libvirt0                                                 0.8.6-1

I've tested with iozone to compare IO with a linux guest and also to
verify changes made to improve situation - but nothing really helped.

TESTS with "iozone -s 4G -r 256k -c -e":
                                                             random
random    bkwd   record   stride
               KB  reclen   write rewrite    read    reread    read
write    read  rewrite     read   fwrite frewrite   fread  freread

disc: host, host fs: ext4
          4194304     256  212213  219411  1770921  1778980 1772993
222316 1251443  2427416  1556529   211803   225559 2028445  2033889

disc: host, host fs: ext4, mntopt:
noatime,barrier=0,data=writeback,nobh,commit=100,nouser_xattr
          4194304     256  458299  497838  2130939  1981932 1980227
511864 1810650  2556598  1838972   459005   467800 1572550  1576777

guest: debian squeeze, disc type: raw, cache: writeback, host fs: ext3
          4194304     256  111340   82813    81190    97227  116749
128444  378383  2384227    79760   170192   117359   88191    96565

guest: windows 2008 r2. disc type: raw, cache: writeback, host fs: ext4
          4194304     256   67787   27191    18102    38490   57438
96373   44393  3331227    56250    39590    35381   38925    59479

guest: windows 2008 r2, disc type: raw, cache: writeback, host fs: ext4,
mntopts (see above), guest: win 2008 r2, 2 CPU => 4 CPU, 2G => 8G RAM
          4194304     256   25542   55815  675272    634422  655875
34512 1022106  2880516   220929    25342    34893  574888   549021

guest: windows 2008 r2, disc type: raw, cache: writeback, host fs: ext4,
mntopts (see above), guest: win 2008 r2, 2 CPU => 4 CPU, 2G => 8G RAM,
disabled apps:
          4194304     256   23842   27387  665746    737001   85355
30551  993698  2966299    67414    27245    29198   83649   575503
          4194304     256   23832   25542  662877     85437  652512
30592  840599  3201253    65488    27701    21907  585014   565069
          4194304     256   18492   37256   86426    716990  659070
33134  988579  2929210   206683    27324    21285  640326   632402

So, now the questions are: Are any issues known, especially regards
Windows 2008 R2 or hints on further enhancements possible to kvm for
usage with Windows host systems?

Mathias

Attachment: xml
Description: Binary data


[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]
  Powered by Linux