From: Michal Soltys <soltys@ziu.info>
To: netdev@vger.kernel.org
Cc: Jarek Poplawski <jarkao2@gmail.com>,
Francois Romieu <romieu@fr.zoreil.com>
Subject: Re: r8169 (+others ?) and note_interrupt performance hit on 2.6.30.x
Date: Wed, 05 Aug 2009 20:54:47 +0200 [thread overview]
Message-ID: <4A79D577.30305@ziu.info> (raw)
In-Reply-To: <4A6E21B4.7090103@gmail.com>
Jarek Poplawski wrote:
> Michal Soltys wrote, On 07/26/2009 08:43 PM:
>
> ...
>> Anwyay, not sure if this is useful, so if there is anything better
>> I could do, just push me in the right direction.
>
> Short test of 2.6.29? (Unless you prefer a bisection...)
>
> Jarek P.
> --
> To unsubscribe from this list: send the line "unsubscribe netdev" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
I did first bisection, and the whole cpu load increases seem a bit more
complicated than I originally thought.
I noticed at least 2 (possibly 3) moments where it increased (from
original full 1 gbit at 20% - 50% load of one core)
(1) jump from 20% - 50% to 80% - 90%
(2) commit f11a377b3f4e897d11f0e8d1fc688667e2f19708
r8169: avoid losing MSI interrupts
After the above commit, one core is not enough to handle 1 gbit speed
with 1k packets, it ends with with ~760mbit and one core drained at 100%
. The situation right before this commit is as in (1)
All tests were done, as mentioned earlier - with nc process and eth
interrupts pinned to the same core, and besides nc process - idle
machine. Tested with udp only, standard pfifo_fast.
The changes happened between 2.6.29 and 2.6.30-rc6 .
I'll try to pinpoint when (1) happens now. Lookint at mpstat output,
those may actually be two different commits.
prev parent reply other threads:[~2009-08-05 18:54 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-26 0:31 r8169 (+others ?) and note_interrupt performance hit on 2.6.30.x Michal Soltys
2009-07-26 9:18 ` Francois Romieu
2009-07-26 10:50 ` Michal Soltys
2009-07-26 18:43 ` Michal Soltys
2009-07-27 21:52 ` Jarek Poplawski
2009-08-05 18:54 ` Michal Soltys [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=4A79D577.30305@ziu.info \
--to=soltys@ziu.info \
--cc=jarkao2@gmail.com \
--cc=netdev@vger.kernel.org \
--cc=romieu@fr.zoreil.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 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.