optimal settings for win7 64 guest on kvm 64 host managed with libvirt
Solution 1
- Use virtio for disks and network.
- for the mountpoint where you keep the images and the isos, use the noatime and nodiratime options
- use the deadline scheduler on the host
- use spice/qxl for video for proper video performance
Solution 2
I just installed Windows 7 and then after the installation changed the disk to use virtio.
To load the drivers, I added a temporary virtio device (1G) and then rebooted the guest. Then, loaded in the Windows drivers for the virtio through device manager.
Then, shutdown the guest, changed the main disk from IDE to virtio. Becuase Windows 7 had already loaded in the virtio drivers from my temporary device, it coped fine with the IDE disk changing to virtio.
Related videos on Youtube
ShellRox
Updated on September 18, 2022Comments
-
ShellRox almost 2 years
I have figured out how to receive payments using
django-paypal
library from python, but i couldn't find the feature that would send the funds to other users.Although there wasn't such feature in
django-paypal
, i have found out PayPal's mass payments from API, but i couldn't understand how would i use it in Python.
So for example, i know the email of user, how could i send 5$ by just email information.
Code Example:
import random User = "[email protected]" import MassivePay def Sender(): MassivePay.sendto = random.choice(User) MassivePay.send(5) if __name__ == "__main__": p = Process(target=Sender) p.start()
I know it's too easy example demonstrated in code, but how could it be seriously done in Django? Is there any library specially designed for framework? Or Python itself? If so how can i use it? Does masspay work with Django at all?
-
Kenny Rasschaert about 12 yearsVery interesting answer. Could you expand a bit on the reasoning behind these practices?
-
David Corsalini about 12 yearsthese are the most common ones, and if you take a minute to google, you'll see them all over the place. virtio devices provide much better performance than the emulated devices (ide, rtl, e1000) because they are paravirtualised. noatime and nodiratime prevent the host from generating redundant io to the disk, deadline is just known to be the best for most VM loads, and spice/qxl is a much better graphical system than VNC can ever be - providing high resolutions and good video performance
-
dasdasd about 12 yearsWindows refuses to install on virtio, do I need that special driver on the kvm site?
-
David Corsalini about 12 yearsUse this iso - alt.fedoraproject.org/pub/alt/virtio-win/latest/images/bin/…