From owner-freebsd-stable@FreeBSD.ORG Tue Aug 5 11:37:54 2008 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F366C1065678 for ; Tue, 5 Aug 2008 11:37:53 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.120.27]) by mx1.freebsd.org (Postfix) with ESMTP id B08CE8FC12 for ; Tue, 5 Aug 2008 11:37:53 +0000 (UTC) (envelope-from igorr@canmos.ru) Received: from sta1.canmos.ru (sta1.canmos.ru [89.107.120.27]) by sta1.canmos.ru (Postfix) with ESMTP id 980F612734A; Tue, 5 Aug 2008 15:04:50 +0400 (MSD) Date: Tue, 5 Aug 2008 15:04:50 +0400 (MSD) From: "Igor V. Ruzanov" To: Vinny Abello In-Reply-To: <15CEC87F00BB7B4CA0E904C5FCF05646243E8601@exchangenj1> Message-ID: References: <15CEC87F00BB7B4CA0E904C5FCF05646243E8601@exchangenj1> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: "freebsd-stable@freebsd.org" , "bind-users@isc.org" Subject: Re: Query timeouts on FreeBSD 7 over network X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Aug 2008 11:37:54 -0000 > 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 ! +-------------------------------------------+