kern/150516: [em] e1000 receive queue handling problem

beezarliu beezarliu at yahoo.com.cn
Sat Feb 26 04:12:35 UTC 2011


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




More information about the freebsd-net mailing list