Bad network performance over 2Gbps
Subsystems (2)
Quoted 6 lines · Auke
[X86] IRQBALANCE: Mark as BROKEN and disable by default
The IRQBALANCE option causes interrupts to bounce all around on SMP systems quickly burying the CPU in migration cost and cache misses. Mainly affected are network interrupts and this results in one CPU pegged in softirqd completely.
If this is the problem, maybe it would help to only balance the IRQs each e.g. ten seconds? Unfortunately I have no SMP system to try it out.
Quoted 6 lines · Auke
[X86] IRQBALANCE: Mark as BROKEN and disable by default
The IRQBALANCE option causes interrupts to bounce all around on SMP systems quickly burying the CPU in migration cost and cache misses. Mainly affected are network interrupts and this results in one CPU pegged in softirqd completely.
If this is the problem, maybe it would help to only balance the IRQs each e.g. ten seconds? Unfortunately I have no SMP system to try it out.
Quoted 11 lines · Bodo Eggert
Quoted 7 lines · Auke
[X86] IRQBALANCE: Mark as BROKEN and disable by default
The IRQBALANCE option causes interrupts to bounce all around on SMP systems quickly burying the CPU in migration cost and cache misses. Mainly affected are network interrupts and this results in one CPU pegged in softirqd completely.
Quoted 9 lines
If this is the problem, maybe it would help to only balance the IRQs each e.g. ten seconds? Unfortunately I have no SMP system to try it out.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
The kernel level IRQBALANCE is useless. The userlevel irqbalance does the right thing, it handles multi-core, and network devices, and all the other special cases. *Don't use kernel level irqbalance*
Quoted 5 lines · Bodo Eggert
Quoted 2 lines · Auke
[X86] IRQBALANCE: Mark as BROKEN and disable by default
Quoted 8 lines
Quoted 4 lines
The IRQBALANCE option causes interrupts to bounce all around on SMP systems quickly burying the CPU in migration cost and cache misses. Mainly affected are network interrupts and this results in one CPU pegged in softirqd completely.
If this is the problem, maybe it would help to only balance the IRQs each e.g. ten seconds? Unfortunately I have no SMP system to try it out.
Be it kernel or user space, for consistent benchmark results it needs to be able to be turned-off without turning the code. That leaves me in agreement with Stephen that if it must exist, the user space one would be preferable. It can be easily terminated with extreme prejudice.
rick jones
Quoted 13 lines · Rick Jones
Quoted 12 lines · Bodo Eggert
Quoted 8 lines · Auke
[X86] IRQBALANCE: Mark as BROKEN and disable by default
The IRQBALANCE option causes interrupts to bounce all around on SMP systems
quickly burying the CPU in migration cost and cache misses. Mainly affected
are network interrupts and this results in one CPU pegged in softirqd completely.
Quoted 7 lines
Quoted 2 lines
If this is the problem, maybe it would help to only balance the IRQs each e.g. ten seconds? Unfortunately I have no SMP system to try it out.
Be it kernel or user space, for consistent benchmark results it needs to be able to be turned-off without turning the code. That leaves me in agreement with Stephen that if it must exist, the user space one would be preferable. It can be easily terminated with extreme prejudice.
I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's kernel stack, why not?
Signature · 2 lines
Funny quotes: 31. Why do "overlook" and "oversee" mean opposite things?
Quoted 10 lines · Bodo Eggert
Quoted 4 lines · Rick Jones
Be it kernel or user space, for consistent benchmark results it needs to be able to be turned-off without turning the code. That leaves me in agreement with Stephen that if it must exist, the user space one would be preferable. It can be easily terminated with extreme prejudice.
I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's
kernel stack, why not?
Perhaps my judgement is too colored by benchmark(et)ing, and desires to have repeatable results on things like neperf, but I very much like to know where my interrupts are going and don't like them moving around. That is why I am not particularly fond of either flavor of irq balancing.
That being the case, whatever is out there aught to be able to be disabled on a running system without having to roll bits or reboot.
rick jones
Quoted 17 lines · Rick Jones
Quoted 11 lines · Bodo Eggert
Quoted 7 lines · Rick Jones
Be it kernel or user space, for consistent benchmark results it needs to be
able to be turned-off without turning the code. That leaves me in agreement
with Stephen that if it must exist, the user space one would be preferable.
It can be easily terminated with extreme prejudice.Quoted 4 lines
I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's kernel stack, why not?
Quoted 7 lines
Perhaps my judgement is too colored by benchmark(et)ing, and desires to have repeatable results on things like neperf, but I very much like to know where my interrupts are going and don't like them moving around. That is why I am not particularly fond of either flavor of irq balancing.
That being the case, whatever is out there aught to be able to be disabled on a running system without having to roll bits or reboot.
Adding a "module" parameter to disable it should be cheap, isn't it?
Signature · 3 lines
Top 100 things you don't want the sysadmin to say:
34. The network's down, but we're working on it. Come back after diner.
(Usually said at 2200 the night before thesis deadline... )Quoted 21 lines · Bodo Eggert
Quoted 20 lines · Rick Jones
Quoted 10 lines · Bodo Eggert
Quoted 7 lines · Rick Jones
Be it kernel or user space, for consistent benchmark results it needs to be
able to be turned-off without turning the code. That leaves me in agreement
with Stephen that if it must exist, the user space one would be preferable.
It can be easily terminated with extreme prejudice.Quoted 4 lines
I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's kernel stack, why not?
Perhaps my judgement is too colored by benchmark(et)ing, and desires to have repeatable results on things like neperf, but I very much like to know where my interrupts are going and don't like them moving around. That is why I am not particularly fond of either flavor of irq balancing.
Quoted 4 lines
Quoted 2 lines
That being the case, whatever is out there aught to be able to be disabled on a running system without having to roll bits or reboot.
Adding a "module" parameter to disable it should be cheap, isn't it?
Except the irq balancing is system-wide. Adding per-device exemptions to an obsolete feature seems like the wrong way to go.
-- Chris
Quoted 22 lines · Chris Snook
Quoted 21 lines · Bodo Eggert
Quoted 20 lines · Rick Jones
Quoted 10 lines · Bodo Eggert
Quoted 7 lines · Rick Jones
Be it kernel or user space, for consistent benchmark results it needs to be
able to be turned-off without turning the code. That leaves me in agreement
with Stephen that if it must exist, the user space one would be preferable.
It can be easily terminated with extreme prejudice.Quoted 4 lines
I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's kernel stack, why not?
Perhaps my judgement is too colored by benchmark(et)ing, and desires to have repeatable results on things like neperf, but I very much like to know where my interrupts are going and don't like them moving around. That is why I am not particularly fond of either flavor of irq balancing.
Quoted 7 lines
Quoted 4 lines
Quoted 2 lines
That being the case, whatever is out there aught to be able to be disabled on a running system without having to roll bits or reboot.
Adding a "module" parameter to disable it should be cheap, isn't it?
Except the irq balancing is system-wide. Adding per-device exemptions to an obsolete feature seems like the wrong way to go.
No, not a per-device-exemption. My reasoning was: If the IRQ balancer bounces the IRQ too often, doing it less often seems to be the correct solution. One cache miss each ten seconds sounds like it should be OK. As said before, I can't verify this theory.
Quoted 24 lines · Bodo Eggert
Quoted 23 lines · Chris Snook
Quoted 22 lines · Bodo Eggert
Quoted 21 lines · Rick Jones
Quoted 9 lines · Bodo Eggert
Quoted 7 lines · Rick Jones
Be it kernel or user space, for consistent benchmark results it needs to be
able to be turned-off without turning the code. That leaves me in agreement
with Stephen that if it must exist, the user space one would be preferable.
It can be easily terminated with extreme prejudice.Quoted 4 lines
I agree that having a full-featured userspace balancer daemon with lots of intelligence will be theoretically better, but if you can have a simple daemon doing OK on many machines for less than the userspace daemon's kernel stack, why not?
Perhaps my judgement is too colored by benchmark(et)ing, and desires to have repeatable results on things like neperf, but I very much like to know where my interrupts are going and don't like them moving around. That is why I am not particularly fond of either flavor of irq balancing.
That being the case, whatever is out there aught to be able to be disabled on a running system without having to roll bits or reboot.
Quoted 8 lines
Quoted 3 lines
Quoted 1 line
Adding a "module" parameter to disable it should be cheap, isn't it?
Except the irq balancing is system-wide. Adding per-device exemptions to an obsolete feature seems like the wrong way to go.
No, not a per-device-exemption. My reasoning was: If the IRQ balancer bounces the IRQ too often, doing it less often seems to be the correct solution. One cache miss each ten seconds sounds like it should be OK. As said before, I can't verify this theory.
this is exaclty what the userspace irqbalance does and it's even optimized to not do those migrations once every 10 seconds if things look OK. from that perspective, it's definately more mature and it's maintained as well.
Auke