|
|
发表于 2006-3-4 22:52:07
|
显示全部楼层
刚才查了一下,找到下面一段:
I get the error 'too much work in interrupt'
This is because the network card is getting lots of packets. There are a few things you can try. First, build the driver with NAPI support (if it isn't on by default). NAPI means the driver will do the receive processing at soft IRQ, not at the low level interrupt.
If the driver doesn't support NAPI, you can try to increase the amount of work a driver will attempt to do in an interrupt. For 3c59x this is done with the option max_interrupt_work (so add something like 'options 3c59x max_interrupt_work=10000' to your /etc/modules.conf file), other cards might have similar options.
max_interrupt_work说明:
max_interrupt_work=work-limit
This option selects the maximum amount of work handled during each interrupt. Each received packet counts as one unit of work, as does updating statistics counters and handling errors. The default is 32. |
|