All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dor Laor <dor.laor-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: Rusty Russell <rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
Cc: kvm-devel
	<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Christian Borntraeger
	<borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>,
	virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org
Subject: Re: virtio_net and SMP guests
Date: Tue, 25 Dec 2007 14:22:37 +0200	[thread overview]
Message-ID: <4770F60D.4010904@qumranet.com> (raw)
In-Reply-To: <200712241154.20885.rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>

Rusty Russell wrote:
> On Monday 24 December 2007 10:19:19 Dor Laor wrote:
>   
>> Rusty Russell wrote:
>> Looks good to me. The only thing is the naming.. Maybe one can find
>> better name than [dis|en]able_cb since
>> it is more like disable interrupts than disable_cb and enable_cb is more
>> like run_callbacks (and enable interrupts).
>>     
>
> Yes, the nomenclature is a little wishy-washy.  Perhaps we should call 
> them "interrupts" even though (all together) the s390 doesn't have 
> interrupts.
>
>   
>> Actually while looking at it some more, there's might be a performance
>> optimization using your new patch:
>> Up to now, if the tx/rx paths were running out of descriptors they
>> called enable_cb.
>> enable_cb told the host it should trigger an irq the next time it has
>> data for the guest.
>>  From now on, enable_cb will run the callbacks inside shortening latency.
>>
>> btw, I tried to apply this patch on my source tree without luck,  after
>> doing a manual merge, the
>> guest opssed on the BUG_ON. I think it's because my sources are not
>> aligned with yours.
>> Can you please post a mercurial/git repo? Please specify the relatively
>> repository in case you choose mercurial.
>>     
>
> Hmm, I currently publish a patch queue and a subset of that for Linus to pull 
> from.  I could create a git tree from it but it'd be useless to you, since 
> it'd be re-created every time I modify the patch queue...
>
> Rusty.
>   
It's ok with me, anyway I always pull from Avi & you and try push new 
patches back.
btw: I checked your Linux tree and found it a bit old, there was no tx 
coalescing timer, it's probably good
for 2.6.24. Do you plan to post patchset for 25 windows?
Thanks,
Dor

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

  parent reply	other threads:[~2007-12-25 12:22 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-14 12:12 virtio_net and SMP guests Christian Borntraeger
     [not found] ` <200712141312.05562.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2007-12-16 11:55   ` Dor Laor
2007-12-18  6:51   ` Rusty Russell
2007-12-23 23:19     ` Dor Laor
2008-01-10 12:37     ` Christian Borntraeger
     [not found]     ` <200712181751.24692.rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2007-12-23 23:19       ` Dor Laor
2007-12-24  0:54         ` Rusty Russell
     [not found]         ` <476EECF7.9000204-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-24  0:54           ` Rusty Russell
2007-12-25 12:22             ` Dor Laor
     [not found]             ` <200712241154.20885.rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org>
2007-12-25 12:22               ` Dor Laor [this message]
     [not found]                 ` <4770F60D.4010904-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-12-26  0:48                   ` Rusty Russell
2007-12-26  0:48                 ` Rusty Russell
2008-01-10 12:37       ` Christian Borntraeger
     [not found]         ` <200801101337.40433.borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org>
2008-01-10 15:39           ` Christian Borntraeger
2008-01-10 15:51             ` Christian Borntraeger
2008-01-11  9:53               ` Rusty Russell
2008-01-11  9:53               ` Rusty Russell
2008-01-10 15:51             ` Christian Borntraeger
2008-01-10 15:39         ` Christian Borntraeger
2007-12-16 11:55 ` Dor Laor
2007-12-18  6:51 ` Rusty Russell

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4770F60D.4010904@qumranet.com \
    --to=dor.laor-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=borntraeger-tA70FqPdS9bQT0dZR+AlfA@public.gmane.org \
    --cc=dor.laor-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    --cc=rusty-8n+1lVoiYb80n/F98K4Iww@public.gmane.org \
    --cc=virtualization-cunTk1MwBs9QetFLy7KEm3xJsTq8ys+cHZ5vskTnxNA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.