From: "Zhang, Yanmin" <yanmin_zhang@linux.intel.com>
To: Pekka Enberg <penberg@cs.helsinki.fi>
Cc: Tejun Heo <tj@kernel.org>, Christoph Lameter <cl@linux.com>,
"Rafael J. Wysocki" <rjw@sisk.pl>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Kernel Testers List <kernel-testers@vger.kernel.org>,
Maciej Rutecki <maciej.rutecki@gmail.com>,
Alex Shi <alex.shi@intel.com>,
tim.c.chen@intel.com
Subject: Re: [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e
Date: Tue, 27 Apr 2010 09:41:17 +0800 [thread overview]
Message-ID: <1272332477.2078.674.camel@ymzhang.sh.intel.com> (raw)
In-Reply-To: <x2o84144f021004260309k9edf9e88t92e4c988d12de234@mail.gmail.com>
On Mon, 2010-04-26 at 13:09 +0300, Pekka Enberg wrote:
> Hi,
>
> On Mon, Apr 26, 2010 at 9:59 AM, Zhang, Yanmin
> <yanmin_zhang@linux.intel.com> wrote:
> >>>> I haven't been able to reproduce this either on my Core 2 machine.
> >>> Mostly, the regression exists on Nehalem machines. I suspect it's related to
> >>> hyper-threading machine.
>
> On 04/26/2010 09:22 AM, Pekka Enberg wrote:
> >> OK, so does anyone know why hyper-threading would change things for
> >> the per-CPU allocator?
>
> On Mon, Apr 26, 2010 at 1:02 PM, Tejun Heo <tj@kernel.org> wrote:
> > My wild speculation is that previously the cpu_slub structures of two
> > neighboring threads ended up on the same cacheline by accident thanks
> > to the back to back allocation. W/ the percpu allocator, this no
> > longer would happen as the allocator groups percpu data together
> > per-cpu.
>
> Yanmin, do we see a lot of remote frees for your hackbench run? IIRC,
> it's the "deactivate_remote_frees" stat when CONFIG_SLAB_STATS is
> enabled.
After runing the testing with 2.6.34-rc5:
#slabinfo -AD
Name Objects Alloc Free %Fast Fallb O
skbuff_head_cache 2518 800011810 800009770 95 19 0 1
kmalloc-512 1101 800009118 800008441 95 19 0 2
anon_vma_chain 2500 195878 194477 98 13 0 0
vm_area_struct 2487 160755 158908 97 20 0 1
anon_vma 2645 88626 87637 99 12 0 0
[ymzhang@lkp-ne01 ~]$ cat /sys/kernel/slab/skbuff_head_cache/deactivate_remote_frees
1 C13=1
[ymzhang@lkp-ne01 ~]$ cat /sys/kernel/slab/kmalloc-512/deactivate_remote_frees
3 C8=2 C15=1
After running testing against 2.6.33 kernel:
#slabinfo -AD
Name Objects Alloc Free %Fast Fallb O
kmalloc-1024 961 800011628 800011167 93 1 0 3
skbuff_head_cache 2518 800012055 800010015 93 1 0 1
vm_area_struct 2892 162196 159987 97 19 0 1
names_cache 128 47139 47141 99 97 0 3
kmalloc-64 3612 40180 37287 99 89 0 0
Acpi-State 816 36301 36301 99 98 0 0
I remember with 2.6.34-rc1, the fast alloc/free are close to the one of 2.6.33.
next prev parent reply other threads:[~2010-04-27 1:41 UTC|newest]
Thread overview: 100+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-04-20 3:15 2.6.34-rc5: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-04-20 0:57 ` Andrew Morton
2010-04-20 4:13 ` Rafael J. Wysocki
2010-04-20 3:16 ` [Bug #15505] No more b43 wireless interface since 2.6.34-rc1 Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15589] 2.6.34-rc1: Badness at fs/proc/generic.c:316 Rafael J. Wysocki
2010-04-20 6:45 ` Christian Kujau
[not found] ` <alpine.DEB.2.01.1004192339190.13016-uKsf7x9sgtqQ/Pez2Lbyp4QuADTiUCJX@public.gmane.org>
2010-04-20 12:18 ` Michael Ellerman
2010-04-20 15:54 ` Alexey Dobriyan
2010-04-21 0:21 ` Michael Ellerman
2010-04-21 4:57 ` Rafael J. Wysocki
2010-04-20 15:55 ` Alexey Dobriyan
2010-04-20 15:55 ` Alexey Dobriyan
2010-04-20 15:55 ` Alexey Dobriyan
2010-04-20 18:15 ` Christian Kujau
[not found] ` <alpine.DEB.2.01.1004201104170.13016-uKsf7x9sgtqQ/Pez2Lbyp4QuADTiUCJX@public.gmane.org>
2010-04-20 20:53 ` Andreas Schwab
2010-04-21 0:25 ` Michael Ellerman
2010-04-30 2:44 ` Stefan Lippers-Hollmann
2010-04-20 3:19 ` [Bug #15551] WARNING: at net/mac80211/work.c:811 ieee80211_work_work+0x7f/0xde8 [mac80211]() Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15553] Screen backlight doesn't come back on after lid was closed (GM45) Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15625] BUG: 2.6.34-rc1, RIP is (null) Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15610] fsck leads to swapper - BUG: unable to handle kernel NULL pointer dereference & panic Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15664] Graphics hang and kernel backtrace when starting Azureus with Compiz enabled Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15659] [Regresion] [2.6.34-rc1] [drm:i915_hangcheck_elapsed] *ERROR* Hangcheck timer elapsed... GPU hung Rafael J. Wysocki
2010-04-20 19:33 ` Maciej Rutecki
[not found] ` <201004202133.00708.maciej.rutecki-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2010-04-21 4:59 ` Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15661] PROBLEM: crash on halt with 2.6.34-0.16.rc2.git0.fc14.x86_64 Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15601] [BUG] SLOB breaks Crypto Rafael J. Wysocki
2010-04-20 6:40 ` Pekka Enberg
[not found] ` <z2h84144f021004192340z98fcc1c5m1544233f2ea6c0c4-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-20 6:42 ` Matt Mackall
2010-04-20 3:19 ` [Bug #15590] 2.6.34-rc1: regression: ^Z no longer stops sound Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15611] Failure with the 2.6.34-rc1 kernel Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15671] intel graphic card hanging (Hangcheck timer elapsed... GPU hung) Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15673] 2.6.34-rc2: "ima_dec_counts: open/free imbalance"? Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15672] KVM bug, git bisected Rafael J. Wysocki
2010-04-20 21:11 ` Rik van Riel
2010-04-21 3:36 ` Rik van Riel
[not found] ` <4BCE72D6.6010809-H+wXaHxf7aLQT0dZR+AlfA@public.gmane.org>
2010-04-21 5:02 ` Rafael J. Wysocki
[not found] ` <201004210702.02129.rjw-KKrjLPT3xs0@public.gmane.org>
2010-04-21 6:20 ` Borislav Petkov
[not found] ` <20100421062015.GB3839-f9CnO7I+Q6zU6FkGJEIX5A@public.gmane.org>
2010-04-21 8:45 ` Peter Zijlstra
2010-04-21 15:57 ` Rafael J. Wysocki
[not found] ` <201004211757.23469.rjw-KKrjLPT3xs0@public.gmane.org>
2010-04-21 16:03 ` Peter Zijlstra
2010-04-20 3:19 ` [Bug #15669] INFO: suspicious rcu_dereference_check() Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15668] start_kernel(): bug: interrupts were enabled early Rafael J. Wysocki
2010-04-20 14:11 ` Rabin Vincent
2010-04-21 5:04 ` Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15698] Freeze on power-off / suspend to ram Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e Rafael J. Wysocki
2010-04-22 15:45 ` Christoph Lameter
[not found] ` <alpine.DEB.2.00.1004221045270.1204-sBS69tsa9Uj/9pzu0YdTqQ@public.gmane.org>
2010-04-22 17:26 ` Pekka Enberg
2010-04-23 19:18 ` Pekka J Enberg
[not found] ` <alpine.DEB.2.00.1004232214520.29018-nkv1RstziBBsRR2hCrRKtT03IgOmwywn@public.gmane.org>
2010-04-26 6:59 ` Zhang, Yanmin
[not found] ` <1272265147.2078.648.camel-sz7BYL/Y5Hu/P+R7jlPCFVaTQe2KTcn/@public.gmane.org>
2010-04-26 7:22 ` Pekka Enberg
[not found] ` <i2m84144f021004260022nb58e3e27vd351d6646b99f265-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-26 10:02 ` Tejun Heo
[not found] ` <4BD564BE.6020700-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>
2010-04-26 10:09 ` Pekka Enberg
[not found] ` <x2o84144f021004260309k9edf9e88t92e4c988d12de234-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-04-26 10:53 ` Tejun Heo
2010-04-26 14:17 ` Pekka J Enberg
[not found] ` <alpine.DEB.2.00.1004261710500.16526-nkv1RstziBBsRR2hCrRKtT03IgOmwywn@public.gmane.org>
2010-04-26 14:33 ` Tejun Heo
2010-04-27 1:41 ` Zhang, Yanmin [this message]
2010-04-20 3:19 ` [Bug #15704] [r8169] WARNING: at net/sched/sch_generic.c Rafael J. Wysocki
2010-04-26 12:51 ` Sergey Senozhatsky
[not found] ` <20100426125119.GA3291-dY8u8AhHFaWtd10JCjopabkcH5ONE+aC@public.gmane.org>
2010-04-26 19:24 ` Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15712] [regression] 2.6.34-rc1 to -rc3 on zaurus: no longer boots Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15711] 2.6.34-rc3, BUG at mm/slab.c:2989 Rafael J. Wysocki
2010-04-20 9:00 ` Heinz Diehl
2010-04-20 3:19 ` [Bug #15744] [2.6.34-rc1 REGRESSION] ahci 0000:00:1f.2: controller reset failed (0xffffffff) Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15717] bluetooth oops Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15719] virtio_net causing kernel BUG when running under VirtualBox Rafael J. Wysocki
2010-04-23 14:10 ` Thomas Müller
[not found] ` <4BD1AA46.2050007-5bHTHlrcoh6zQB+pC5nmwQ@public.gmane.org>
2010-04-23 16:29 ` Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15730] Ugly rmap NULL ptr deref oopsie on hibernate (was Linux 2.6.34-rc3) Rafael J. Wysocki
2010-04-20 5:27 ` Borislav Petkov
[not found] ` <20100420052740.GA20482-f9CnO7I+Q6zU6FkGJEIX5A@public.gmane.org>
2010-04-21 5:09 ` Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15729] BUG: physmap modprobe & rmmod Rafael J. Wysocki
2010-04-20 4:53 ` Wolfram Sang
2010-04-20 4:58 ` Randy Dunlap
2010-04-20 3:19 ` [Bug #15788] external usb sound card doesn't work after resume Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15790] Meta-Bug: Regressions Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15768] Incorrectly calculated free blocks result in ENOSPC from writepage Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15774] 2.6.34-rc3: eth0 (8139too): transmit queue 0 timed out Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15805] reiserfs locking Rafael J. Wysocki
2010-04-22 2:52 ` Frederic Weisbecker
2010-04-20 3:19 ` [Bug #15796] [REGRESSION bisected] Sound goes too fast due to commit 7b3a177b0 Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15795] 2.6.34-rc4 : OOPS in unmap_vma Rafael J. Wysocki
2010-04-20 20:24 ` Parag Warudkar
2010-04-21 5:12 ` Rafael J. Wysocki
2010-04-20 3:19 ` [Bug #15812] utsname.domainname not set in x86_32 processes (causing "YPBINDPROC_DOMAIN: domain not bound" errors) Rafael J. Wysocki
2010-04-20 13:56 ` 2.6.34-rc5: Reported regressions from 2.6.33 Nick Bowler
[not found] ` <20100420135636.GA10674-7BP4RkwGw0uXmMXjJBpWqg@public.gmane.org>
2010-04-21 5:15 ` Rafael J. Wysocki
2010-04-21 8:57 ` Jerome Glisse
2010-04-21 16:57 ` Nick Bowler
[not found] ` <20100421165758.GA23565-7BP4RkwGw0uXmMXjJBpWqg@public.gmane.org>
2010-04-23 10:23 ` Jerome Glisse
[not found] ` <20100423102338.GA3151-N6zOBCg9HoVSq9BJjBFyUp/QNRX+jHPU@public.gmane.org>
2010-04-23 15:31 ` Nick Bowler
2010-04-21 2:02 ` Ben Gamari
2010-04-21 5:14 ` Rafael J. Wysocki
-- strict thread matches above, loose matches on Subject: below --
2010-06-13 14:45 2.6.35-rc3: Reported regressions 2.6.33 -> 2.6.34 Rafael J. Wysocki
2010-06-13 14:48 ` [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e Rafael J. Wysocki
2010-06-13 17:08 ` Pekka Enberg
2010-06-15 14:49 ` Christoph Lameter
2010-05-09 21:13 2.6.34-rc6-git6: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-05-09 21:17 ` [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e Rafael J. Wysocki
2010-05-04 20:49 2.6.34-rc6-git2: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-05-04 21:21 ` [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e Rafael J. Wysocki
2010-04-07 21:08 2.6.34-rc3-git6: Reported regressions from 2.6.33 Rafael J. Wysocki
2010-04-07 21:13 ` [Bug #15713] hackbench regression due to commit 9dfc6e68bfe6e Rafael J. Wysocki
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=1272332477.2078.674.camel@ymzhang.sh.intel.com \
--to=yanmin_zhang@linux.intel.com \
--cc=alex.shi@intel.com \
--cc=cl@linux.com \
--cc=kernel-testers@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=maciej.rutecki@gmail.com \
--cc=penberg@cs.helsinki.fi \
--cc=rjw@sisk.pl \
--cc=tim.c.chen@intel.com \
--cc=tj@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;
as well as URLs for NNTP newsgroup(s).