From: Stephen Hemminger <shemminger@vyatta.com>
To: Robert Olsson <robert@robur.slu.se>
Cc: Andrew Gallatin <gallatin@myri.com>,
David Miller <davem@davemloft.net>,
netdev@vger.kernel.org, Robert.Olsson@data.slu.se
Subject: Re: CPU utilization increased in 2.6.27rc
Date: Wed, 13 Aug 2008 14:34:59 -0700 [thread overview]
Message-ID: <20080813143459.1fb1c5c5@extreme> (raw)
In-Reply-To: <18595.15208.734736.864386@robur.slu.se>
On Wed, 13 Aug 2008 21:52:08 +0200
Robert Olsson <robert@robur.slu.se> wrote:
>
> Andrew Gallatin writes:
> >
> > Excellent! This completely fixes the increased CPU
> > utilization I observed on both 10GbE and 1GbE interfaces,
> > and CPU utilization is now reduced back to 2.6.26 levels.
>
>
> > > Robert, this could explain some of the things in the
> > > multiqueue testing profile you sent me a week or so
> > > ago.
>
> I've just rerun the virtual 10g router experiment with the current
> git including the pkt_sched patch. The full experiment is below. In this
> case the profile looks the same as before. No improvement due to this
> patch here.
>
> In this case we have not any old numbers to compare with as we're
> testing new functionality. I'm not to unhappy about the performance
> and there must be some functions the in profile...
>
> Virtual IP forwarding experiment. We're splitting an incoming flow
> load (10g) among 4 CPU's and keep the incoming flows per-CPU including
> TX and also skb clearing
>
>
> Network flow load into (eth0) 10G 82598. Total 295+293+293+220 kpps
> 4 * (4096 concurrent flows at 30 pkts)
>
> eth0 1500 0 3996889 0 1280 0 19 0 0 0 BMRU
> eth1 1500 0 1 0 0 0 3998236 0 0 0 BMRU
>
> I've configured RSS with ixgbe so all 4 CPU's are used and hacked driver
> so skb gets tagged with incoming CPU. The 2:nd col in softnet_stat is used
> to verify tagging and affinity is correct until hard_xmit and even for TX-skb
> cleaning to avoid all cache misses and true per-CPU forwarding. The ixgbe driver
> 1.3.31.5 from Intel's site is needed for RSS etc and bit modified for this test.
>
> softnet_stat
> 000f3236 001e63f8 00000872 00000000 00000000 00000000 00000000 00000000 00000000
> 000f52df 001ea58c 000008b8 00000000 00000000 00000000 00000000 00000000 00000000
> 000f3d90 001e7af8 00000a3b 00000000 00000000 00000000 00000000 00000000 00000000
> 000f4174 001e82c2 00000a17 00000000 00000000 00000000 00000000 00000000 00000000
>
> eth0 (incoming)
> 214: 4 0 0 6623 PCI-MSI-edge eth0:v3-Rx
> 215: 0 5 6635 0 PCI-MSI-edge eth0:v2-Rx
> 216: 0 7152 5 0 PCI-MSI-edge eth0:v1-Rx
> 217: 7115 0 0 5 PCI-MSI-edge eth0:v0-Rx
>
> eth1 (outgoing)
> 201: 3 0 0 3738 PCI-MSI-edge eth1:v7-Tx
> 202: 0 4 3743 0 PCI-MSI-edge eth1:v6-Tx
> 203: 0 3743 4 0 PCI-MSI-edge eth1:v5-Tx
> 204: 3746 0 0 6 PCI-MSI-edge eth1:v4-Tx
>
> CPU: AMD64 processors, speed 3000 MHz (estimated)
> Counted CPU_CLK_UNHALTED events (Cycles outside of halt state) with a unit mask of 0x00 (No unit mask) count 3000
> samples % image name app name symbol name
> 407896 8.7211 vmlinux vmlinux cache_alloc_refill
> 339524 7.2592 vmlinux vmlinux __qdisc_run
> 243352 5.2030 vmlinux vmlinux dev_queue_xmit
> 227855 4.8717 vmlinux vmlinux kfree
> 214975 4.5963 vmlinux vmlinux __alloc_skb
> 172008 3.6776 vmlinux vmlinux cache_flusharray
I see you are still using the SLAB allocator. Does the SLUB change the numbers?
next prev parent reply other threads:[~2008-08-13 21:35 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-13 0:56 CPU utilization increased in 2.6.27rc Andrew Gallatin
2008-08-13 1:05 ` David Miller
2008-08-13 15:06 ` Andrew Gallatin
2008-08-13 1:15 ` David Miller
2008-08-13 16:13 ` Andrew Gallatin
2008-08-13 19:52 ` Robert Olsson
2008-08-13 21:34 ` Stephen Hemminger [this message]
2008-08-13 21:56 ` Robert Olsson
2008-08-13 22:06 ` Stephen Hemminger
2008-08-13 22:21 ` Robert Olsson
2008-08-13 20:03 ` Andi Kleen
2008-08-13 20:36 ` Andrew Gallatin
2008-08-13 20:27 ` David Miller
2008-08-13 20:58 ` Andrew Gallatin
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=20080813143459.1fb1c5c5@extreme \
--to=shemminger@vyatta.com \
--cc=Robert.Olsson@data.slu.se \
--cc=davem@davemloft.net \
--cc=gallatin@myri.com \
--cc=netdev@vger.kernel.org \
--cc=robert@robur.slu.se \
/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.