network hang trigger
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 by saying from domU:
ping -s 1473 <dom0 ip>
(1473 + 28 byte header = 1501 byte packet)
I'll do more testing tomorrow.
thanks
James
-------------------------------------------------------
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
James
I can confirm that your problem occurs in xen-2.0-20040914. In this example a4.local is the xen0 machine (2.6.8.1-xen0), a30 is one of several xenU guests on a4 (all 2.6.8.1-xenU). First a simple ping, which works OK. Then your special poison ping: nasty pause, and possibly useful messages.
[administrator@a30 administrator]$ ping a4.local
PING a4.local (192.168.0.4) 56(84) bytes of data.
64 bytes from a4.local (192.168.0.4): icmp_seq=1 ttl=64 time=5.72 ms 64 bytes from a4.local (192.168.0.4): icmp_seq=2 ttl=64 time=0.150 ms
--- a4.local ping statistics ---
2 packets transmitted, 2 received, 0% packet loss, time 1010ms rtt min/avg/max/mdev = 0.150/2.937/5.724/2.787 ms [administrator@a30 administrator]$ ping -s 1473 a4.local PING a4.local (192.168.0.4) 1473(1501) bytes of data.
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 192.168.0.4 icmp_seq=1 Frag reassembly time exceeded
1481 bytes from 192.168.0.4: icmp_seq=2 ttl=64 time=28980 ms 1481 bytes from 192.168.0.4: icmp_seq=3 ttl=64 time=27980 ms 1481 bytes from a4.local (192.168.0.4): icmp_seq=4 ttl=64 time=26980 ms
--- a4.local ping statistics ---
11 packets transmitted, 3 received, +1 errors, 72% packet loss, time 29287ms
rtt min/avg/max/mdev = 26980.569/27980.589/28980.612/816.525 ms, pipe 11
I hope that helps.
Peri
Quoted 16 lines · James Harper
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 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 13 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
I 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
Both domains have 256MB memory. MTU for both is 1500.
-- Keir
Quoted 16 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 and xen0 on the same machine.
Can someone else _please_ test this? I am able to make the network hang 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
-=- 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 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
-------------------------------------------------------
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
I'm seeing this problem:
81.187.70.17 is a secondary on DOM0's bridge. The host 'uml18' is DOM1.
uml18:~# ping -s 2473 81.187.70.17 PING 81.187.70.17 (81.187.70.17) 2473(2501) bytes of data. 2481 bytes from 81.187.70.17: icmp_seq=1 ttl=64 time=0.559 ms
.. time passes, I hit ^C ..
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
2481 bytes from 81.187.70.17: icmp_seq=6 ttl=64 time=30297 ms --- 81.187.70.17 ping statistics ---
12 packets transmitted, 2 received, 83% packet loss, time 34627ms rtt min/avg/max/mdev = 0.559/15149.215/30297.872/15148.657 ms, pipe 7
DOM0 has 384M, DOM1 has 64M, MTU 1500 in both.
Different packet sizes seem to trigger the bug more or less quickly -- I first tried with 2000 byte packets, and didn't see the problem, then I tried 2473, and saw the problem then. Trying 2000 bytes again did then show the problem.
This is running Xen-2.0 from 4th September -- I can give a more recent version a try, but should I be able to turn on writable pagetables with current code, given I had problems with that option with the code I'm running now?
Chris.
Quoted 69 lines · Keir Fraser
I 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 msBoth domains have 256MB memory. MTU for both is 1500.
-- Keir
Quoted 16 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 and xen0 on the same machine.
Can someone else _please_ test this? I am able to make the network hang 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-=- 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 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
-------------------------------------------------------
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 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
Do you see this if you ping from DOM1 to an external machine? Or from an external machine to DOM1?
My suspicion is that this is just some weird interaction between bridging and local packet dleivery in DOM0. I also can cause lots of packet loss when pinging DOM1 from DOM0, if I use DOM1's hostname rather than IP address(!!!). It's very bizarre, and tcpdump tells me that the ICMP packets come back to DOM0 via the VIF, but it looks like they then get swallowed somehow within the bridge.
I think that the bridging code is really intended for dedicated bridge boxes with no local IP interface. So I'm not sure whether the support for that might not be flaky in some circumstances.
-- Keir
Quoted 28 lines
I'm seeing this problem:
81.187.70.17 is a secondary on DOM0's bridge. The host 'uml18' is DOM1.
uml18:~# ping -s 2473 81.187.70.17 PING 81.187.70.17 (81.187.70.17) 2473(2501) bytes of data. 2481 bytes from 81.187.70.17: icmp_seq=1 ttl=64 time=0.559 ms.. time passes, I hit ^C ..
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
2481 bytes from 81.187.70.17: icmp_seq=6 ttl=64 time=30297 ms --- 81.187.70.17 ping statistics ---
12 packets transmitted, 2 received, 83% packet loss, time 34627ms rtt min/avg/max/mdev = 0.559/15149.215/30297.872/15148.657 ms, pipe 7DOM0 has 384M, DOM1 has 64M, MTU 1500 in both.
Different packet sizes seem to trigger the bug more or less quickly -- I first tried with 2000 byte packets, and didn't see the problem, then I tried 2473, and saw the problem then. Trying 2000 bytes again did then show the problem.
Quoted 4 lines
This is running Xen-2.0 from 4th September -- I can give a more recent version a try, but should I be able to turn on writable pagetables with current code, given I had problems with that option with the code I'm running now?
-------------------------------------------------------
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
Quoted 2 lines · Keir Fraser
Do you see this if you ping from DOM1 to an external machine? Or from an external machine to DOM1?
Both these cases seem fine.
I also see the 'packet loss using hostname' weirdness pinging from 0 to 1, yet tcpdump in dom1 tells me that icmp packets are going both ways...
I *also* see more icmp redirects than I might have expected, so maybe I'll try changing things around a bit -- the xenU domains are using a secondary on dom0's bridge device as their default as they're not on the same ip address range as dom0, so I could try routing instead of bridging.
(wish I could get bidirectional serial console to dom0 working ... some odd interaction with the Dell console-redirect-foo, I suspect.)
Chris.
-------------------------------------------------------
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
Quoted 8 lines
Quoted 2 lines · Keir Fraser
Do you see this if you ping from DOM1 to an external machine? Or from an external machine to DOM1?
Both these cases seem fine.
I also see the 'packet loss using hostname' weirdness pinging from 0 to 1, yet tcpdump in dom1 tells me that icmp packets are going both ways...
Seems this only makes it easier to cause packet loss. Sometimes I can get the same behaviour using DOM1's IP address directly.
There is defintiely some weird bridging thing going on here...
-- Keir
Quoted 16 lines
I *also* see more icmp redirects than I might have expected, so maybe I'll try changing things around a bit -- the xenU domains are using a secondary on dom0's bridge device as their default as they're not on the same ip address range as dom0, so I could try routing instead of bridging.
(wish I could get bidirectional serial console to dom0 working ... some odd interaction with the Dell console-redirect-foo, I suspect.)
Chris.
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
-------------------------------------------------------
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