From: "David S. Miller" <davem@redhat.com>
To: mkanand@us.ibm.com
Cc: akpm@digeo.com, lse-tech@lists.sourceforge.net,
linux-kernel@vger.kernel.org, hartner@austin.ibm.com,
linux-net@vger.kernel.org
Subject: Re: Skb initialization patch
Date: Wed, 16 Oct 2002 15:03:23 -0700 (PDT) [thread overview]
Message-ID: <20021016.150323.101559793.davem@redhat.com> (raw)
In-Reply-To: <3DADD6FD.E898DD61@us.ibm.com>
From: Mala Anand <mkanand@us.ibm.com>
Date: Wed, 16 Oct 2002 16:15:41 -0500
Looks like we were trying to take advantage of this feature by
initializing before freeing it and this is good for UNI but for SMP
there is no guarantee that the freed skbs will be given back to the
same CPU.
There are not guarentees, but %99 of the time what is supposed to
happen is that either the per-cpu skb_head_pool[] or the per-cpu slab
cache give back the data on the same processor.
If this isn't happening, fix the head pool or SLAB. Because if
you fix it there you'll fix the SMP behavior of every other SLAB
cache in the kernel, not just SKBs.
If the current cpu's skb_head_pool[] is being depleted in your
tests, it should go to the per-cpu SLAB pool, if that is being
depleted and thus it is going to other cpu's pools you should
work on making SLAB not hit that case so often.
2.5.38 is really old too, results with current 2.5.x would be
appreciated. If you are unable to run your tests with current
2.5.x kernels, work to fix those problems instead of telling me
"I can't test with current 2.5.x"
Also, I would really appreciate it if you could walk through the
2.5.x versions between the "good" and "bad" performance points
you noted in postings yesterday. Please do not walk off to other
tasks such as this SKB initialization patch when we have regressions
in other areas.
prev parent reply other threads:[~2002-10-16 22:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-16 21:15 Mala Anand
2002-10-16 22:03 ` David S. Miller [this message]
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=20021016.150323.101559793.davem@redhat.com \
--to=davem@redhat.com \
--cc=akpm@digeo.com \
--cc=hartner@austin.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-net@vger.kernel.org \
--cc=lse-tech@lists.sourceforge.net \
--cc=mkanand@us.ibm.com \
/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
all inboxes | Powered by JetHome®