From owner-freebsd-performance@FreeBSD.ORG Wed Dec 28 08:22:49 2005 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 C25F216A41F for ; Wed, 28 Dec 2005 08:22:49 +0000 (GMT) (envelope-from oxy@field.hu) Received: from dumballah.tvnet.hu (dumballah.tvnet.hu [195.38.96.23]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C4DF43D5C for ; Wed, 28 Dec 2005 08:22:48 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 3A346101815 for ; Wed, 28 Dec 2005 09:22:47 +0100 (CET) Received: from dumballah.tvnet.hu ([127.0.0.1]) by localhost (dumballah.tvnet.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 09110-37 for ; Wed, 28 Dec 2005 09:22:45 +0100 (CET) Received: from oxy (dsl217-197-189-131.pool.tvnet.hu [217.197.189.131]) by dumballah.tvnet.hu (Postfix) with SMTP id 8D7C1101777 for ; Wed, 28 Dec 2005 09:22:45 +0100 (CET) Message-ID: <000901c60b87$e40b8ad0$0201a8c0@oxy> From: "OxY" To: Date: Wed, 28 Dec 2005 09:22:49 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-Virus-Scanned: by amavisd-new at tvnet.hu Subject: em0 and tunnel performance problem 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: Wed, 28 Dec 2005 08:22:49 -0000 hi! i have an intel etherexpress gigabit card on 100mbit port and fbsd 6.0-p1.. my box is a proxy, it's traffic is 100/100mbit constant.. unfortunately i have to use tunnel and that is the source of my problem. when i enable the tunnel and the packages are going through it the performance is poor.. it seems that it's not full duplex, the speed is around 50/50mbit, and have 10-15% packet loss.. i tried to enable/disable polling, and used these sysctl vars: kern.polling.enable=1 kern.ipc.somaxconn=2048 net.inet.tcp.inflight.enable=0 net.inet.ip.portrange.randomized=0 net.inet.tcp.sendspace=65536 kern.ipc.maxsockbuf=786432 net.inet.tcp.delayed_ack=0 net.inet.tcp.newreno=0 net.inet.ip.intr_queue_maxlen=1024 net.inet.tcp.blackhole=2 net.inet.udp.blackhole=1 net.inet.ip.rtmaxcache=1024 without tunnel the speed is 100/100mbit, great. ps: with linux its all OK, but i wanna use fbsd :)