netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: krunal patel <krunal.raj@gmail.com>
To: Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
Cc: Eric Dumazet <eric.dumazet@gmail.com>, netfilter-devel@vger.kernel.org
Subject: Re: high latency with ipset-4.2 and 2.6.27.45 kernel.
Date: Fri, 25 Jun 2010 19:19:47 +0530	[thread overview]
Message-ID: <AANLkTing_IaYjNhkuRIH8DJ7eQH4mLp5IZmAQ-Eb8oWP@mail.gmail.com> (raw)
In-Reply-To: <alpine.DEB.2.00.1006232157580.6811@blackhole.kfki.hu>

On Thu, Jun 24, 2010 at 1:30 AM, Jozsef Kadlecsik
<kadlec@blackhole.kfki.hu> wrote:
> On Wed, 23 Jun 2010, krunal patel wrote:
>
>> On Wed, Jun 23, 2010 at 6:20 PM, Eric Dumazet <eric.dumazet@gmail.com> 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@blackhole.kfki.hu, kadlec@mail.kfki.hu
> 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@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2010-06-25 13:49 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-21 12:51 high latency with ipset-4.2 and 2.6.27.45 kernel krunal patel
2010-06-21 13:32 ` Jozsef Kadlecsik
2010-06-21 15:18   ` krunal patel
2010-06-21 16:46     ` Jan Engelhardt
2010-06-22  5:41       ` Nishit Shah
2010-06-22  8:51         ` Jan Engelhardt
2010-06-22  9:10           ` Jozsef Kadlecsik
2010-06-22  9:53             ` Jozsef Kadlecsik
2010-06-22 10:36               ` Jan Engelhardt
     [not found]               ` <AANLkTimLe-21bu_kun2_H_o_QHltfrfx0QRjZHUeYaoX@mail.gmail.com>
2010-06-23 12:43                 ` krunal patel
2010-06-23 12:50                   ` Eric Dumazet
2010-06-23 14:14                     ` krunal patel
2010-06-23 20:00                       ` Jozsef Kadlecsik
2010-06-25 13:49                         ` krunal patel [this message]
2010-06-23 12:50               ` krunal patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTing_IaYjNhkuRIH8DJ7eQH4mLp5IZmAQ-Eb8oWP@mail.gmail.com \
    --to=krunal.raj@gmail.com \
    --cc=eric.dumazet@gmail.com \
    --cc=kadlec@blackhole.kfki.hu \
    --cc=netfilter-devel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).