All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
@ 2007-07-11 21:22 n schembr
  0 siblings, 0 replies; 7+ messages in thread
From: n schembr @ 2007-07-11 21:22 UTC (permalink / raw)
  To: qemu-devel



----- Original Message ----
From: andrzej zaborowski <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Sent: Wednesday, July 11, 2007 4:19:23 PM
Subject: Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

On 11/07/07, n schembr <nschembr@yahoo.com> wrote:
> "./taskset -c 1 qemu ...etc" worked great.  What will notsc do to the guest kernel?

Ok, then it is the rdtsc issue with kqemu. See
http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00652.html for
explanation and proposed fix.

Cheers,
Andrzej

It it better to boot the guest with notsc and have processor migration or set qemu to one processor?  
It seems cleaner to set notsc in grub and let it fly. 

In my case, I'm booting a real hard drive inside qemu.  If the host system's hard drive fails, the reboot will load the host off of the guests hard drive.  If I add notsc to grub will it still boot on the real hardware?  I'm 11 hours from the host machine. :)

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
  2007-07-11 20:04 n schembr
@ 2007-07-11 20:19 ` andrzej zaborowski
  0 siblings, 0 replies; 7+ messages in thread
From: andrzej zaborowski @ 2007-07-11 20:19 UTC (permalink / raw)
  To: qemu-devel

On 11/07/07, n schembr <nschembr@yahoo.com> wrote:
> "./taskset -c 1 qemu ...etc" worked great.  What will notsc do to the guest kernel?

Ok, then it is the rdtsc issue with kqemu. See
http://lists.gnu.org/archive/html/qemu-devel/2007-03/msg00652.html for
explanation and proposed fix.

Cheers,
Andrzej

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
@ 2007-07-11 20:04 n schembr
  2007-07-11 20:19 ` andrzej zaborowski
  0 siblings, 1 reply; 7+ messages in thread
From: n schembr @ 2007-07-11 20:04 UTC (permalink / raw)
  To: qemu-devel



----- Original Message ----
From: andrzej zaborowski <balrogg@gmail.com>
To: qemu-devel@nongnu.org
Sent: Wednesday, July 11, 2007 2:38:28 PM
Subject: Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

Hi,

On 11/07/07, n schembr <nschembr@yahoo.com> wrote:
> ok, This error is in kqemu.   The guest boots  with -no-kqemu option.
>
> The guest is booting ubuntu 7.04 linux 2.6.20-16-server.  Note: the host is running 7.4 and I compiled with   ./configure --prefix=/usr/local --cc=gcc-3.4 --host-cc=gcc-3.4 --kernel-path=/usr/src/linux-headers-2.6.20-16-server/
> The host has a second guest running ubuntu dapper linux 2.6.15-28-686
>   qemu -vnc :1 -kernel-kqemu -daemonize -no-reboot -monitor unix:/vservers/qemu/mail1/mail1.sock,server,nowait -boot c -hda /dev/sdc -net nic,vlan=0,macaddr=00:16:3e:00:0f:10 -net tap,vlan=0,ifname=br0-mail1,script=/etc/qemu-ifup-br0 -m 512

Just an idea, if your host is SMP too: try booting the guest kernel
with "notsc" param or setting qemu's affinity to a single CPU using
taskset. It may help or not :)

Cheers,
Andrzej

"./taskset -c 1 qemu ...etc" worked great.  What will notsc do to the guest kernel?

You just saved my project, thank you.

Nicholas A. Schembri
State College PA USA

For google   qemu race condition  kqemu ubuntu 7.4 feisty lockup hang

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
  2007-07-11 18:27 n schembr
