Re: Fwd: Re: e1000 1sec latency problem

Previous thread: [patch] crypto test build failure by Frederik Deweerdt on Saturday, February 9, 2008 - 3:52 pm. (2 messages)

Next thread: [git pull] kgdb light by Ingo Molnar on Saturday, February 9, 2008 - 4:42 pm. (2 messages)
To: <e1000-devel@...>, <linux-kernel@...>
Date: Saturday, February 9, 2008 - 4:00 pm

Just for the records, I googled the following solution for the Lenovo T60:

(a) use the e1000 driver
(b) if compiling as a module, add the following parameter to modprobe.conf:
options e1000 RxIntDelay=5
(c) if compiling a static driver, use the following patch (based on 2.6.24):

--- e1000_param.c.orig 2008-01-24 23:58:37.000000000 +0100
+++ e1000_param.c 2008-02-09 20:42:23.000000000 +0100
@@ -158,7 +158,7 @@
* Valid Range: 0-65535
*/
E1000_PARAM(RxIntDelay, "Receive Interrupt Delay");
-#define DEFAULT_RDTR 0
+#define DEFAULT_RDTR 5
#define MAX_RXDELAY 0xFFFF
#define MIN_RXDELAY 0

After reboot, the average ping time is still factor 10 worse than it should
be, but it stays below 2 ms (which is a remarkable improvement compared to
1000 ms).

Martin
--

To: Martin Rogge <marogge@...>
Cc: <e1000-devel@...>, <linux-kernel@...>
Date: Saturday, February 9, 2008 - 5:51 pm

correct, this was a workaround which improved things for most people, but did not
*fix* it.

the real fix is to disable L1 ASPM alltogether at the cost of more power
consumption, which is what is in e1000e in 2.6.25-git.

Cheers,

Auke

--

To: Kok, Auke <auke-jan.h.kok@...>
Cc: Martin Rogge <marogge@...>, <e1000-devel@...>, <linux-kernel@...>
Date: Saturday, February 9, 2008 - 6:01 pm

e1000e doesn't recognize his NIC. Will you be adding this to the e1000
driver as well?
--

To: Ray Lee <ray-lk@...>
Cc: Kok, Auke <auke-jan.h.kok@...>, Martin Rogge <marogge@...>, <e1000-devel@...>, <linux-kernel@...>
Date: Saturday, February 9, 2008 - 7:38 pm

no, from 2.6.25 onwards e1000e will support 82573 nics, so you'll have to migrate
drivers, and you will get the fix automatically that way.

after 2.6.25 releases, support for all pci-e nics will be removed from the e1000
driver.

Cheers

Auke
--

Previous thread: [patch] crypto test build failure by Frederik Deweerdt on Saturday, February 9, 2008 - 3:52 pm. (2 messages)

Next thread: [git pull] kgdb light by Ingo Molnar on Saturday, February 9, 2008 - 4:42 pm. (2 messages)