From owner-freebsd-net@FreeBSD.ORG Sat Feb 26 04:12:35 2011 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5BFC11065714 for ; Sat, 26 Feb 2011 04:12:35 +0000 (UTC) (envelope-from beezarliu@yahoo.com.cn) Received: from nm30-vm0.bullet.mail.ac4.yahoo.com (nm30-vm0.bullet.mail.ac4.yahoo.com [98.139.52.250]) by mx1.freebsd.org (Postfix) with SMTP id 8BFEC8FC0A for ; Sat, 26 Feb 2011 04:12:34 +0000 (UTC) Received: from [98.139.52.195] by nm30.bullet.mail.ac4.yahoo.com with NNFMP; 26 Feb 2011 03:59:28 -0000 Received: from [74.6.228.39] by tm8.bullet.mail.ac4.yahoo.com with NNFMP; 26 Feb 2011 03:59:28 -0000 Received: from [127.0.0.1] by smtp108.mail.ac4.yahoo.com with NNFMP; 26 Feb 2011 03:59:28 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com.cn; s=s1024; t=1298692768; bh=I1Vb9Tu4hkKF+c8M3gz6GH4G6orsc+l0yduqUeIqm00=; h=X-Yahoo-Newman-Id:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Date:From:To:Cc:References:Subject:Message-ID:X-mailer:Mime-Version:Content-Type:Content-Transfer-Encoding; b=IC4xm2bQFFHdaJXJxNzWCkzclWAcYPKxW0sdejSn/fLAG5xRyxlNTmN91tPgXcSwebL9P7PQq3aZaxmn8q1LvOfhZlFrjo16qg/cq0EX3K1Sn/KFVH51S3Da/gUdVnCNd3dyXRUOYtlzkSum2dE0idVPuGPW1a1rpf+GlsEppNM= X-Yahoo-Newman-Id: 887265.68418.bm@smtp108.mail.ac4.yahoo.com Received: from china (beezarliu@221.137.121.170 with login) by smtp108.mail.ac4.yahoo.com with SMTP; 25 Feb 2011 19:59:28 -0800 PST X-Yahoo-SMTP: YP5UPy2swBBHZGZlvbmOrntlD3fotw-- X-YMail-OSG: NFCGwakVM1knCbYnavroo78sfAXWMaApD7I1Ej5b_4nyGdJ oytU3PHe5p21evi6FDXt0DihXK4ygOt_jWA5sfwX7iejmtMYbzemS1uWrlkK zCPMFKqe8wJFdL7KQ0TY0tYYPfAT_Fk6X3KCFNIAMWZhBi02Mgovdk0QhX.J BiXMu3FBS9nNZteZ9ySubMoDSYJ5x2a0nZ2G_N6EQIWUAjVvrBISP4WUfCYe pNv8MeJc5VKxpAKRpYBxaPxt6BZkXho8tO232P9cc2MwxgYAq3alsE8tqe18 sbEsTF.yGq12deJzbiEk6NnVCA4zNT1OGZemclCmnuY0VuhJfQmU- X-Yahoo-Newman-Property: ymail-3 Date: Sat, 26 Feb 2011 11:59:26 +0800 From: "beezarliu" To: "Arnaud Lacombe" References: , <201102231218136253955@yahoo.com.cn>, , <201102231404144686577@yahoo.com.cn>, , Message-ID: <201102261159157631491@yahoo.com.cn> X-mailer: Foxmail 6, 10, 201, 20 [cn] Mime-Version: 1.0 Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: 7bit Cc: "freebsd-net@freebsd.org" , Jack Vogel , "bug-followup@FreeBSD.org" Subject: Re: Re: Re: kern/150516: [em] e1000 receive queue handling problem 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, 26 Feb 2011 04:12:35 -0000 On 2011-02-26 07:52:54, Arnaud Lacombe wrote: >Hi, > >What is the point to invent a complex logic to detected a situation >the chip warn you about ? > >The attached patch has currently survived longer than anything I've >been ever tested, without dirty hack, like raising `nmbclusters'. Sorry, I didn't 'invent' the logic, it's just what rx ring queue works in hardware. You provided another way to detect the hang, which doesn't mean others are meaningless. Raising nmbcluster is not best way, but it can ease the memory shortage, and allcate more for network, which also improve system performance. Beezar