From owner-freebsd-ipfw@FreeBSD.ORG Mon Dec 18 05:05:37 2006 Return-Path: X-Original-To: freebsd-ipfw@freebsd.org Delivered-To: freebsd-ipfw@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A687A16A407 for ; Mon, 18 Dec 2006 05:05:37 +0000 (UTC) (envelope-from infofarmer@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.189]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D47F43C9F for ; Mon, 18 Dec 2006 05:04:20 +0000 (GMT) (envelope-from infofarmer@gmail.com) Received: by nf-out-0910.google.com with SMTP id x37so1737850nfc for ; Sun, 17 Dec 2006 21:04:12 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references:x-google-sender-auth; b=n5vxD/FciCr3h2EwquwUBM0ppdBHOx23DsiIXASGcLcbpAgYdvWMYLd3ZyaUqw615EzwpPH44Mm+YwF0nOiw7xn2v+XZbM0Y4aHG5xMNZvbzVWnuk26S5bntKVVoLz25smoKJ+C+DvrUmaxuWa+R4m7QPiTkO/wK9wIXFKvVT1o= Received: by 10.78.166.7 with SMTP id o7mr2608373hue.1166416660318; Sun, 17 Dec 2006 20:37:40 -0800 (PST) Received: by 10.78.167.16 with HTTP; Sun, 17 Dec 2006 20:37:40 -0800 (PST) Message-ID: Date: Mon, 18 Dec 2006 07:37:40 +0300 From: "Andrew Pantyukhin" Sender: infofarmer@gmail.com To: Looza In-Reply-To: <7922408.post@talk.nabble.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7922408.post@talk.nabble.com> X-Google-Sender-Auth: efe436986f2cd81e Cc: freebsd-ipfw@freebsd.org Subject: Re: problem simulating a LFN X-BeenThere: freebsd-ipfw@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: IPFW Technical Discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Dec 2006 05:05:37 -0000 On 12/18/06, Looza wrote: > My first question is if anyone knows off some way to > get the processing out of the CPU so that I can achieve > gigabit speeds without ? Like you already noticed, better NICs help. BTW, which ones do you have? See drivers' manpages for info about hardware offloading. Also, have a look at polling(4), it might (or might not) help. > My second question is if there is a way of setting the > ipfw delay option so that it does not alter the throughput? You'll have to read ipfw(8) for that. In short, you might have to increase the queue size so that it can hold 100ms worth of traffic.