From: Nils Toedtmann Subject: Re: kernel oops/IRQ exception when networking between many domUs Date: Tue, 07 Jun 2005 18:47:25 +0200 Message-ID: <1118162845.19043.83.camel@tpol.nils.toedtmann.net> References: <1117904746.7507.31.camel@lomin> <20050605165716.GA1231@exp-math.uni-essen.de> <49e83a846cc77d6605f4adc2c0f34858@cl.cam.ac.uk> <1118047945.1972.9.camel@lomin> <1118061010.7357.10.camel@lomin> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <1118061010.7357.10.camel@lomin> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Birger =?ISO-8859-1?Q?T=F6dtmann?= Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Am Montag, den 06.06.2005, 14:30 +0200 schrieb Birger T=F6dtmann:=20 > Am Montag, den 06.06.2005, 10:26 +0100 schrieb Keir Fraser: > [...] > > > somewhere around the magic 128 (NR_IRQS problem in 2.0.x!) when the > > > crash happens - could this hint to something? > >=20 > > The crashes you see with free_mfn removed will be impossible to debug= =20 > > -- things are very screwed by that point. Even the crash within=20 > > free_mfn might be far removed from the cause of the crash, if it's du= e=20 > > to memory corruption. > >=20 > > It's perhaps worth investigating what critical limit you might be=20 > > hitting, and what resource it is that's limited. e.g., can you can=20 > > create a few vifs, but connected together by some very large number o= f=20 > > bridges (daisy chained together)? Or can you create a large number of= =20 > > vifs if they are connected together by just one bridge? >=20 > This is getting really weird - as I found out I'll enounter problems > with far fewer vifs/bridges that suspected. I just fired up a network > with 7 nodes, all with four interfaces each connected to the same four > bridge interfaces. The nodes can ping through the network, however > after a short time, the system (dom0) crashes as well. This time, it > dies in net_rx_action() at a slightly different place: >=20 > [...] > [] kfree_skbmem+0x12/0x29 > [] __kfree_skb+0xa5/0x13f > [] net_rx_action+0x23d/0x4df > [...] >=20 > Funnily, I cannot reproduce this with 5 nodes (domUs) running. I'm a > bit unsure where to go from here... Maybe I should try a different > machine for further testing. I can confirm this bug on AMD Athlon using xen-unstable from june 5th (latest ChangeSet 1.1677). All testing domains run OSPF daemons which will start talking via multicast to each other as soon as the network connections are established. * 'xm create' 20 domains with 122 vifs (+ vif0.0), but that xen- version does not UP the vifs. Everything is fine. * Create 51 transfer bridges, connect the some vifs to them (not more than two vifs to each) UP all vifs. Now i have lo + eth0 + veth0 + 123 vif* + 51 br* =3D 177 devices, all UP.=20 All transfer networks work, OSPF tables grow, everything is fine. * Create a 52th bridge. Connect 20 vifs to it but DOWN THEM BEFORE. Everything ist fine.=20 * Now UP all the vifs connected to the 52th bridge one after the other. More and more multicast traffic shows up. After UPing the 9th vif, dom0 BOOOOOMs (net_rx_action, too). Further experiments show that its seems to be the amount of traffic (and the number of connected vifs?) which triggers the oops: with all OSPF daemons stopped, i could UP all bridges & vifs. But when i did a flood- broadcast ping (ping -f -b $broadcastadr) on the 52th bridge (that one with more that two active ports), dom0 OOPSed again. I could only reproduce that "too-much-traffic-oops" on bridges connecting more that 10 vifs. Would be interesting if that happens with unicast traffic, too. Have no time left, test more tomorrow. /nils. ps: Shall we continue crossporting to devel+users?