From owner-freebsd-net@FreeBSD.ORG Sun May 4 23:16:47 2008 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0B131065671 for ; Sun, 4 May 2008 23:16:47 +0000 (UTC) (envelope-from oleksandr@samoylyk.sumy.ua) Received: from mail.telesweet.net (news.telesweet.net [194.110.252.16]) by mx1.freebsd.org (Postfix) with ESMTP id 7326C8FC1C for ; Sun, 4 May 2008 23:16:47 +0000 (UTC) (envelope-from oleksandr@samoylyk.sumy.ua) Received: from localhost (localhost [127.0.0.1]) by mail.telesweet.net (Postfix) with ESMTP id 2C7BCBF09; Mon, 5 May 2008 02:16:46 +0300 (EEST) X-Virus-Scanned: by Telesweet Mail Virus Scanner X-Spam-Flag: NO X-Spam-Score: -1.44 X-Spam-Level: X-Spam-Status: No, score=-1.44 tagged_above=-999 required=5 tests=[ALL_TRUSTED=-1.44] Received: from [10.0.0.109] (pigeon-work.telesweet [10.0.0.109]) by mail.telesweet.net (Postfix) with ESMTP id 9EC2CB840; Mon, 5 May 2008 02:16:45 +0300 (EEST) Message-ID: <481E43DD.8080300@samoylyk.sumy.ua> Date: Mon, 05 May 2008 02:16:45 +0300 From: Oleksandr Samoylyk User-Agent: Thunderbird 2.0.0.12 (X11/20080227) MIME-Version: 1.0 To: freebsd-net@freebsd.org References: <481C84B7.6020205@samoylyk.sumy.ua> <481E338D.6040706@samoylyk.sumy.ua> <481E3C32.8000507@gtcomm.net> In-Reply-To: <481E3C32.8000507@gtcomm.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Paul Subject: Re: Troubles with em on FreeBSD 7 X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 May 2008 23:16:47 -0000 Paul wrote: > What is your kernel HZ setting? 1000 > in /boot/loader.conf try adding these two lines: > hw.em.rxd=1024 > hw.em.txd=1024 I've already had: # cat /boot/loader.conf loader_logo="beastie" autoboot_delay="3" hw.em.rxd="4096" hw.em.txd="4096" > and then do this in sysctl.conf: > net.inet.ip.intr_queue_maxlen=1024 - already > net.route.netisr_maxqlen=512 Ok. I just increased from default 256 up to 512 > kern.ipc.maxsockbuf=8388608 It was already higher > kern.ipc.nmbclusters=128000 Ok, I just increased nmbclusters. > > I think this should fix your packet loss problem. Are you doing ip > forwarding at all? If so use: > net.inet.ip.fastforwarding=1 It was already in my sysctl.conf -- Oleksandr Samoylyk OVS-RIPE