Skip to content

Windows server vm on KVM host settings/tweaks

by admin on February 13th, 2015

1. setĀ elevator=deadline in grub kernel options.

or at runtime:

setting “deadline” as the I/O scheduler for your host’s disks before starting KVM:

 for f in /sys/block/sd*/queue/scheduler; do echo "deadline" > $f; done

and 

cat /sys/block/sd*/queue/scheduler 
to view current scheduler

2.use raw LVs whenever possible. Qcow2 gives overhead. Files on a FS also have overhead, virtio drivers cache none.

3.make sure the virtio drivers are up to date, especially the windows ones.

4. use e1000 network drivers foe vm in place of default r8169 (which can hang)

5…to be continued…

 

From → Uncategorized

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS