> 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.Once again it would be better if you do analyze the traffic going throuth the em-interface excluding your DNS testing data. Try to get the network with no any walking packets but dnsperf traffic and no any upinks and/or downlinks.> Also, are there any documented recommendations for sysctl values for FreeBSD when running BIND for optimal performance?- What options did you provide to configure script during BIND building? One of necessary options should be --enable-threads if you build BIND under FreeBSD 7.0. +-------------------------------------------+ ! CANMOS ISP Network ! +-------------------------------------------+ ! Best regards ! ! Igor V. Ruzanov, network operational staff! ! e-Mail: igorr@canmos.ru ! +-------------------------------------------+
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 |
Hi, I gave up and installed Debian (etch ) on other machine. I've tried FreeBSD 7.0 amd64 on blade machine also and it didn't work perfectly. On the same machine with Debian on board problems stopped. The most strange thing is that on other servers with FreeBSD 4.8 Stable everything works perfectly without problems even after bind upgrade. It looks like Bind and FreeBSD > 6.x have problems or maybe something is wrong with my machines. But how to explain that other system on the same machine works fie ? Best regards, Sebastian Tymk?w