Log in

View Full Version : Windows XP VM -- Slow Java



Nava2
06-13-2011, 06:01 PM
Hello!

So, I recently installed Fedora Core 15. I have Qemu installed, and I am running qemu-kvm.

The command I use to start my image is:

#/bin/bash
## Starts a VM with settings

qemu-kvm -m 1024 -usbdevice tablet -no-acpi -enable-kvm -boot c $@

There is no issue currently with the RAM allocated, its only using about 400mB. My computer is KVM enabled, and I have the mods installed.

Thus, enough information, my java runs super slow! I can barely run the client alone, let alone using SMART! Its quite irritating as I used to run it no problem on Ubuntu. :(

Any help is appreciated!

Wizzup?
06-13-2011, 06:18 PM
You said mods installed. I assume you mean modules installed? Are they also loaded? (Does /dev/kvm exist)
If it does, do you have access to write to it? (Perhaps you need to be in a kvm group)

If not:

modprobe kvm
modprobe kvm_intel # or kvm_amd, depending on your hardware.


On my gentoo:


$ ls -l /dev/kvm
crw-rw----+ 1 root kvm 10, 232 Jun 13 20:20 /dev/kvm

$ groups
wheel cron audio cdrom video games tomcat plugdev merlijn vboxusers kvm

Nava2
06-13-2011, 06:53 PM
Some more information:


[kevin@n2-desktop vms]$ groups
kevin wheel cdrom games kvm
[kevin@n2-desktop vms]$ ls -l /dev/kvm
crw-rw-rw-+ 1 root kvm 10, 232 13.06.2011 13:18 /dev/kvm
[kevin@n2-desktop vms]$ lsmod | grep kvm
kvm_amd 44852 3
kvm 306330 1 kvm_amd
[kevin@n2-desktop vms]$ dmesg | egrep kvm
[ 12.173824] kvm: Nested Virtualization enabled
[ 12.173828] kvm: Nested Paging enabled


Wizzup's notes did not fix it! Thanks, though!