Re: [Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-12 Thread Buchan Milne


- Original Message -
 On Sun, 03 Feb 2013 04:16:54 -0500, Pascal Terjan pter...@gmail.com
 wrote:
 
  On Sun, Feb 3, 2013 at 9:45 AM, David W. Hodgins
  davidwhodg...@gmail.com wrote:
  During testing of updates to qemu, and x11-driver-video-qxl,
  it has become very clear that no-one could possibly be using
  these packages, as they are so slow, as to be useless.
 
  Try loading kvm module and selecting the fast drivers for
  network/disk/...
 
 lsmod|grep kvm
 kvm_amd 55516 0
 kvm 413942 1 kvm_amd
 
 Whether it's loaded or not doesn't seem to make any difference.
 
 If I add the -enable-kvm option, it fails with ...
 KVM not supported for this target
 No accelerator found!

There isn't much point letting it proceed.

 Checking under htop shows it's clearly cpu bound, using 2 of my 4
 cores.
 
 The command I used to run qemu was ...
 qemu-system-x86_64 -cdrom $Iso -hda mageia$Arch.qcow2 -boot d -net
 nic
 -net user,net=192.168.10.0/16,host=192.168.10.3 -m 4096 -vga qxl
 with the Iso and Arch variables set appropriately.
 
 Suggestions for faster disk/network options?

It's significantly easier with libvirtd and virt-manager, but there's not much 
point if you haven't got hardware virtualisation enabled.

 Given that other people do find it useful, it's obvious there's
 something
 wrong either with the options I'm using (or not using), or my hardware
 or
 bios settings.
 
 Hopefully it's not the hardware. The cpu is an AMD FX(tm)-4170
 Quad-Core
 Processor, with the following flags shown in /proc/cpuinfo ...
 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
 cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
 pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid
 aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes
 xsave
 avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext
 perfctr
 core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale
 vmcb_clean
 flushbyasid decodeassists pausefilter pfthreshold

svm is the flag in question for basic hardware virtualisation on AMD (vmx for 
Intel), however many BIOSs ship with hardware virtualisation disabled by 
default.


Regards,
Buchan


Re: [Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-04 Thread Bruno Cornec
Jose Jorge said on Sun, Feb 03, 2013 at 04:39:22PM +0100:
 So please don't remove it.

+1. I use both of them on a very regular basis to build my pkgs without
big issue.

Bruno.
-- 
Open Source  Linux Profession Lead EMEA http://opensource.hp.com
EMEA Open Source HPISC Chief Technologisthttp://hpintelco.net
FLOSS projects: http://mondorescue.org http://project-builder.org 
Musique ancienne? http://www.musique-ancienne.org http://www.medieval.org


Re: [Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-04 Thread Guillaume Rousse

Le 04/02/2013 10:25, Bruno Cornec a écrit :

Jose Jorge said on Sun, Feb 03, 2013 at 04:39:22PM +0100:

So please don't remove it.


+1. I use both of them on a very regular basis to build my pkgs without
big issue.
I think David get the point now, no need for a gazillion additional 
replies :)


--
BOFH excuse #436:

Daemon escaped from pentagram


Re: [Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-04 Thread David W. Hodgins

On Sun, 03 Feb 2013 04:16:54 -0500, Pascal Terjan pter...@gmail.com wrote:


On Sun, Feb 3, 2013 at 9:45 AM, David W. Hodgins
davidwhodg...@gmail.com wrote:

During testing of updates to qemu, and x11-driver-video-qxl,
it has become very clear that no-one could possibly be using
these packages, as they are so slow, as to be useless.


Try loading kvm module and selecting the fast drivers for network/disk/...


lsmod|grep kvm
kvm_amd55516  0
kvm   413942  1 kvm_amd

Whether it's loaded or not doesn't seem to make any difference.

If I add the -enable-kvm option, it fails with ...
KVM not supported for this target
No accelerator found!

Checking under htop shows it's clearly cpu bound, using 2 of my 4 cores.

The command I used to run qemu was ...
qemu-system-x86_64 -cdrom $Iso -hda mageia$Arch.qcow2 -boot d -net nic
-net user,net=192.168.10.0/16,host=192.168.10.3 -m 4096 -vga qxl
with the Iso and Arch variables set appropriately.

Suggestions for faster disk/network options?

Given that other people do find it useful, it's obvious there's something
wrong either with the options I'm using (or not using), or my hardware or
bios settings.

Hopefully it's not the hardware. The cpu is an AMD FX(tm)-4170 Quad-Core
Processor, with the following flags shown in /proc/cpuinfo ...
flags   : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca
cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt
pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid
aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave
avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse
3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr
core arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean
flushbyasid decodeassists pausefilter pfthreshold

Regards, Dave Hodgins


[Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-03 Thread David W. Hodgins

During testing of updates to qemu, and x11-driver-video-qxl,
it has become very clear that no-one could possibly be using
these packages, as they are so slow, as to be useless.

Over 6 hours to do a net install of a kde x86-64 system,
on hardware where that would normally be under 20 minutes.

There are many problems with xorg crashing, mouse pointer not
being where the pointer is shown, etc.  These bugs are described
in https://bugs.mageia.org/show_bug.cgi?id=8938

Please drop these useless packages, so we don't have to test
or install security updates for them.

Thanks, Dave Hodgins


Re: [Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-03 Thread Pascal Terjan
On Sun, Feb 3, 2013 at 9:45 AM, David W. Hodgins
davidwhodg...@gmail.com wrote:
 During testing of updates to qemu, and x11-driver-video-qxl,
 it has become very clear that no-one could possibly be using
 these packages, as they are so slow, as to be useless.

Try loading kvm module and selecting the fast drivers for network/disk/...

 Over 6 hours to do a net install of a kde x86-64 system,
 on hardware where that would normally be under 20 minutes.

 There are many problems with xorg crashing, mouse pointer not
 being where the pointer is shown, etc.  These bugs are described
 in https://bugs.mageia.org/show_bug.cgi?id=8938

 Please drop these useless packages, so we don't have to test
 or install security updates for them.

They are useful


Re: [Mageia-dev] Please remove qemu, and qemu-img from Mageia 3.

2013-02-03 Thread Jose Jorge

Le 03/02/2013 09:45, David W. Hodgins a écrit :

During testing of updates to qemu, and x11-driver-video-qxl,
it has become very clear that no-one could possibly be using
these packages, as they are so slow, as to be useless.


While I don't know for x11-driver-video-qxl, qemu is useful for things 
different from installing recent linux distros : as example, old OS like 
DOS/Win 3.11 run better in it than in Virtual box.


So please don't remove it.