Re: high latency with ipset-4.2 and 2.6.27.45 kernel.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Jun 24, 2010 at 1:30 AM, Jozsef Kadlecsik
<kadlec@xxxxxxxxxxxxxxxxx> wrote:
> On Wed, 23 Jun 2010, krunal patel wrote:
>
>> On Wed, Jun 23, 2010 at 6:20 PM, Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
>> > Le mercredi 23 juin 2010 ? 18:13 +0530, krunal patel a ?crit :
>> >
>> > These affinities are buggy.
>> >
>> > You put decimal values but kernel expect hexadecimal values.
>> >
>> > You should use following power of two values :
>> >
>> > 01, 02, 04, 08, 10, 20, 40, 80
>> >
>> Sorry for such a silly mistake. But after correcting affinities my
>> problem is not solved :(.
>
> Then please report what kind of network hardware you have got (exact type,
> version), the version of the network driver if that comes from outside of
> the kernel source and *any* non-default network related kernel parameter
> and setting.
>
> And running oprofile could help as well.
>
> Best regards,
> Jozsef
> -
> E-mail  : kadlec@xxxxxxxxxxxxxxxxx, kadlec@xxxxxxxxxxxx
> PGP key : http://www.kfki.hu/~kadlec/pgp_public_key.txt
> Address : KFKI Research Institute for Particle and Nuclear Physics
>          H-1525 Budapest 114, POB. 49, Hungary
>

oops, Eric is correct. I have misconfigured irq affinities in
2.6.27.45. Things are working fine with proper affinities !!!!!
Binding In-out interface pairs to a single core solved the issue.

># cat /proc/irq/202/smp_affinity
>32
># cat /proc/irq/203/smp_affinity
>16
># cat /proc/irq/204/smp_affinity
>08
># cat /proc/irq/205/smp_affinity
>04
># cat /proc/irq/206/smp_affinity
>02
># cat /proc/irq/207/smp_affinity
>01
># cat /proc/irq/208/smp_affinity
>16
># cat /proc/irq/209/smp_affinity
>16
># cat /proc/irq/210/smp_affinity
>ff
># cat /proc/irq/211/smp_affinity
>64

changed to
# cat /proc/irq/202/smp_affinity
80
# cat /proc/irq/203/smp_affinity
80
# cat /proc/irq/204/smp_affinity
40
# cat /proc/irq/205/smp_affinity
40
# cat /proc/irq/206/smp_affinity
20
# cat /proc/irq/207/smp_affinity
20
# cat /proc/irq/209/smp_affinity
10
# cat /proc/irq/210/smp_affinity
01
# cat /proc/irq/211/smp_affinity
01


Regards,
Krunal
--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux