From owner-freebsd-current@FreeBSD.ORG Sun Sep 23 09:31:59 2007 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A534816A41A for ; Sun, 23 Sep 2007 09:31:59 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: from corpmail.itlegion.ru (corpmail.itlegion.ru [84.21.226.211]) by mx1.freebsd.org (Postfix) with SMTP id E5E4E13C447 for ; Sun, 23 Sep 2007 09:31:58 +0000 (UTC) (envelope-from matrix@itlegion.ru) Received: (qmail 67536 invoked from network); 23 Sep 2007 13:31:56 +0400 Received: from unknown (HELO Artem) (192.168.0.12) by 84.21.226.211 with SMTP; 23 Sep 2007 13:31:56 +0400 X-AntiVirus: Checked by Dr.Web [version: 4.33, engine: 4.33.5.10110, virus records: 254176, updated: 22.09.2007] Message-ID: <003201c7fdc4$948749a0$0c00a8c0@Artem> From: "Artem Kuchin" To: "Jack Vogel" References: <01c801c7fc7a$696ab900$0c00a8c0@Artem><2a41acea0709211359w37ba779dsec94de504a9f4a9c@mail.gmail.com><019101c7fd3d$cd15f870$0c00a8c0@Artem> <2a41acea0709221647o3cdcb72pf6194c54782c61fb@mail.gmail.com> Date: Sun, 23 Sep 2007 13:31:50 +0400 Organization: IT Legion MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="ISO-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.3138 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138 Cc: freebsd-current@freebsd.org Subject: Re: TSP on em makes send of streams very slow X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 23 Sep 2007 09:31:59 -0000 Jack Vogel wrote: > On 9/22/07, Artem Kuchin wrote: >>> TSO is for some environments, it isn't gonna be useful at 100Mb >>> (which you are), it can be useful at 1Gb but not always, when you >>> get to 10G its >>> a HUGE benefit. >>> >>> Just cuz you can shoot yourself in the foot doesn't mean the gun >>> has a problem :) >> >> But wait, i did not shoot myself. I have been shot by the driver w/o >> any preliminary warning. TSO4 was enabled by DEFAULT (i did not >> enable it), >> so anybody can be in my place if used the same driver on the similar >> hardware (which is plenty). >> >> So, i think this is a problem which really need to be addressed. > > It is on by default because it the majority of cases its a benefit, > you found it to be a problem and turned it off, your problem is > solved. > > I admit, at one point I considered disabling it automatically for > anything under Gig speed, but a large community has used this driver > with this feature for over a year, no one has lobbied to have to > disabled, so I have not. > > If there are others who think this would be a good idea, speak up, and > I will do so. > Disable it by default is not actually the point. There are three points: 1) I have wasted half a work day to figure it all out 2) I expect at least network part of *FREEBSD* OS to work right out of the box 3) Even having it enabled must not cause drop to 800 bytes/second on send. This is clearly a bug. I don;t know if it is hardware of software bug but it must be addressed in the driver anyway. Or, as an option there must be a big waving banner somewhere where noone can miss it saying: "If you have crazy drop in network send perfomance disable TSO on your NIC via ifconfig". -- Regards, Artem