this post was submitted on 27 Apr 2024
164 points (97.7% liked)

Linux

46777 readers
1873 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 3 points 3 months ago (2 children)

Is there an equivalent or something similar to "Use host i/o cache" that VirtualBox have? Last time I tried virt-manager the install time of the vm was incredibly slow because of the terrible write speed to my hdd. Vbox fixes that issue with the host i/o cache setting.

[–] [email protected] 4 points 3 months ago* (last edited 3 months ago)

Usually setting the cache mode to "none" gives the best performance, assuming you're using the virtio interface, instead of SATA/SCSI. This is a common mistake most newbies make when installing Windows, because virt-manager defaults to the latter, which gives poor perfomance. The same goes for the network btw, you'd want to use the virtio network interface instead of the emulated NIC. So before you install a Windows guest, make sure you change both those interfaces.

After changing the hardware interfaces, what you'd need to do (with Windows guests) is you'd need to supply the [virtio drivers](https://github.com/virtio-win/virtio-win-pkg-scripts/blob/master/README.md, which you'll need to provided to the Windows setup (via the virtio driver ISO) when prompted.

But if you've already installed Windows, you'll need to install all the virtio drivers first and then update the interfaces after you've powered off the VM.

And in case you were wondering, this isn't an issue with Linux guests, since virt-manager defaults to virtio hardware, and drivers aren't an issue either.