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 
 
Home Products Support Community News
 
   
 

xen-users

Re: [Xen-users] Remus: network buffering problem

To: rshriram@xxxxxxxxx
Subject: Re: [Xen-users] Remus: network buffering problem
From: Wenda Ni <wonda.ni@xxxxxxxxx>
Date: Sun, 20 Feb 2011 00:14:32 -0500
Cc: Todd Deshane <todd.deshane@xxxxxxx>, Ting Wang <ting@xxxxxxxxxxxx>, Chunming Qiao <qiao@xxxxxxxxxxxx>, xen-users@xxxxxxxxxxxxxxxxxxx
Delivery-date: Sat, 19 Feb 2011 21:15:54 -0800
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=f4Lii7uZUUY1/vZu1H4w9ZJy22e/HLO9Jb9843E7cHI=; b=PBizi6fpvi9ztq9JkXNomCmEehK4Dfb0SAcPvI/l5f50VRrLIppZbpzX3mR2O5jCoZ s7eM8RUPzzTJNIP7XTqfXwlfKhV9hGYnz6YXtDqG6UeVTSNVWuVE5CKMomnqNUZj0N9I LFe5RqwrucUl9ZBlD9+lHNtv99mPnKIpBOns4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=thZYu6wopYhz7ukthHffUv706JJ5EvE/iRAvQT3K+Ku4qKPdXx4dkGZVZR2Qm6XRjb xUOkiIz5VnV6uv78sTYSPr7Whq/yebKG7uQkwDIWdhXp/hORUlWi1JZKx3mO15R3A6my +C1g872B/bc/D8gAtSQjHrQlkcdwQAk2ZpQek=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <AANLkTi=DphJnXFCi1EvUmW8HhwS_CBwhkWhOzvpv5dDs@xxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <AANLkTi=7WtfPsHvUvGy101eAd6gi+pSXjckjoMDruiW4@xxxxxxxxxxxxxx> <AANLkTimS1qs7kkngSgfXrYNt-QkKxE4q=-LqdA4+4hj+@xxxxxxxxxxxxxx> <AANLkTin-pUCWDMXvfWnh2v+bECzCGochveKKJcTVZTbO@xxxxxxxxxxxxxx> <AANLkTi=DphJnXFCi1EvUmW8HhwS_CBwhkWhOzvpv5dDs@xxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
Hi Shriram,

Thank you so much for your advice.

I have enabled IFB (Intermediate functional block) module. I have enabled Ingress, redirecting, mirroring, NET_SCH_PLUG, and Netfilter. I have moduled or enabled the rest of the selections under QoS and/or fair queueing. Now it give the following error.

I cannot find the sch_queue module under QoS and/or fair queueing. I find a few previous discussions about the sch_queue module, but have not found a good solution. Could you help a bit further? I am using XEN 4.0.1 release pvops on Ubuntu 10.10 (2.6.32.27).


modprobe -q sch_queue

Traceback (most recent call last):
  File "/usr/bin/remus", line 210, in <module>
    run(cfg)
  File "/usr/bin/remus", line 119, in run
    bufs.append(BufferedNIC(vif))
  File "/usr/local/lib/python2.6/dist-packages/xen/remus/device.py", line 275, in __init__
    self.setup()
  File "/usr/local/lib/python2.6/dist-packages/xen/remus/device.py", line 314, in setup
    raise BufferedNICException('could not load sch_queue module')
xen.remus.device.BufferedNICException: could not load sch_queue module



On Sat, Feb 19, 2011 at 6:25 PM, Shriram Rajagopalan <rshriram@xxxxxxxxx> wrote:
On 2011-02-18, at 7:04 PM, Wenda Ni <wonda.ni@xxxxxxxxx> wrote:

Hi, Todd

I realize what you mean. <330.gif> Hope Shriram can shed some light to us!

On Fri, Feb 18, 2011 at 9:44 PM, Todd Deshane <todd.deshane@xxxxxxx> wrote:
Adding our new remus maintainer to the CC

On Fri, Feb 18, 2011 at 6:24 AM, Wenda Ni <wonda.ni@gmail.com> wrote:
> Hello,
>
> Many thanks to Simon for his trouble shooting on live migration. I have now
> started testing remus according to the remus link
> http://nss.cs.ubc.ca/remus/doc.html
>
> 1) Remus in its simplest mode (--no-net option), without disk replication or
> network protection, is now working good.
>
> 2) When we add the network buffering protection (remove the --no-net
> option), remus gives the error as follows:
>
> modprobe -q ifb
>
> modprobe -q imq
>
Have you installed the ifb module?
You have to enable it while configuring the dom0 kernel. 
 Device Drivers-->network devices-->Intermediate Frame Buffer

You also need to enable a whole bunch of other things
 Networking ->QoS ->Ingress, actions, mirred, redirect, etc
  and Plug Queue (NET_SCH_PLUG).

You are better off at the moment to just enable all or most of the stuff
under Netfilter and Qos as modules. Might make your task easier.

Btw thanks for pointing this out. These should probably be enabled by the
kernel build scripts (buildconfigs/enable-xen-config ) or some such place.

Shriram

> Traceback (most recent call last):
>   File "/usr/bin/remus", line 210, in <module>
>     run(cfg)
>   File "/usr/bin/remus", line 119, in run
>     bufs.append(BufferedNIC(vif))
>   File "/usr/local/lib/python2.6/dist-packages/xen/remus/device.py", line
> 272, in __init__
>     self.pool = Netbufpool(selectnetbuf())
>   File "/usr/local/lib/python2.6/dist-packages/xen/remus/device.py", line
> 174, in selectnetbuf
>     raise BufferedNICException('no net buffer available')
> xen.remus.device.BufferedNICException: no net buffer available
> Exception AttributeError: "'BufferedNIC' object has no attribute 'bufdev'"
> in <bound method BufferedNIC.__del__ of <xen.remus.device.BufferedNIC object
> at 0xd9dd90>> ignored
>
> I googled, but find little useful info. Could anyone know my problem?
>
> --
> Cheers,
>
> Wenda Ni, Ph.D.
> Dept. of Computer Science and Engineering
> State University of New York (SUNY) at Buffalo
>
> _______________________________________________
> Xen-users mailing list
> Xen-users@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-users
>



--
Cheers,
 
Wenda Ni, Ph.D.
Dept. of Computer Science and Engineering
State University of New York (SUNY) at Buffalo





--
Cheers,
 
Wenda Ni, Ph.D.
Dept. of Computer Science and Engineering
State University of New York (SUNY) at Buffalo


_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users
<Prev in Thread] Current Thread [Next in Thread>