From: Rick Jones <rick.jones2@hp.com>
To: Jesse Brandeburg <jesse.brandeburg@gmail.com>
Cc: Linux Network Development list <netdev@vger.kernel.org>
Subject: Re: "meaningful" spinlock contention when bound to non-intr CPU?
Date: Fri, 02 Feb 2007 10:17:47 -0800 [thread overview]
Message-ID: <45C3804B.20604@hp.com> (raw)
In-Reply-To: <4807377b0702020847n11da1298ncdb5cf1609c8f0d2@mail.gmail.com>
>> SPINLOCKS HOLD WAIT
>> UTIL CON MEAN( MAX ) MEAN( MAX )(% CPU) TOTAL NOWAIT SPIN
>> RJECT NAME
>>
>> 7.4% 2.8% 0.1us( 143us) 3.3us( 147us)( 1.4%) 75262432 97.2% 2.8%
>> 0% lock_sock_nested+0x30
>> 29.5% 6.6% 0.5us( 148us) 0.9us( 143us)(0.49%) 37622512 93.4% 6.6%
>> 0% tcp_v4_rcv+0xb30
>> 3.0% 5.6% 0.1us( 142us) 0.9us( 143us)(0.14%) 13911325 94.4% 5.6%
>> 0% release_sock+0x120
>> 9.6% 0.75% 0.1us( 144us) 0.7us( 139us)(0.08%) 75262432 99.2% 0.75%
>> 0% release_sock+0x30
>> ...
>> Still, does this look like something worth persuing? In a past life/OS
>> when one was able to eliminate one percentage point of spinlock
>> contention, two percentage points of improvement ensued.
>
>
> Rick, this looks like good stuff, we're seeing more and more issues
> like this as systems become more multi-core and have more interrupts
> per NIC (think MSI-X)
MSI-X - haven't even gotten to that - discussion of that probably
overlaps with some "pci" mailing list right?
> Let me know if there is something I can do to help.
I suppose one good step would be to reproduce the results on some other
platform. After that, I need to understand what those routines are
doing much better than I currently do, particularly from an
"architecture" perspective - I think that it may involve all the
prequeue/try to get the TCP processing on the user's stack stuff but I'm
_far_ from certain.
rick jones
next prev parent reply other threads:[~2007-02-02 18:17 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-01 19:43 "meaningful" spinlock contention when bound to non-intr CPU? Rick Jones
2007-02-01 19:46 ` Rick Jones
2007-02-02 16:47 ` Jesse Brandeburg
2007-02-02 18:17 ` Rick Jones [this message]
2007-02-02 19:21 ` Andi Kleen
2007-02-02 18:46 ` Rick Jones
2007-02-02 19:06 ` Andi Kleen
2007-02-02 19:54 ` Rick Jones
2007-02-02 20:20 ` Andi Kleen
2007-02-02 20:41 ` Rick Jones
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=45C3804B.20604@hp.com \
--to=rick.jones2@hp.com \
--cc=jesse.brandeburg@gmail.com \
--cc=netdev@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 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.