On Sun, Jul 22, 2007 at 01:30:14PM +0300, Avi Kivity wrote:
> Aurelien Jarno wrote:
> >>>
> >>> I finally didn't resist to run git bisect before going to bed...
> >>>
> >>> The patch that causes the regression is:
> >>>
> >>> commit 7d2e674835492040c9baddf0989a95abea9a8d0f
> >>> Author: Avi Kivity <[EMAIL PROTECTED]>
> >>> Date:   Sun Jul 15 15:08:23 2007 +0300
> >>>
> >>>     kvm: qemu: synchronous signal handling
> >>>     
> >>>     in order to ensure that signals are handled with the global lock 
> >>> held, we
> >>>     block them, and dequeue them with sigtimedwait().  we can then call 
> >>> the
> >>>     handlers directly.
> >>>     
> >>>     this ensures that the device model and internal qemu data structures 
> >>> are not
> >>>     corrupted by cpu 0 thread handling a signal while cpu 1 is servicing 
> >>> a pio
> >>>     or mmio request.
> >>>
> >>>   
> >>>       
> >> Is this with -net user or -net tap?
> >>
> >>     
> >
> > With -net tap.
> >
> >   
> 
> I pushed a commit which fixes a latency issue with that commit.  However 
> with my test (ping -f against the host) I only get a x2 performance 
> increase.  Can you test kvm-userspace.git?  And can you detail your 
> benchmark?

Yes, that fixes the problem. However it seems it has broken SMP
support, I am not able to boot a linux guest with 2 CPU with this 
patch.

About my benchmark, I am just copying a big file using scp between the
guest and the host, and I saw a drop from 7,5 MiB/s to 280 kiB/s.

Aurelien

-- 
  .''`.  Aurelien Jarno             | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   [EMAIL PROTECTED]         | [EMAIL PROTECTED]
   `-    people.debian.org/~aurel32 | www.aurel32.net

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to