login
Login
/
Register
Search
Search this site:
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2010
»
April
»
7
Re: hackbench regression due to commit 9dfc6e68bfe6e
view
thread
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Pekka Enberg
Subject:
Re: hackbench regression due to commit 9dfc6e68bfe6e
Date: Wednesday, April 7, 2010 - 9:49 am
Christoph Lameter wrote:
quoted text
> I wonder if this is not related to the kmem_cache_cpu structure straggling > cache line boundaries under some conditions. On 2.6.33 the kmem_cache_cpu > structure was larger and therefore tight packing resulted in different > alignment. > > Could you see how the following patch affects the results. It attempts to > increase the size of kmem_cache_cpu to a power of 2 bytes. There is also > the potential that other per cpu fetches to neighboring objects affect the > situation. We could cacheline align the whole thing. > > --- > include/linux/slub_def.h | 5 +++++ > 1 file changed, 5 insertions(+) > > Index: linux-2.6/include/linux/slub_def.h > =================================================================== > --- linux-2.6.orig/include/linux/slub_def.h 2010-04-07 11:33:50.000000000 -0500 > +++ linux-2.6/include/linux/slub_def.h 2010-04-07 11:35:18.000000000 -0500 > @@ -38,6 +38,11 @@ struct kmem_cache_cpu { > void **freelist; /* Pointer to first free per cpu object */ > struct page *page; /* The slab from which we are allocating */ > int node; /* The node of the page (or -1 for debug) */ > +#ifndef CONFIG_64BIT > + int dummy1; > +#endif > + unsigned long dummy2; > + > #ifdef CONFIG_SLUB_STATS > unsigned stat[NR_SLUB_STAT_ITEMS]; > #endif
Would __cacheline_aligned_in_smp do the trick here? --
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:
hackbench regression due to commit 9dfc6e68bfe6e
, Alex Shi
, (Thu Mar 25, 1:40 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Thu Mar 25, 7:49 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Alex Shi
, (Thu Mar 25, 7:35 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Thu Apr 1, 2:29 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Thu Apr 1, 8:53 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Fri Apr 2, 1:06 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Mon Apr 5, 6:54 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Pekka Enberg
, (Mon Apr 5, 10:30 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Tejun Heo
, (Mon Apr 5, 6:27 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Tue Apr 6, 1:28 am)
[No subject]
, Christoph Lameter
, (Tue Apr 6, 8:41 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Tue Apr 6, 1:55 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Tue Apr 6, 3:10 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Tue Apr 6, 5:58 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Tue Apr 6, 7:20 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Tue Apr 6, 7:34 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Tue Apr 6, 11:39 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Wed Apr 7, 2:07 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Wed Apr 7, 2:20 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Pekka Enberg
, (Wed Apr 7, 3:47 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Wed Apr 7, 9:30 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Wed Apr 7, 9:43 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Pekka Enberg
, (Wed Apr 7, 9:49 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Pekka Enberg
, (Wed Apr 7, 9:52 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Wed Apr 7, 11:18 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Wed Apr 7, 11:20 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Pekka Enberg
, (Wed Apr 7, 11:25 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Wed Apr 7, 11:38 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Wed Apr 7, 12:30 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Wed Apr 7, 6:05 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Wed Apr 7, 9:59 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Wed Apr 7, 10:39 pm)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Thu Apr 8, 12:00 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, David Miller
, (Thu Apr 8, 12:05 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Thu Apr 8, 12:18 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, David Miller
, (Thu Apr 8, 12:20 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Thu Apr 8, 12:25 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Thu Apr 8, 12:54 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Zhang, Yanmin
, (Thu Apr 8, 12:54 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Thu Apr 8, 1:09 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Christoph Lameter
, (Thu Apr 8, 8:34 am)
Re: hackbench regression due to commit 9dfc6e68bfe6e
, Eric Dumazet
, (Thu Apr 8, 8:52 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Ingo Molnar
Re: [patch] e1000=y && e1000e=m regression fix
Greg Kroah-Hartman
[PATCH 20/36] Driver core: Call device_pm_add() after bus_add_device() in device_a...
Eli Cohen
Re: LRO num of frags limit
Boaz Harrosh
how to use KBUILD_EXTRA_SYMBOLS
Pekka Enberg
Re: [PATCH] include/linux/slab.h: new KFREE() macro.
git
:
Bill Lear
cpio command not found
Jing Xue
Re: git rm --cached
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Michael S. Tsirkin
git-kill: rewrite history removing a commit
Johannes Sixt
Re: How to pull remote branch with specified commit id?
linux-netdev
:
Johann Baudy
Packet mmap: TX RING and zero copy
Stephen Hemminger
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors
Jamie Lokier
Re: POHMELFS high performance network filesystem. Transactions, failover, performa...
Balazs Scheidler
Re: [PATCH 5/9] tproxy: allow non-local binds of IPv6 sockets if IP_TRANSPARENT is...
David Miller
Re: [net-next PATCH 2/2] qlge: Version change to v1.00.00.27
openbsd-misc
:
Bryan Irvine
Re: DVD burn error: No space left on device
Netmaffia.hu
Tini Lányok AKCIÓBAN OTTHON
Siju George
This is what Linus Torvalds calls openBSD crowd
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Skylar Hawk
Re: asus eee 1201n - acpitz0 critical temperature 255C (5282K), shutting down
git-commits-head
:
Linux Kernel Mailing List
Linux 2.6.34-rc4
Linux Kernel Mailing List
x86 boot: only pick up additional EFI memmap if add_efi_memmap flag
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Linux Kernel Mailing List
[ALSA] hda-codec - Add support for VIA VT1708B HD audio codec
Linux Kernel Mailing List
ARM: dma-mapping: remove dmac_clean_range and dmac_inv_range
Colocation donated by:
Syndicate