From owner-freebsd-performance@FreeBSD.ORG Wed Dec 28 12:38:35 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 ACAA716A41F for ; Wed, 28 Dec 2005 12:38:35 +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 CC90B43D68 for ; Wed, 28 Dec 2005 12:38:34 +0000 (GMT) (envelope-from oxy@field.hu) Received: from localhost (localhost.localdomain [127.0.0.1]) by dumballah.tvnet.hu (Postfix) with ESMTP id 2EC0D1019CF for ; Wed, 28 Dec 2005 13:38:33 +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 08910-27 for ; Wed, 28 Dec 2005 13:38:32 +0100 (CET) Received: from oxy (dsl217-197-189-131.pool.tvnet.hu [217.197.189.131]) by dumballah.tvnet.hu (Postfix) with SMTP id C6A621019CB for ; Wed, 28 Dec 2005 13:38:32 +0100 (CET) Message-ID: <000401c60bab$9fd494a0$0201a8c0@oxy> From: "OxY" To: References: <000901c60b87$e40b8ad0$0201a8c0@oxy> Date: Wed, 28 Dec 2005 13:38:37 +0100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-2"; reply-type=response 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: Re: 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 12:38:35 -0000 after digging deeper it found out that the whole em0 driver worth nothing... when i set the media to auto it's operating in half duplex (i found out after a couple of benchmarks with iperf), when i set it to 100basetx and full duplex manually the result is worse... any idea? ----- Original Message ----- From: "OxY" To: Sent: Wednesday, December 28, 2005 9:22 AM Subject: em0 and tunnel performance problem > 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 :) > > _______________________________________________ > freebsd-performance@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-performance > To unsubscribe, send any mail to > "freebsd-performance-unsubscribe@freebsd.org"