From owner-freebsd-performance@FreeBSD.ORG Sun Mar 19 13:22:29 2006 Return-Path: X-Original-To: freebsd-performance@freebsd.org Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C38C16A401 for ; Sun, 19 Mar 2006 13:22:29 +0000 (UTC) (envelope-from sthalik@tehran.lain.pl) Received: from tehran.lain.pl (tehran.lain.pl [85.221.230.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id A5A2A43D45 for ; Sun, 19 Mar 2006 13:22:28 +0000 (GMT) (envelope-from sthalik@tehran.lain.pl) Received: from sthalik by tehran.lain.pl with local (envelope-from ) id 1FKxrU-000H4S-EU for freebsd-performance@freebsd.org; Sun, 19 Mar 2006 14:22:24 +0100 Date: Sun, 19 Mar 2006 14:22:24 +0100 From: Stanislaw Halik To: freebsd-performance@freebsd.org Message-ID: <20060319132224.GA57147@tehran.lain.pl> Mail-Followup-To: freebsd-performance@freebsd.org References: <000a01c64a81$45eb6850$0201a8c0@oxy> <441BFF26.90807@mac.com> <000e01c64a8f$1b2bec80$0201a8c0@oxy> <000401c64a91$c3962c30$0201a8c0@oxy> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <000401c64a91$c3962c30$0201a8c0@oxy> X-PGP-Key: http://tehran.lain.pl/public.key User-Agent: Mutt/1.5.11 Sender: Stanislaw Halik Subject: Re: packet drop with intel gigabit / marwell gigabit X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Mar 2006 13:22:29 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Mar 18, 2006, OxY wrote: > i increased hz from 2000 to 5000, now the packet loss is decreased > from 5-6% to 0.6-0,8% !!! > huge improve! > should i increase hz more? won't increasing HZ over 1000 break TCP support? from <20051216134759.795206f3.dokas@oitsec.umn.edu> on freebsd-pf@: #v+ > So it's not that far off, the server seems to increment timestamps at > 0.5 ms per tick (2 kHz), instead of the RFC mandated 1 ms (1 kHz). [...] Bingo (I think). I found the following in the firewall's kernel config: =20 options HZ=3D2000 #v- regards, --=20 w. --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) iD8DBQFEHVsQadU+vjT62TERArLqAJsGL82w09FgGuBBusLj8F9GayqhYQCfXXP+ mXWt0ua0UKlN+kDByCvF9+I= =fBGq -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--