@ 2007-07-11 18:38 ` andrzej zaborowski
  0 siblings, 0 replies; 7+ messages in thread
From: andrzej zaborowski @ 2007-07-11 18:38 UTC (permalink / raw)
  To: qemu-devel

Hi,

On 11/07/07, n schembr <nschembr@yahoo.com> wrote:
> ok, This error is in kqemu.   The guest boots  with -no-kqemu option.
>
> The guest is booting ubuntu 7.04 linux 2.6.20-16-server.  Note: the host is running 7.4 and I compiled with   ./configure --prefix=/usr/local --cc=gcc-3.4 --host-cc=gcc-3.4 --kernel-path=/usr/src/linux-headers-2.6.20-16-server/
> The host has a second guest running ubuntu dapper linux 2.6.15-28-686
>   qemu -vnc :1 -kernel-kqemu -daemonize -no-reboot -monitor unix:/vservers/qemu/mail1/mail1.sock,server,nowait -boot c -hda /dev/sdc -net nic,vlan=0,macaddr=00:16:3e:00:0f:10 -net tap,vlan=0,ifname=br0-mail1,script=/etc/qemu-ifup-br0 -m 512

Just an idea, if your host is SMP too: try booting the guest kernel
with "notsc" param or setting qemu's affinity to a single CPU using
taskset. It may help or not :)

Cheers,
Andrzej

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
@ 2007-07-11 18:27 n schembr
  2007-07-11 18:38 ` andrzej zaborowski
  0 siblings, 1 reply; 7+ messages in thread
From: n schembr @ 2007-07-11 18:27 UTC (permalink / raw)
  To: qemu-devel

ok, This error is in kqemu.   The guest boots  with -no-kqemu option.  

The guest is booting ubuntu 7.04 linux 2.6.20-16-server.  Note: the host is running 7.4 and I compiled with   ./configure --prefix=/usr/local --cc=gcc-3.4 --host-cc=gcc-3.4 --kernel-path=/usr/src/linux-headers-2.6.20-16-server/
The host has a second guest running ubuntu dapper linux 2.6.15-28-686 
  qemu -vnc :1 -kernel-kqemu -daemonize -no-reboot -monitor unix:/vservers/qemu/mail1/mail1.sock,server,nowait -boot c -hda /dev/sdc -net nic,vlan=0,macaddr=00:16:3e:00:0f:10 -net tap,vlan=0,ifname=br0-mail1,script=/etc/qemu-ifup-br0 -m 512 

I also found that qemu is not exiting  after guest is halted with init 0. 

----- Original Message ----
From: n schembr <nschembr@yahoo.com>
To: qemu-devel@nongnu.org
Sent: Wednesday, July 11, 2007 12:27:16 PM
Subject: Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

virtualBox support page talks about a race condition.  Is this a race in the guest kernel or user land? It looks like I boot the kernel just fine. the cpu spikes around init time.

----- Original Message ----
From: n schembr <nschembr@yahoo.com>
To: qemu-devel@nongnu.org
Sent: Wednesday, July 11, 2007 11:18:14 AM
Subject: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

I have a remote system that boots fine when I use:
 qemu -vnc :4 -kernel-kqemu -smp 2 -no-reboot -monitor unix:/vservers/qemu/cms1/cms1.sock,server,nowait -boot c -hda hda1.img -hdb swap.img -net nic,vlan=0,macaddr=00:16:3e:00:0f:00 -net tap,vlan=0,ifname=br0-cms1,script=/etc/qemu-ifup-br0 -m 500

But this is not using kqemu and very slow.  

When I boot the following, the guest never gets past the init process.  According to top, the guest qemu system uses 101% of the hosts cpu amd x2 3800.  The guest is ubuntu 7.4 running (postgesql, Apache, and ssh)

qemu -vnc :4 -kernel-kqemu -no-reboot -monitor
unix:/vservers/qemu/cms1/cms1.sock,server,nowait -boot c -hda hda1.img
-hdb swap.img -net nic,vlan=0,macaddr=00:16:3e:00:0f:00 -net
tap,vlan=0,ifname=br0-cms1,script=/etc/qemu-ifup-br0 -m 500

 Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

Is there a way in the proc file system on the guest to see kqemu if is working?

Is there a plan to create a stand alone qemu-monitor that can be attached to a running qemu process? 


Thank you for your time and a great project,


Nicholas A. Schembri 
State College, PA USA

PS. qemu -smp 2 has 90 day's uptime on the production hardware.
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
@ 2007-07-11 16:27 n schembr
  0 siblings, 0 replies; 7+ messages in thread
