blob: dfdfe47c5989a1339a14c3082b1474e6f5b05a34 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
Netperf tests cause i82551 network down
1. boot up a guest with 82551 nic
# qemu-kvm -net nic,model=i82551 ...
2. launch netperf server in the guest
3.on the host
for b in 32 64 128 256 512 1024 1460 2048 4096 8192 9000 16384 32768 65495 65507
do ./netperf -t TCP_STREAM -f m -H <guest ip> -P 0 -l 10 -- -m $b
done
for b in 32 64 128 256 512 1024 1460 2048 4096 8192 9000 16384 32768 65495 65507
do ./netperf -t UDP_STREAM -f m -H <guest ip> -P 0 -l 10 -- -m $b
done
Result:
Guest network becomes down
netperf client output:
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 32
87380 16384 32 10.97 19.61
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 64
87380 16384 64 11.55 79.68
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 128
87380 16384 128 10.16 14.20
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 256
87380 16384 256 11.17 12.85
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 512
87380 16384 512 10.01 16.38
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 1024
Interrupted system call
netperf: remote error 4./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 1460
establish control: are you sure there is a netserver listening on 10.66.9.39 at port 12865?
establish_control could not establish the control connection from 0.0.0.0 port 0 address family AF_UNSPEC to 10.66.9.39 port 12865 address family AF_UNSPEC
./netperf -t TCP_STREAM -f m -H 10.66.9.39 -P 0 -l 10 -- -m 2048
qemu debug message:
....
EE100 nic_receive command 0x0000, link 0x3d3e6822, addr 0xffffffff, size 1518
EE100 nic_can_receive 0x29a0180
EE100 nic_receive 0x29a0180 received broadcast, len=60
EE100 nic_receive Receive buffer (0 bytes) too small for data (60 bytes); data truncated
EE100 nic_receive command 0x8000, link 0x37b32022, addr 0xffffffff, size 0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
EE100 nic_receive receive: Running out of frames
^^^^^^^^^^^^^^^^^^^^^^^^
EE100 eepro100_write1 addr=Command/Status+1 val=0x20
|