[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1206700389.4429.34.camel@localhost>
Date: Fri, 28 Mar 2008 06:33:09 -0400
From: jamal <hadi@...erus.ca>
To: Matheos Worku <Matheos.Worku@....COM>
Cc: Herbert Xu <herbert@...dor.apana.org.au>,
David Miller <davem@...emloft.net>, jesse.brandeburg@...el.com,
jarkao2@...il.com, netdev@...r.kernel.org
Subject: Re: 2.6.24 BUG: soft lockup - CPU#X
On Thu, 2008-27-03 at 18:58 -0700, Matheos Worku wrote:
> In general, while the TX serialization improves performance in terms to
> lock contention, wouldn't it reduce throughput since only one guy is
> doing the actual TX at any given time. Wondering if it would be
> worthwhile to have an enable/disable option specially for multi queue TX.
Empirical evidence so far says at some point the bottleneck is going to
be the wire i.e modern CPUs are "fast enough" that sooner than later
they will fill up the DMA ring of transmitting driver and go back to
doing other things.
It is hard to create the condition you seem to have come across. I had
access to a dual core opteron but found it very hard with parallel UDP
sessions to keep the TX CPU locked in that region (while the other 3
were busy pumping packets). My folly could have been that i had a Gige
wire and maybe a 10G would have recreated the condition.
If you can reproduce this at will, can you try to reduce the number of
sending TX u/iperfs and see when it begins to happen?
Are all the iperfs destined out of the same netdevice?
[Typically the TX path on the driver side is inefficient either because
of coding (ex: unnecessary locks) or expensive IO. But this has not
mattered much thus far (given fast enough CPUs).
It all could be improved by reducing the per packet operations the
driver incurs - as an example, the CPU (to the driver) could batch a
set of packet to the device then kick the device DMA once for the batch
etc.]
cheers,
jamal
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists