Poor cardbus performance on TP600 with 6.0-BETA5

Joerg Pernfuss <[email protected]>
Newsgroups gmane.os.freebsd.devel.mobile
Message-ID <20051007012437.28ad7de1@loki>
Hi,

I recently decided to buy a 32bit cardbus nic for my ThinkPad 600
and while doing this, updated to FreeBSD6. Ever since then, I have
real performance problems.

The old card, ep(4) driven 3com 3C574-TX, now performs like not at all.
Simple pings inside my local network or over cross-cable are around
5'000 to 15'000ms. The 'new' one, xl(4) driven 3CCFE575BT, shows even
more odd behaviour, as about 8 to 9 out of 10 pings are near constant
at 1010ms, the other being mostly around 300-400, sometimes as low as
12ms. When being the destination of the pings, the RTT isn't that evenly
distributed, replies come in bursts and duplicates occur.
During all of this, constantly xl0 watchdog timeouts are reported. As
an example, 33 during the upload of the attached outputs.
This did not change so far, whatever I did.

debug.mpsafenet 0/1, net.isr.enable 0/1, polling, zero copy sockets,
nothing. I didn't expect any improvements, but I had hoped to see some
changes.

Right now, I am rather clueless on where to look next. As the old card
worked with FreeBSD5, its speed only limited by the cpu (max was around
8-10MBit/s), I am quite confident that it is not a hardware issue.

Is this due to some userland debug hooks that I did not disable?
`vmstat -i` looks fine, all the fancy stuff like joystick, audio, parallel,
infrared, modem that this ThinkPad600 has are disabled (device.hints and
bios).

Attached you can find:
	[1] dmesg.text		: Normal boot-dmesg
	[2] verbose_dmesg.text	: Verbose boot-dmesg
	[3] device.hints	: My device hints
	[4] kernelconf.text	: My kernel configuration file
	[5] pciconf.text	: `pciconf -lv` output
	[6] ping_src.text	: ping(8) "log", TP600 as source *)
	[7] ping_dst.text	: ping(8) "log", TP600 as destination *)

*) 172.16.23.66, hostname mjoelnir 	- the ThinkPad600 in question
					  xl(4) cardbus nic
   172.16.23.23, hostname loki		- 5.4-STABLE P3 1.4GHz
					  fxp(4) pci nic

Any input appriciated. Thanks,
	Joerg

-- 
| /"\   ASCII ribbon   |  GnuPG Key ID | c7e4 d91d 64e2 6321 9988 |
| \ / campaign against |    0xb248b614 | f27a 4e5b 06ce b248 b614 |
|  X    HTML in email  |       .the next sentence is a lie.       |
| / \     and news     |     .the previous sentence was true.     |
dmesg.text (application/octet-stream, 4 KB) - not displayed
verbose_dmesg.text (application/octet-stream, 18.5 KB) - not displayed
device.hints (application/octet-stream, 1.9 KB) - not displayed
kernelconf.text (application/octet-stream, 2 KB) - not displayed
pciconf.text (application/octet-stream, 1.9 KB) - not displayed
ping_src.text (application/octet-stream, 2 KB) - not displayed
ping_dst.text (application/octet-stream, 3.5 KB) - not displayed
signature.asc (application/pgp-signature, 187 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDRbJBTlsGzrJIthQRAvBiAKCDzUo96RnjQJ86Q3D58kn8KQLtOACfa7xD
1stD0a+kgiLfaWWdEMW9/QE=
=3oqs
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.