Summary: | mlxen driver problem with MT26448 interface | ||
---|---|---|---|
Product: | Base System | Reporter: | gnoma <gnoma_86> |
Component: | kern | Assignee: | Bugmeister <bugmeister> |
Status: | Closed Overcome By Events | ||
Severity: | Affects Some People | CC: | emaste, trasz |
Priority: | --- | ||
Version: | 10.0-RELEASE | ||
Hardware: | amd64 | ||
OS: | Any |
Description
gnoma
2014-08-30 16:29:23 UTC
Looks like a generic ethernet driver problem causing packet loss and thus iSCSI session drops. Hello, What I found out is that even if I ping my own IP, I still got package lost: root@sentinel:~ # ifconfig | grep 10.0. |grep inet inet 10.0.80.1 netmask 0xffffff00 broadcast 10.0.80.255 root@sentinel:~ # root@sentinel:~ # ping -f 10.0.80.1 PING 10.0.80.1 (10.0.80.1): 56 data bytes .................................................................................................................................................................................................................................................^C --- 10.0.80.1 ping statistics --- 838 packets transmitted, 597 packets received, 28.8% packet loss round-trip min/avg/max/stddev = 0.021/0.028/0.058/0.006 ms root@sentinel:~ # this is really strange. I saw that with PF firewall, it's recommended to use maximum 1GB interface. However: root@sentinel:~ # /etc/rc.d/pf stop Disabling pf. root@sentinel:~ # ping -f 10.0.80.1 PING 10.0.80.1 (10.0.80.1): 56 data bytes ...........................................................................................................................................................................................................................................^C --- 10.0.80.1 ping statistics --- 832 packets transmitted, 597 packets received, 28.2% packet loss round-trip min/avg/max/stddev = 0.028/0.041/0.109/0.009 ms root@sentinel:~ # Even without PF I am still losing packages to my own interface. Update: The package lost seems to be because of this kernel parameter: net.inet.icmp.icmplim: 200 Which appears to be quite normal. Setting the icmplimit to few thousand makes the flooding ping package lost go away. However the issue with iscsi running on ctld remains. You mean, you no longer suffer packet loss, but you still have iSCSI sessions disconnected due to timeouts? Could you try disabling TSO on that interface? Hello, Disabling TSO did the trick, now it's working normaly with iSCSI. No issues. However with the driver provided by mellanox I didn't have this issue. Without TSO I got only a little more CPU load? Or it will interrupt other stuff? Thank you. Just a CPU load. Could you check if the problem persists in 10.1-RC1? There were some significant TSO fixes. I am sorry, this is a production system and I can't upgrade or reinstall the OS. I have a spare system, but I can't remove the 10GB LAN card from the production one :( There's no way that I can test it until the next maintenance window - the next 3 mounts. Sorry :( For bugs matching the following conditions: - Status == In Progress - Assignee == "bugs@FreeBSD.org" - Last Modified Year <= 2017 Do - Set Status to "Open" ^Triage: I'm sorry that this PR did not get addressed in a timely fashion. By now, the version that it was created against is long out of support. Please re-open if it is still a problem on a supported version. |