From: n schembr @ 2007-07-11 16:27 UTC (permalink / raw)
  To: qemu-devel

virtualBox support page talks about a race condition.  Is this a race in the guest kernel or user land? It looks like I boot the kernel just fine. the cpu spikes around init time.

----- Original Message ----
From: n schembr <nschembr@yahoo.com>
To: qemu-devel@nongnu.org
Sent: Wednesday, July 11, 2007 11:18:14 AM
Subject: [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

I have a remote system that boots fine when I use:
 qemu -vnc :4 -kernel-kqemu -smp 2 -no-reboot -monitor unix:/vservers/qemu/cms1/cms1.sock,server,nowait -boot c -hda hda1.img -hdb swap.img -net nic,vlan=0,macaddr=00:16:3e:00:0f:00 -net tap,vlan=0,ifname=br0-cms1,script=/etc/qemu-ifup-br0 -m 500

But this is not using kqemu and very slow.  

When I boot the following, the guest never gets past the init process.  According to top, the guest qemu system uses 101% of the hosts cpu amd x2 3800.  The guest is ubuntu 7.4 running (postgesql, Apache, and ssh)

qemu -vnc :4 -kernel-kqemu -no-reboot -monitor
unix:/vservers/qemu/cms1/cms1.sock,server,nowait -boot c -hda hda1.img
-hdb swap.img -net nic,vlan=0,macaddr=00:16:3e:00:0f:00 -net
tap,vlan=0,ifname=br0-cms1,script=/etc/qemu-ifup-br0 -m 500

 Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

Is there a way in the proc file system on the guest to see kqemu if is working?

Is there a plan to create a stand alone qemu-monitor that can be attached to a running qemu process? 


Thank you for your time and a great project,


Nicholas A. Schembri 
State College, PA USA

PS. qemu -smp 2 has 90 day's uptime on the production hardware.
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?
@ 2007-07-11 15:18 n schembr
  0 siblings, 0 replies; 7+ messages in thread
From: n schembr @ 2007-07-11 15:18 UTC (permalink / raw)
  To: qemu-devel

I have a remote system that boots fine when I use:
 qemu -vnc :4 -kernel-kqemu -smp 2 -no-reboot -monitor unix:/vservers/qemu/cms1/cms1.sock,server,nowait -boot c -hda hda1.img -hdb swap.img -net nic,vlan=0,macaddr=00:16:3e:00:0f:00 -net tap,vlan=0,ifname=br0-cms1,script=/etc/qemu-ifup-br0 -m 500

But this is not using kqemu and very slow.  

When I boot the following, the guest never gets past the init process.  According to top, the guest qemu system uses 101% of the hosts cpu amd x2 3800.  The guest is ubuntu 7.4 running (postgesql, Apache, and ssh)

qemu -vnc :4 -kernel-kqemu -no-reboot -monitor
unix:/vservers/qemu/cms1/cms1.sock,server,nowait -boot c -hda hda1.img
-hdb swap.img -net nic,vlan=0,macaddr=00:16:3e:00:0f:00 -net
tap,vlan=0,ifname=br0-cms1,script=/etc/qemu-ifup-br0 -m 500

 Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests?

Is there a way in the proc file system on the guest to see kqemu if is working?

Is there a plan to create a stand alone qemu-monitor that can be attached to a running qemu process? 


Thank you for your time and a great project,


Nicholas A. Schembri 
State College, PA USA

PS. qemu -smp 2 has 90 day's uptime on the production hardware.
 

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-07-11 21:22 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-07-11 21:22 [Qemu-devel] Is there a patch for kqemu 1.3.0pre11 and qemu 0.9 to allow accelerated smp guests? n schembr
  -- strict thread matches above, loose matches on Subject: below --
2007-07-11 20:04 n schembr
2007-07-11 20:19 ` andrzej zaborowski
2007-07-11 18:27 n schembr
2007-07-11 18:38 ` andrzej zaborowski
2007-07-11 16:27 n schembr
2007-07-11 15:18 n schembr

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.