login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2007
»
November
»
14
Re: 2.6.24-rc2: Network commit causes SLUB performance regression with tbench
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
David Miller <davem@...>
To: <herbert@...>
Cc: <nickpiggin@...>, <clameter@...>, <netdev@...>, <linux-kernel@...>
Subject:
Re: 2.6.24-rc2: Network commit causes SLUB performance regression with tbench
Date: Wednesday, November 14, 2007 - 7:46 pm
From: Herbert Xu <herbert@gondor.apana.org.au> Date: Wed, 14 Nov 2007 19:48:44 +0800
quoted text
> [TCP]: Fix size calculation in sk_stream_alloc_pskb > > We round up the header size in sk_stream_alloc_pskb so that > TSO packets get zero tail room. Unfortunately this rounding > up is not coordinated with the select_size() function used by > TCP to calculate the second parameter of sk_stream_alloc_pskb. > > As a result, we may allocate more than a page of data in the > non-TSO case when exactly one page is desired. > > In fact, rounding up the head room is detrimental in the non-TSO > case because it makes memory that would otherwise be available to > the payload head room. TSO doesn't need this either, all it wants > is the guarantee that there is no tail room. > > So this patch fixes this by adjusting the skb_reserve call so that > exactly the requested amount (which all callers have calculated in > a precise way) is made available as tail room. > > Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Applied and I'll queue it up for -stable too. -
unsubscribe notice
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to
majordomo@vger.kernel.org
More majordomo info at
http://vger.kernel.org/majordomo-info.html
Please read the FAQ at
http://www.tux.org/lkml/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
2.6.24-rc2 slab vs slob tbench numbers
, Nick Piggin
, (Fri Nov 9, 8:36 am)
Re: 2.6.24-rc2 slab vs slob tbench numbers
, Matt Mackall
, (Mon Nov 12, 4:13 pm)
Re: 2.6.24-rc2 slab vs slob tbench numbers
, Nick Piggin
, (Tue Nov 13, 7:44 am)
Re: 2.6.24-rc2 slab vs slob tbench numbers
, Christoph Lameter
, (Fri Nov 9, 11:15 am)
Re: 2.6.24-rc2 slab vs slob tbench numbers
, Christoph Lameter
, (Fri Nov 9, 1:49 pm)
2.6.24-rc2: Network commit causes SLUB performance regressio...
, Christoph Lameter
, (Fri Nov 9, 7:46 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Fri Nov 9, 9:29 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Christoph Lameter
, (Mon Nov 12, 3:44 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 7:41 am)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Tue Nov 13, 9:58 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 1:36 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Wed Nov 14, 2:12 am)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 2:14 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Wed Nov 14, 2:37 am)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 6:27 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Wed Nov 14, 7:10 am)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Herbert Xu
, (Wed Nov 14, 7:48 am)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Wed Nov 14, 7:46 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Christoph Lameter
, (Wed Nov 14, 9:03 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Herbert Xu
, (Wed Nov 14, 9:11 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Wed Nov 14, 9:47 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Wed Nov 14, 8:21 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Wed Nov 14, 8:27 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 8:02 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, David Miller
, (Wed Nov 14, 8:10 am)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Christoph Lameter
, (Wed Nov 14, 2:33 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 7:39 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Tue Nov 13, 6:55 pm)
Re: 2.6.24-rc2: Network commit causes SLUB performance regre...
, Nick Piggin
, (Fri Nov 9, 11:28 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #11806] iwl3945 fails with microcode error
David Miller
Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to ma...
Al Viro
CFD: linux-wanking@vger.kernel.org (was [PATCH] Standard indentation of arguments)
Tarkan Erimer
Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3
git
:
linux-netdev
:
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
David Miller
[GIT]: Networking
Jarek Poplawski
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
KOSAKI Motohiro
[bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
2 users
and
711 guests
online.
Online users
renthouse79
franksamson3
Syndicate