From owner-freebsd-net@FreeBSD.ORG Sat Oct 28 04:30:15 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 E063316A407; Sat, 28 Oct 2006 04:30:14 +0000 (UTC) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31CDE43D45; Sat, 28 Oct 2006 04:30:14 +0000 (GMT) (envelope-from mi+kde@aldan.algebra.com) Received: from aldan.algebra.com (aldan [127.0.0.1]) by aldan.algebra.com (8.13.8/8.13.7) with ESMTP id k9S4UD15082981 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 28 Oct 2006 00:30:13 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.13.8/8.13.7/Submit) id k9S4UCHP082980; Sat, 28 Oct 2006 00:30:12 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Gleb Smirnoff Date: Sat, 28 Oct 2006 00:30:11 -0400 User-Agent: KMail/1.9.1 References: <200610211300.09476@aldan> <20061021173358.GC75694@cell.sick.ru> In-Reply-To: <20061021173358.GC75694@cell.sick.ru> X-Face: %UW#n0|w>ydeGt/b@1-.UFP=K^~-:0f#O:D7whJ5G_<5143Bb3kOIs9XpX+"V+~$adGP:J|SLieM31VIhqXeLBli" Cc: freebsd-net@freebsd.org, freebsd-stable@freebsd.org, jfvogel@gmail.com Subject: new em-driver still broken (was: Re: em network issues) 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 04:30:15 -0000 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