network hang trigger
I was able to reproduce the hang easily. "ping -s 1473" worked, but "ping -s 1499" hung. While it was hung, I tried pinging the other direction and that hung too.
My setup:
Pinging from DOMU to DOM0
Changeset 1.1307
DOM0: 2.6.8.1, Stock configuration
DOMU: 2.6.8.1, Stock, except writable pagetables are disabled
ccoffing2:~ # ping -s 1499 137.65.171.60
PING 137.65.171.60 (137.65.171.60) 1499(1527) bytes of data. 1507 bytes from 137.65.171.60: icmp_seq=1 ttl=64 time=0.455 ms
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
Quoted 2 lines
From 137.65.171.60: icmp_seq=2 Frag reassembly time exceeded From 137.65.171.60 icmp_seq=2 Frag reassembly time exceeded
1507 bytes from 137.65.171.60: icmp_seq=3 ttl=64 time=28980 ms 1507 bytes from 137.65.171.60: icmp_seq=4 ttl=64 time=27980 ms 1507 bytes from 137.65.171.60: icmp_seq=5 ttl=64 time=26980 ms
--- 137.65.171.60 ping statistics ---
15 packets transmitted, 4 received, +2 errors, 73% packet loss, time 33213ms
rtt min/avg/max/mdev = 0.455/20985.849/28980.992/12136.540 ms, pipe 11
Quoted 1 line
Quoted 1 line
Quoted 1 line
"James Harper" <[email protected]> 09/15/04 8:43 AM >>>
Hmmmm... are you running 2.6 and pinging from xenU to xen0?
I've read your other emails, and I can still get it to fail if I remove vif1.0 from the bridge and give it its own ip address, but to properly exclude bridging I guess I'd have to boot up the computer with bridging never having been started...
I'm running code checked out and compiled yesterday (15th AEST), and have writable pagetables on but only since that last compile. It fails either way. I have no iptables/conntrack related modules loaded in either domain.
I think we'll have to start comparing .config's, but I need to get some sleep.
James
Quoted 16 lines
-----Original Message-----
From: Keir Fraser [mailto:[email protected]]
Sent: Wednesday, 15 September 2004 19:55
To: James Harper
Cc: [email protected]
Subject: Re: [Xen-devel] network hang triggerI can't reproduce this. e.g.,
[root@druid-0 root]# ping -s 2473 128.232.39.40
PING 128.232.39.40 (128.232.39.40) 2473(2501) bytes of data. 2481 bytes from 128.232.39.40: icmp_seq=0 ttl=64 time=0.074 ms 2481 bytes from 128.232.39.40: icmp_seq=1 ttl=64 time=0.057 ms 2481 bytes from 128.232.39.40: icmp_seq=2 ttl=64 time=0.055 ms 2481 bytes from 128.232.39.40: icmp_seq=3 ttl=64 time=0.057 ms
Quoted 6 lines
Both domains have 256MB memory. MTU for both is 1500.
-- Keir
Quoted 2 lines
I have found that simply doing a ping with packetsize > 1500 (maybe mtu???) causes the network to hang for a short time. This is from
xenU
Quoted 3 lines
Quoted 3 lines
and xen0 on the same machine.
Can someone else _please_ test this? I am able to make the network
hang
Quoted 20 lines
Quoted 11 lines
by saying from domU:
ping -s 1473 <dom0 ip>
(1473 + 28 byte header = 1501 byte packet)I'll do more testing tomorrow.
thanks
James
Quoted 9 lines
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
Quoted 8 lines
-=- MIME -=-
I have found that simply doing a ping with packetsize > 1500 (maybe mtu???) causes the network to hang for a short time. This is from xenU and xen0 on the same machine.
Can someone else _please_ test this? I am able to make the network
hang
Quoted 11 lines
by saying from domU:
ping -s 1473 <dom0 ip>
(1473 + 28 byte header =3D 1501 byte packet)I'll do more testing tomorrow.
thanks
James
Quoted 10 lines
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
Xen-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel
-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam Camcorder. More prizes in the weekly Lunch Hour Challenge. Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
After some investigation, I seem to be pin down the cause as skbuff_head_cache overflow. do 'cat /proc/slabinfo | grep skbuff', the first column is the number of active skbuff_head. On my machine, it's like this:
(1) after normal 'ping dom0', skbuff_head_cache active is 210
(2) after 'ping -s 3000 dom0' and network hang, it shoots up to 254
(3) further 'ping -s 3000 dom0' and it shoots up to 340. Get a few replies. Entire network hang.
(4) wait for several minutes, skbuff_head_cache gets garbage-collected, drops down to 120. Network recovers.
This problem also occurs to linux, freebsd, netbsd kernels with faulty device drivers. It's likely that network frontend driver is not freeing skbuff properly. Skbuff cache gets overflowed until some threshold that it's gc'ed by force.
I'm taking a look at the netback source codes.
-- Bin Ren
Quoted 26 lines · Charles Coffing
I was able to reproduce the hang easily. "ping -s 1473" worked, but "ping -s 1499" hung. While it was hung, I tried pinging the other direction and that hung too.
My setup:
Pinging from DOMU to DOM0
Changeset 1.1307
DOM0: 2.6.8.1, Stock configuration
DOMU: 2.6.8.1, Stock, except writable pagetables are disabledccoffing2:~ # ping -s 1499 137.65.171.60
PING 137.65.171.60 (137.65.171.60) 1499(1527) bytes of data. 1507 bytes from 137.65.171.60: icmp_seq=1 ttl=64 time=0.455 ms
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
ping: sendmsg: No buffer space available
From 137.65.171.60: icmp_seq=2 Frag reassembly time exceeded From 137.65.171.60 icmp_seq=2 Frag reassembly time exceeded 1507 bytes from 137.65.171.60: icmp_seq=3 ttl=64 time=28980 ms 1507 bytes from 137.65.171.60: icmp_seq=4 ttl=64 time=27980 ms 1507 bytes from 137.65.171.60: icmp_seq=5 ttl=64 time=26980 ms
Quoted 4 lines
--- 137.65.171.60 ping statistics ---
15 packets transmitted, 4 received, +2 errors, 73% packet loss, time 33213ms
rtt min/avg/max/mdev = 0.455/20985.849/28980.992/12136.540 ms, pipe 11
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170 Project Admins to receive an Apple iPod Mini FREE for your judgement on who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php