Hang when testing with AMD64 with Tg3
Subsystems (2)
Doing simple iperf test on new opteron with tg3 against existing Xeon system. I am seeing something wierd, the connection hangs right away. Is this a TSO bug.
Sender: BK latest (2.6.9-rc3) Tg3 (XX.YY.250.3)
Receiver: BK + netdev(jeffm) + dave's latest e100 (XX.YY.1.73)
Both machines are directly connected with a netgear 100mbit switch.
16:59:30.726551 IP XX.YY.250.3.32948 > XX.YY.1.73.5001: S 4113740578:4113740578(0) win 5840 <mss 1460,sackOK,timestamp 4233878 0,nop,wscale 2> 16:59:30.726574 IP XX.YY.1.73.5001 > XX.YY.250.3.32948: S 4117129705:4117129705(0) ack 4113740579 win 5792 <mss 1460,sackOK,timestamp 25903995 4233878,nop,wscale 2> 16:59:30.726578 IP XX.YY.250.3.32948 > XX.YY.1.73.5001: . ack 1 win 1460 <nop,nop,timestamp 4233879 25903995>
16:59:30.726604 IP XX.YY.250.3.32948 > XX.YY.1.73.5001: P 1:25(24) ack 1 win 1460 <nop,nop,timestamp 4233879 25903995>
16:59:30.726641 IP XX.YY.1.73.5001 > XX.YY.250.3.32948: . ack 25 win 1448 <nop,nop,timestamp 25903995 4233879>
Quoted 8 lines · Stephen Hemminger
Doing simple iperf test on new opteron with tg3 against existing Xeon system. I am seeing something wierd, the connection hangs right away. Is this a TSO bug.
Sender: BK latest (2.6.9-rc3) Tg3 (XX.YY.250.3)
Receiver: BK + netdev(jeffm) + dave's latest e100 (XX.YY.1.73)Both machines are directly connected with a netgear 100mbit switch.
I don't see things like this on my boxes with rc3, also with tg3s.
Of what nature is the hang? Does the machine crash?
-Andi
David S. Miller
maintainerQuoted 3 lines · On Tue, 5 Oct 2004 02:15:27 +0200 Andi Kleen <[email protected]> wrote:
I don't see things like this on my boxes with rc3, also with tg3s.
Of what nature is the hang? Does the machine crash?
And what tg3 revisions do you have?
Quoted 8 lines · David S. Miller
Quoted 3 lines · On Tue, 5 Oct 2004 02:15:27 +0200 Andi Kleen <[email protected]> wrote:
I don't see things like this on my boxes with rc3, also with tg3s.
Of what nature is the hang? Does the machine crash?
And what tg3 revisions do you have?
Mostly 5701s.
-Andi
Quoted 8 lines · David S. Miller
Quoted 3 lines · On Tue, 5 Oct 2004 02:15:27 +0200 Andi Kleen <[email protected]> wrote:
I don't see things like this on my boxes with rc3, also with tg3s.
Of what nature is the hang? Does the machine crash?
And what tg3 revisions do you have?
# ethtool -i eth0 driver: tg3 version: 3.10 firmware-version: bus-info: 0000:03:02.0
# ethtool -k eth0 Offload parameters for eth0: rx-checksumming: on tx-checksumming: on scatter-gather: on tcp segmentation offload: off
# lspci -v 0000:03:02.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5703 Gigabit Ethernet (rev 02) Subsystem: IBM: Unknown device 026f Flags: bus master, 66Mhz, medium devsel, latency 64, IRQ 28 Memory at c0200000 (64-bit, non-prefetchable) Capabilities: [40] PCI-X non-bridge device. Capabilities: [48] Power Management version 2 Capabilities: [50] Vital Product Data Capabilities: [58] Message Signalled Interrupts: 64bit+ Queue=0/3 Enable-
Quoted 8 lines · Andi Kleen
Quoted 7 lines · Stephen Hemminger
Doing simple iperf test on new opteron with tg3 against existing Xeon system. I am seeing something wierd, the connection hangs right away. Is this a TSO bug.
Sender: BK latest (2.6.9-rc3) Tg3 (XX.YY.250.3)
Receiver: BK + netdev(jeffm) + dave's latest e100 (XX.YY.1.73)
Quoted 6 lines
Quoted 1 line
Both machines are directly connected with a netgear 100mbit switch.
I don't see things like this on my boxes with rc3, also with tg3s.
Of what nature is the hang? Does the machine crash?
The sender just doesn't send any more data??? I can reproduce it every time and it even happens with stock Suse 9.1 kernel (2.6.4-XX)
Will try a different ether card tommorrow to see if it is there.
Quoted 10 lines · Andi Kleen
Quoted 8 lines · Stephen Hemminger
Doing simple iperf test on new opteron with tg3 against existing Xeon system. I am seeing something wierd, the connection hangs right away. Is this a TSO bug.
Sender: BK latest (2.6.9-rc3) Tg3 (XX.YY.250.3)
Receiver: BK + netdev(jeffm) + dave's latest e100 (XX.YY.1.73)Both machines are directly connected with a netgear 100mbit switch.
IT ISN'T A NETWORK PROBLEM. The problem is that iperf uses posix pthread mutex's to sychronize and it looks like a futex bug.
Quoted 8 lines · Stephen Hemminger
Quoted 6 lines · Andi Kleen
Quoted 4 lines · Stephen Hemminger
Doing simple iperf test on new opteron with tg3 against existing Xeon system. I am seeing something wierd, the connection hangs right away. Is this a TSO bug.
Quoted 8 lines
Quoted 5 lines
Quoted 4 lines
Sender: BK latest (2.6.9-rc3) Tg3 (XX.YY.250.3)
Receiver: BK + netdev(jeffm) + dave's latest e100 (XX.YY.1.73)Both machines are directly connected with a netgear 100mbit switch.
IT ISN'T A NETWORK PROBLEM. The problem is that iperf uses posix pthread mutex's to sychronize and it looks like a futex bug.
might not be a futex bug - check to see if iperf does any writes, fflushes, etc, in a signal handler - i.e. that its signal handling is thread-safe. glibc now makes it a fatal bug..
thanks,
Nivedita
Quoted 15 lines · Nivedita Singhvi
Quoted 14 lines · Stephen Hemminger
Quoted 11 lines · Andi Kleen
Quoted 8 lines · Stephen Hemminger
Doing simple iperf test on new opteron with tg3 against existing Xeon system. I am seeing something wierd, the connection hangs right away. Is this a TSO bug.
Sender: BK latest (2.6.9-rc3) Tg3 (XX.YY.250.3)
Receiver: BK + netdev(jeffm) + dave's latest e100 (XX.YY.1.73)Both machines are directly connected with a netgear 100mbit switch.
Quoted 7 lines
Quoted 2 lines
IT ISN'T A NETWORK PROBLEM. The problem is that iperf uses posix pthread mutex's to sychronize and it looks like a futex bug.
might not be a futex bug - check to see if iperf does any writes, fflushes, etc, in a signal handler - i.e. that its signal handling is thread-safe. glibc now makes it a fatal bug..
It doesn't do I/O from signal handler, but the problem goes away when not compiling with -O2.