From: Jesper Dangaard Brouer <hawk@diku.dk>
To: David Miller <davem@davemloft.net>
Cc: Jesper Dangaard Brouer <jdb@comx.dk>,
netdev <netdev@vger.kernel.org>,
linux-kernel@vger.kernel.org
Subject: Re: NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (perf + regression IRQs)
Date: Wed, 19 Nov 2008 23:58:12 +0100 (CET) [thread overview]
Message-ID: <Pine.LNX.4.64.0811192333130.30818@ask.diku.dk> (raw)
In-Reply-To: <20081113.141513.116537651.davem@davemloft.net>
On Thu, 13 Nov 2008, David Miller wrote:
> From: Jesper Dangaard Brouer <jdb@comx.dk>
> Date: Thu, 13 Nov 2008 11:29:31 +0100
>
>> Although I'm not happy about the new perf numbers, as I now on a SMP
>> system only can route approx 290 kpps, remember I could route 319 kpps
>> using a single CPU nosmp kernel.
>
> That unfortunately (can be) the cost of SMP :-/
[Regression]
Well that was not the real cause of the performance loss. Because on
kernel 2.6.27 I get really good performance (900-1200kpps) compared to
2.6.28 (git net-2.6).
The cause of this problem (tracked down together with Robert Olsson) is
that on 2.6.28 I have a lot less IRQs available. It seems max 34 IRQs.
Due the reduced number of IRQs the NIU driver cannot get enough IRQs to
the interfaces, and starts to use "IO-APIC" based IRQs.
On kernel 2.6.28:
My eth2 is using 10 IRQs all "PCI-MSI-edge".
BUT my eth3 is using a single IRQ using "IO-APIC-fasteoi" and shared
with the usb driver...
Think thats must be my performance problem on 2.6.28.
> With multi-flow tests, Robert Olsson is getting 4.2 mpps rates with
> NIU and pktgen. That's what this card is designed for, good
> multi-flow workload performance, rather than striving for maximum
> single-flow performance.
[Packet performance]
Yes, I know, I do use pktgen and multi-flows (rand dest IP+port).
For the two drivers NIU and Suns NXGE, my packet per sec performance is
now, on 2.6.27 (with backported NIU fixes).
With NIU driver I can route 900 kpps.
With NXGE driver (and enqueue=NULL hack) I can route 1200 kpps.
Actually I think I can go higher, because I'm limited by my packet rate
generator. I use pktgen (with rand dst IP+port) and can only generate 1200
kpps.
(I have actually ordered some new hardware, so I can get a faster pktgen
machine and perhaps test it as a router too. Also ordered the hardware
because I want to test PCI-express v.2.0. I have a prototype 12-port
gigabit NIC (from hotlava systems) that support PCIe v.2.0 and has 6x
82575 chips (4RX/4TX queues))
Hilsen
Jesper Brouer
--
-------------------------------------------------------------------
MSc. Master of Computer Science
Dept. of Computer Science, University of Copenhagen
Author of http://www.adsl-optimizer.dk
-------------------------------------------------------------------
next prev parent reply other threads:[~2008-11-19 22:58 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20081112.014923.68124784.davem@davemloft.net>
[not found] ` <1226487710.6834.53.camel@localhost.localdomain>
[not found] ` <20081112.035240.226243372.davem@davemloft.net>
[not found] ` <20081112.041143.11487260.davem@davemloft.net>
2008-11-12 21:31 ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter Jesper Dangaard Brouer
2008-11-12 23:10 ` Matheos Worku
[not found] ` <1226572171.6834.87.camel@localhost.localdomain>
[not found] ` <20081113.141513.116537651.davem@davemloft.net>
2008-11-19 22:58 ` Jesper Dangaard Brouer [this message]
2008-11-19 23:11 ` NIU driver: Sun x8 Express Quad Gigabit Ethernet Adapter (perf + regression IRQs) David Miller
2008-11-20 19:48 ` Regression: Bisected, IRQ and MSI allocations screwed without sparse irq Jesper Dangaard Brouer
2008-11-21 0:34 ` Thomas Gleixner
2008-11-21 10:33 ` Jesper Dangaard Brouer
2008-11-21 16:40 ` Thomas Gleixner
2008-11-21 19:35 ` Jesper Dangaard Brouer
2008-11-21 21:11 ` Thomas Gleixner
2008-11-21 23:06 ` David Miller
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=Pine.LNX.4.64.0811192333130.30818@ask.diku.dk \
--to=hawk@diku.dk \
--cc=davem@davemloft.net \
--cc=jdb@comx.dk \
--cc=linux-kernel@vger.kernel.org \
--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 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®