You are not logged in.
Pages: 1
How can I change the below to make it faster?
It usually takes like 30+ seconds to boot up my system in a vm when I type in password. How can I make it closer to the speed of my native OS?
The below?
"qemu-img create -f qcow2 Unknown.qcow2 60G"
#The above is for making the image
"qemu-system-x86_64 -m 4096 -cdrom Unknown.iso -boot d Unknown.qcow2 --enable-kvm"
#the above is for installing the image on the qcow2 built
"qemu-system-x86_64 --enable-kvm Unknown.qcow2 -cpu kvm64,+nx -m 4096 -device AC97"
#the above is for loading the installed qcow2 image built anytime
"qemu-system-x86_64 --enable-kvm Unknown.qcow2 -cpu kvm64,+nx -m 4096 -device AC97 -hdb /dev/sdb"
This one is for loading usb drives in the qcow2.
The above is how I tend to build my images, run them, etc...
I read that cpu/ smp can help, but I am curious how much.
EDIT: between apostrophes is the code.
Last edited by zapper (Yesterday 23:30:28)
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
if you were to use "code" tags around code, then where would they be?
(You should be able to edit your post if you would want to).
Offline
@ralph its between apostrophes now.
I tried using -smp 4 instead of kvm,+nx
And the rest the same and that helped, but I wonder if it can be better than this.
Freedom is never more than one generation away from extinction. Feelings are not facts
If you wish to be humbled, try to exalt yourself long term If you wish to be exalted, try to humble yourself long term
Favourite operating systems: Hyperbola Devuan OpenBSD
Peace Be With us All!
Offline
It's not that hard:
* start with an opening square bracket, the word code, a closing square bracket
* end with an opening square bracket, a slash, the word code, a closing square bracket
Or maybe you want it to be a bit peculiar?
Offline
Or click on the [ code ] button in the list above the input window. Without the extra spaces, of course. They are needed here to make the function visible in text mode.
Offline
Might be the OS you are emulating.
Have a look at the gentoo wiki for help.
https://wiki.gentoo.org/wiki/QEMU/Options
Offline
The poor performance of QEMU is why I switched to VirtualBox years ago, despite all the criticism of VirtualBox that I came across. Even though people were claiming that QEMU is faster than VirtualBox, in my experience it was the exact opposite.
I started using QEMU again about three years ago. Its performance still seems a bit slow, but it's acceptable for the Linux guest VMs that I've used it for. I wish I knew how to tweak it for better performance, though.
Offline
Depending on what you're doing, you may want to consider using Distrobox.
Distrobox
https://distrobox.it/
See also:
Distrobox Secure
https://github.com/club-mate/distrobox-secure
Offline
Pages: 1