All of lore.kernel.org
 help / color / mirror / Atom feed
From: Auke Kok <auke-jan.h.kok@intel.com>
To: Stephen Hemminger <shemminger@osdl.org>
Cc: eli@dev.mellanox.co.il, linux-kernel@vger.kernel.org,
	linux-net@vger.kernel.org
Subject: Re: UDP packets loss
Date: Tue, 14 Nov 2006 15:14:53 -0800	[thread overview]
Message-ID: <455A4DED.8090107@intel.com> (raw)
In-Reply-To: <20061114143531.2ee7eae0@freekitty>

Stephen Hemminger wrote:
> On Wed, 15 Nov 2006 00:15:47 +0200 (IST)
> eli@dev.mellanox.co.il wrote:
>> The secod question is how do I make the interrupts be srviced by all CPUs?
>> I tried through the procfs as described by IRQ-affinity.txt but I can set
>> the mask to 0F bu then I read back and see it is indeed 0f but after a few
>> seconds I see it back to 02 (which means only CPU1).
> 
> Most likely, the user level irq balance daemon (irqbalanced) is adjusting it?

Having it bounce between cpu's would likely result in a lower performance anyway: you 
really want it bound to a single CPU to benefit from cache hits on the various involved 
data structs that are needed to receive the data from hardware, do accounting etc.

the userspace irq balance daemon attempts to keep network interrupts on the same cpu for 
longer periods. The old obsolete kernel-space daemon did exactly the opposite completely 
destroying network performance.

I'm not sure whether this is completely optimal on newer chips like conroe with large 
shared caches though...

Cheers,

Auke

  parent reply	other threads:[~2006-11-14 23:15 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-14 22:15 UDP packets loss eli
2006-11-14 22:35 ` Stephen Hemminger
2006-11-14 23:08   ` eli
2006-11-14 23:23     ` Stephen Hemminger
2006-11-15 13:03     ` Neil Horman
2006-11-14 23:14   ` Auke Kok [this message]
2006-11-15 21:57     ` John Heffner
2006-11-14 22:54 ` Richard B. Johnson
     [not found] <60157.89.139.64.58.1163542548.squirrel@dev.mellanox.co.il>
2006-11-16 18:51 ` eli
2006-11-16 19:01   ` John Heffner
2006-11-16 21:10     ` eli
2006-11-16 21:23       ` David Miller
2006-11-16 23:52   ` Alan
2006-11-17 14:48   ` Neil Horman

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=455A4DED.8090107@intel.com \
    --to=auke-jan.h.kok@intel.com \
    --cc=eli@dev.mellanox.co.il \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-net@vger.kernel.org \
    --cc=shemminger@osdl.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.