Query timeouts on FreeBSD 7 over network

Jeremy Chadwick koitsu at FreeBSD.org
Tue Aug 5 12:24:45 UTC 2008


On Tue, Aug 05, 2008 at 03:04:50PM +0400, Igor V. Ruzanov wrote:
>> I've tried with the ULE scheduler and 4BSD and tried with and with
>> out PREEMPTION turned on. Nothing makes a difference.
> First of all you could try to connect only two machines via cross-over  
> cable, no any switches between the machines, no any VLANs and so on.  
> FreeBSD-7.0 works better with ULE-scheduler and kernel should be  
> preemtive (options PREEMPTION in kernel config).
> - what is your kernel config?
>
>> I'm pretty sure this is related to the OS or the em driver in some way, because if I disable all ICMP rate limiting and run an extended ping from the local firewall, I experience a very low amount of random packet loss in no pattern, unlike if you have the ICMP rate limiting enabled.

I believe -stable just got added to this thread, so I'm not sure if
these details were provided prior.  My apologies if this stuff has
already been dealt with.

1) Are there any messages from the kernel about watchdog timeouts or
other anomalies pertaining to the network?  Look in dmesg.

2) pciconf -lv (only include the Ethernet entries please), vmstat -i
and netstat -in output.

3) Try disabling MSI/MSI-X via /boot/loader.conf variables (you'll
need to reboot after this):
     hw.pci.enable_msi="0"
     hw.pci.enable_msix="0"

4) Disabling TSO on the interface, and in the OS:
     ifconfig emXX -tso
     sysctl net.inet.tcp.tso=0

-- 
| Jeremy Chadwick                                jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |



More information about the freebsd-stable mailing list