From owner-freebsd-stable@FreeBSD.ORG Wed Nov 7 19:30:54 2007 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 49C7E16A477 for ; Wed, 7 Nov 2007 19:30:54 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.187]) by mx1.freebsd.org (Postfix) with ESMTP id D007E13C4C1 for ; Wed, 7 Nov 2007 19:30:50 +0000 (UTC) (envelope-from jfvogel@gmail.com) Received: by nf-out-0910.google.com with SMTP id b2so1829239nfb for ; Wed, 07 Nov 2007 11:30:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=gmINbnDGR1znlEo6DBm2hxgn7FY6r1KQGezbRMgg+08=; b=VXyXWalAI/1YooVTjfWEMfRekc00euJlABdiXr7KXlp8mtqd1chzE4VTOutFbFeHI28rrM2HPbsas8Bk1IVEFjMjWrYqzBHrdHUKgSdfNron5LYMT58js1uLS2+DsZVUxFlQZfr7QCQyWL0DzWagOXIOmSbY+mLm0P7F0v5IlY8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ome+8C2lTz1zb4dMVa/B9hbC7tka+iSdfDp36T9vnhI8Z7eUGwDhcECgJhxemazjPc/xAMua5PWzW+1SF96vmBxvU5bfog5An/ypbN2gdwLYtIAOvBIuGTO6L0RjwJ+xyiOR794hs2iRVYHPUyj873CBLwl/gk1aOZK2s2ET/dw= Received: by 10.86.60.7 with SMTP id i7mr5492860fga.1194463840422; Wed, 07 Nov 2007 11:30:40 -0800 (PST) Received: by 10.86.100.19 with HTTP; Wed, 7 Nov 2007 11:30:40 -0800 (PST) Message-ID: <2a41acea0711071130yc7f4baaqa110c6cf07630154@mail.gmail.com> Date: Wed, 7 Nov 2007 11:30:40 -0800 From: "Jack Vogel" To: "Igor Sysoev" In-Reply-To: <20071107095524.GD908@rambler-co.ru> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20071012121545.GA78201@rambler-co.ru> <20071107091806.GA361@rambler-co.ru> <20071107095524.GD908@rambler-co.ru> Cc: freebsd-stable@freebsd.org Subject: Re: em driver 6.6.6 regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 19:30:54 -0000 On 11/7/07, Igor Sysoev wrote: > On Wed, Nov 07, 2007 at 12:18:06PM +0300, Igor Sysoev wrote: > > > On Fri, Oct 12, 2007 at 04:15:46PM +0400, Igor Sysoev wrote: > > > > > Yesterday I have cvsup'ed FreeBSD on ThinkPad T42 to RELENG_6 > > > "2007.10.10.23.59.59" and have noticed lags while playing mp3 and browsing. > > > I have suspected new em driver, because there was no lags if wifi iwi0 > > > was used instead of em0 for network. So I had downgraded the em driver > > > separately to 6.2.9 version, have build a kernel loadable module, and have > > > loaded it instead of the 6.6.6 module, and the lags have disappeared. > > > > > > The lags appeares only if browser (Firefox, Opera) does several requests: > > > main page, js, images. There are no lags if browser reload simple page. > > > Also, I could not reproduce lags by other network traffic: pings, ssh, scp, > > > downloading files. There are no lags if I compile and so on. > > > > > > Some additional info: > > > > > > The shared irq11 is used by pcm0, em0, iwi0, CardBus, USB, and acpi_video0. > > > > > > em0@pci2:1:0: class=0x020000 card=0x05491014 chip=0x101e8086 rev=0x03 hdr=0x00 > > > vendor = 'Intel Corporation' > > > device = '82540EP Gigabit Ethernet Controller (Mobile)' > > > > I just cvsup'ed to the new em 6.7.2 version without FAST interrupt and > > lags in sound and USB mouse has gone. Thank you. > > However, if I define EM_FAST_IRQ, then lags appear again. So don't define it, thats why I did this :) If you have a server class machine with MSI or MSIX then I would try turning FAST on, but if not leave it set for what works. Cheers, Jack