I find the question: inter-domain event only can be send to domain''s vcpu0 in Xen, so that dom0''s vcpu0 deal with the all domU''s network and disk request; but my computer have 8 physical cpu; anybody find the question? and anybody tell me how to optimize the question? _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Fri, Apr 23, 2010 at 11:05:43PM +0800, qiushanggao wrote:> I find the question: inter-domain event only can be send to domain''s > vcpu0 in Xen, so that dom0''s vcpu0 deal with the all domU''s network and > disk request; but my computer have 8 physical cpu; > > anybody find the question? and anybody tell me how to optimize the > question?Maybe Keir can comment on this one.. -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 26/04/2010 21:07, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:> On Fri, Apr 23, 2010 at 11:05:43PM +0800, qiushanggao wrote: >> I find the question: inter-domain event only can be send to domain''s >> vcpu0 in Xen, so that dom0''s vcpu0 deal with the all domU''s network and >> disk request; but my computer have 8 physical cpu; >> >> anybody find the question? and anybody tell me how to optimize the >> question? > > Maybe Keir can comment on this one..It''s not true. An event can be delivered to any dom0 vcpu. They are presented as a type of irq to the dom0 kernel, and hence normal Linux load-balancing strategies such as irqbalanced will apply. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Mon, Apr 26, 2010 at 09:52:43PM +0100, Keir Fraser wrote:> On 26/04/2010 21:07, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > > > On Fri, Apr 23, 2010 at 11:05:43PM +0800, qiushanggao wrote: > >> I find the question: inter-domain event only can be send to domain''s > >> vcpu0 in Xen, so that dom0''s vcpu0 deal with the all domU''s network and > >> disk request; but my computer have 8 physical cpu; > >> > >> anybody find the question? and anybody tell me how to optimize the > >> question? > > > > Maybe Keir can comment on this one.. > > It''s not true. An event can be delivered to any dom0 vcpu. They are > presented as a type of irq to the dom0 kernel, and hence normal Linux > load-balancing strategies such as irqbalanced will apply. >I think he meant domUs and dom0.. does the same apply to domUs? -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On Tue, Apr 27, 2010 at 12:33:27AM +0300, Pasi Kärkkäinen wrote:> On Mon, Apr 26, 2010 at 09:52:43PM +0100, Keir Fraser wrote: > > On 26/04/2010 21:07, "Pasi Kärkkäinen" <pasik@iki.fi> wrote: > > > > > On Fri, Apr 23, 2010 at 11:05:43PM +0800, qiushanggao wrote: > > >> I find the question: inter-domain event only can be send to domain''s > > >> vcpu0 in Xen, so that dom0''s vcpu0 deal with the all domU''s network and > > >> disk request; but my computer have 8 physical cpu; > > >> > > >> anybody find the question? and anybody tell me how to optimize the > > >> question? > > > > > > Maybe Keir can comment on this one.. > > > > It''s not true. An event can be delivered to any dom0 vcpu. They are > > presented as a type of irq to the dom0 kernel, and hence normal Linux > > load-balancing strategies such as irqbalanced will apply. > > > > I think he meant domUs and dom0.. does the same apply to domUs? >+not -- Pasi _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 26/04/2010 22:33, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:>> It''s not true. An event can be delivered to any dom0 vcpu. They are >> presented as a type of irq to the dom0 kernel, and hence normal Linux >> load-balancing strategies such as irqbalanced will apply. >> > > I think he meant domUs and dom0.. does the same apply to domUs?The limitation to vcpu0 applies only to HVM domUs. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
On 22/04/2010 15:37, "邱尚高" <qsg0720@163.com> wrote:> I find the question: inter-domain event only can be send to domain''s vcpu0 in > Xen, so that dom0''s vcpu0 deal with the all domU''s network and disk request; > but my computer have 8 physical cpu; > anybody find the question? and anybody tell me how to optimize the question?Not true. Events can be delivered to any of dom0''s vcpus. They will typically be load-balanced by Linux''s irqbalanced. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
I test it last week, and I find your right; Thanks Keir; --Samgao -----邮件原件----- 发件人: Keir Fraser [mailto:keir.fraser@eu.citrix.com] 发送时间: 2010年4月27日 13:48 收件人: Pasi Kärkkäinen 抄送: qiushanggao; xen-devel@lists.xensource.com 主题: Re: [Xen-devel] Event channel performance optimize On 26/04/2010 22:33, "Pasi Kärkkäinen" <pasik@iki.fi> wrote:>> It''s not true. An event can be delivered to any dom0 vcpu. They are >> presented as a type of irq to the dom0 kernel, and hence normal Linux >> load-balancing strategies such as irqbalanced will apply. >> > > I think he meant domUs and dom0.. does the same apply to domUs?The limitation to vcpu0 applies only to HVM domUs. -- Keir _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel