From owner-freebsd-net@FreeBSD.ORG Sat Oct 28 15:21:10 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0A47716A407; Sat, 28 Oct 2006 15:21:10 +0000 (UTC) (envelope-from scottl@samsco.org) Received: from pooker.samsco.org (pooker.samsco.org [168.103.85.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 67E1643D75; Sat, 28 Oct 2006 15:21:03 +0000 (GMT) (envelope-from scottl@samsco.org) Received: from [192.168.254.11] (phobos.samsco.home [192.168.254.11]) (authenticated bits=0) by pooker.samsco.org (8.13.4/8.13.4) with ESMTP id k9SFKkBc019235; Sat, 28 Oct 2006 09:20:52 -0600 (MDT) (envelope-from scottl@samsco.org) Message-ID: <4543754F.2070005@samsco.org> Date: Sat, 28 Oct 2006 09:20:47 -0600 From: Scott Long User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X; en-US; rv:1.8.0.7) Gecko/20060910 SeaMonkey/1.0.5 MIME-Version: 1.0 To: Mikhail Teterin References: <200610211300.09476@aldan> <20061021173358.GC75694@cell.sick.ru> <200610280030.12319@aldan> In-Reply-To: <200610280030.12319@aldan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.4 required=3.8 tests=ALL_TRUSTED autolearn=failed version=3.1.1 X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on pooker.samsco.org Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org, jfvogel@gmail.com Subject: Re: new em-driver still broken 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: Sat, 28 Oct 2006 15:21:10 -0000 Mikhail Teterin wrote: > On Saturday 21 October 2006 13:33, Gleb Smirnoff wrote: > = We aren't currently speaking about performance, we need to know whether > = kernel with DEVICE_POLLING option makes NIC work stable. > > Having noticed today's em-driver update, I rebuilt world/kernel and tried the > dump-test again. > > The kernel had the DEVICE_POLLING option in it, but polling was not, actually, > enabled on em0. > > With three simultanious dumps arriving, the system-component of the load was > 40-50%: > > 2 users Load 2.64 0.98 0.41 28 ??? 00:13 > > Mem:KB REAL VIRTUAL VN PAGER SWAP PAGER > Tot Share Tot Share Free in out in out > Act 109936 30080 196064 42464 1642672 count > All 366172 32684 1413555k 48140 pages > Interrupts > Proc:r p d s w Csw Trp Sys Int Sof Flt cow 6720 total > 3 55 9736 151241k19989 47 232248 wire irq1: atkb > 79108 act irq6: fdc0 > 35.8%Sys 4.5%Intr 59.7%User 0.0%Nice 0.0%Idl 60372 inact irq15: ata > | | | | | | | | | | 276 cache irq17: fwo > ==================++>>>>>>>>>>>>>>>>>>>>>>>>>>>> 1642396 free irq20: nve > daefr irq21: ohc > Namei Name-cache Dir-cache prcfr irq22: ehc > Calls hits % hits % react 2710 irq25: em0 > 229 229 100 pdwak 24 irq29: amr > zfod pdpgs 1993 cpu0: time > Disks ad4 ad6 amrd0 ozfod intrn 1993 cpu1: time > KB/t 0.00 0.00 128 %slo-z 221184 buf > tps 0 0 12 4 tfree 22 dirtybuf > MB/s 0.00 0.00 1.49 100000 desiredvnodes > % busy 0 0 30 2409 numvnodes > > It was working... > > Then I entered the following shell command: > > % (ifconfig em0 polling; sleep 179; ifconfig em0 -polling) & > > Hoping, that, even if polling causes problems, three minutes later it will > turn back off automatically. > > Unfortunately, the machine dropped off the network immediately and is not > coming back. I'll get to its console on Monday, but something is still very > wrong with the em-driver :-( > > -mi So the driver works fine for you so long as you don't try to change the polling parameter while it's running? Scott