From owner-freebsd-questions@FreeBSD.ORG Sat Jan 7 10:44:47 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 77C2916A41F for ; Sat, 7 Jan 2006 10:44:47 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id F1BD543D45 for ; Sat, 7 Jan 2006 10:44:46 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so3633638nzo for ; Sat, 07 Jan 2006 02:44:46 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=T9GQkAzN+EyMuTSqCfR2r2NxwhCbodI5oQVAO0lSQmALEzADQww4bU6zGHxolQOfhZHWqWwXxrcem0XaCLksg9B91SUTti2rm4qLf11MFYZ1ADrXKACAPtO/ypwUZshvKVek8eHqN1iKqJaog/FmDQANpqwMHz5XcZC75P4KMdo= Received: by 10.36.227.5 with SMTP id z5mr9662982nzg; Sat, 07 Jan 2006 02:44:46 -0800 (PST) Received: by 10.37.20.67 with HTTP; Sat, 7 Jan 2006 02:44:46 -0800 (PST) Message-ID: Date: Sat, 7 Jan 2006 13:44:46 +0300 From: "Andrew P." To: ann kok In-Reply-To: <20060107035710.15466.qmail@web53305.mail.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <20060107035710.15466.qmail@web53305.mail.yahoo.com> Cc: freebsd-questions@freebsd.org Subject: Re: pls help network thoughput X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2006 10:44:47 -0000 On 1/7/06, ann kok wrote: > Dear Andrew > > Thank you for your help in advance > > I keep checking the loading. it is running fine. the > load averages is not over to 1.0 > > > System info: > Intel(R) Pentium(R) 4 CPU 3.00GHz > 2G memory > > for the sysctl var: > > kern.polling.enable=3D1 > kern.polling.user_frac=3D10 > kern.ipc.somaxconn=3D2048 > kern.polling.poll_in_trap=3D1 > > I don't run iperf and my switch is not managable. > > could you provide any hints to check it? > > and tune the system also. > > Thank you again > > > > last pid: 47008; load averages: 0.00, 0.02, 0.02 > up > 80+11:09:17 22:42:18 > 31 processes: 1 running, 30 sleeping > CPU states: % user, % nice, % system, > % interrupt, % idle > Mem: 100M Active, 1639M Inact, 201M Wired, 60M Cache, > 199M Buf, 11M Free With such a high-spec box, you should probably be running FreeBSD 6. It has much more polling related sysctl tunable. We've got too FreeBSD 5 firewalls at our site (which are doing just fine), and I'm gonna upgrade them to 6.0 one of these days. Look at "netstat -s" to see how many packets are "broken". Maybe your switch/cabling can't cope with the load. Where are the figures from the top output. I only see percent signs. Try running iperf. It's really easy. Just install the port on two boxes, run iperf -s on one and iperf -c on the other.