WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel][Pv-ops][PATCH 0/3] Resend: Netback multiple thread suppo

To: "Steven Smith" <steven.smith@xxxxxxxxxx>, <Steven.Smith@xxxxxxxxxxxxx>
Subject: Re: [Xen-devel][Pv-ops][PATCH 0/3] Resend: Netback multiple thread support
From: "Jan Beulich" <JBeulich@xxxxxxxxxx>
Date: 2010年4月30日 09:27:56 +0100
Cc: Jeremy Fitzhardinge <jeremy@xxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Dongxiao Xu <dongxiao.xu@xxxxxxxxx>
Delivery-date: 2010年4月30日 01:30:50 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <20100430072926.GB22478@xxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4B187513.80003@xxxxxxxx> <EADF0A36011179459010BDF5142A457501D13FDE62@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B200727.8040000@xxxxxxxx> <EADF0A36011179459010BDF5142A457501D13FE3BB@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4B213766.7030201@xxxxxxxx> <D5AB6E638E5A3E4B8F4406B113A5A19A1D8CC03F@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100427104925.GA14523@xxxxxxxxxxxxxxxxxxxxxxxxxx> <D5AB6E638E5A3E4B8F4406B113A5A19A1D8CC904@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <20100428115157.GA17448@xxxxxxxxxxxxxxxxxxxxxxxxxx> <4BD8499C020000780003C6AF@xxxxxxxxxxxxxxxxxx> <20100430072926.GB22478@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>>> Steven Smith <steven.smith@xxxxxxxxxx> 30.04.10 09:29 >>>
>It sounds like you've had a pretty good look at these patches. Did
>you see anything else worth pointing out?
No, the major ones you had already pointed out.
Despite your earlier comments, even in the latest version the load
balancing code still doesn't seem right. I found it necessary to do
this right in __netif_{up,down}(), so that there is no potential of
mis-balanced increments and decrements (we also still have the
[pointless] list inserts/removes in our version of the patches,
which was what actually pointed out the issue by way of seeing
crashes or endless loops). This in turn made it necessary to add
logic to ignore the first (couple of?) invocation(s) of netif_be_int()
(i.e. before the netif as assigned to a group).
Also in spite of your earlier comments, the use of
kthread_should_stop() in the latest version of the patches still
seems insufficient - afaict it should also be used in the
expression passed to wait_event_interruptible().
Minor ones are
- should not use kzalloc() for allocating the (huge) array of struct
 xen_netbk in netback_init()
- the changes to netif_be_dbg() are bogus
- tasklets get replaced unconditionally with kthreads - I opted to
 make this dependent on a command line option, as the general
 description hinted both having their up- and downsides
- placement of fields in struct xen_netbk (I'd prefer all small fields to
 precede the large arrays - on x86 this results in smaller code)
Jan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] [PATCH] xl: Add subcommand "xl sched-credit" , Yu Zhiguo
Next by Date: [Xen-devel] [PATCH] Fix old QCow tapdisk image handling , Miroslav Rezanina
Previous by Thread: Re: [Xen-devel][Pv-ops][PATCH 0/3] Resend: Netback multiple thread support , Steven Smith
Next by Thread: [Xen-devel][Pv-ops][PATCH 3/3] Resend: Netback: Use Kernel thread to replace the tasklet. , Xu, Dongxiao
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /