login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
September
»
10
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from struct page
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [thread] [
date
] [
author
]
[view in full thread]
From:
Balbir Singh <balbir@...>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@...>
Cc: Nick Piggin <nickpiggin@...>, Andrew Morton <akpm@...>, <hugh@...>, <menage@...>, <xemul@...>, <linux-kernel@...>, <linux-mm@...>
Subject:
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from struct page
Date: Wednesday, September 10, 2008 - 10:34 am
KAMEZAWA Hiroyuki wrote:
quoted text
> On Thu, 11 Sep 2008 07:02:44 +1000 > Nick Piggin <nickpiggin@yahoo.com.au> wrote: > >> On Wednesday 10 September 2008 21:03, KAMEZAWA Hiroyuki wrote: >>> On Thu, 11 Sep 2008 06:44:37 +1000 >>> >>> Nick Piggin <nickpiggin@yahoo.com.au> wrote: >>>> On Wednesday 10 September 2008 11:49, KAMEZAWA Hiroyuki wrote: >>>>> On Tue, 9 Sep 2008 18:20:48 -0700 >>>>> >>>>> Balbir Singh <balbir@linux.vnet.ibm.com> wrote: >>>>>> * KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> [2008-09-09 >>>>>> 21:30:12]: OK, here is approach #2, it works for me and gives me >>>>>> really good performance (surpassing even the current memory >>>>>> controller). I am seeing almost a 7% increase >>>>> This number is from pre-allcation, maybe. >>>>> We really do alloc-at-boot all page_cgroup ? This seems a big change. >>>> It seems really nice to me -- we get the best of both worlds, less >>>> overhead for those who don't enable the memory controller, and even >>>> better performance for those who do. >>> No trobles for me for allocating-all-at-boot policy. >>> My small concern is >>> - wasting page_cgroup for hugepage area. >>> - memory hotplug >> In those cases you still waste the struct page area too. I realise that >> isn't a good way to justify even more wastage. But I guess it is >> relatively low. At least, I would think the users would be more happy to >> get a 7% performance increase for small pages! :) >> > I guess the increase mostly because we can completely avoid kmalloc/kfree slow path. >
Correct
quoted text
> Balbir, how about fix our way to allocate-all-at-boot-policy ? > If you say yes, I think I can help you and I'll find usable part from my garbage. >
I am perfectly fine with it, I'll need your expertise to get the alloc-at-boot-policy correct.
quoted text
> Following is lockless+remove-page-cgroup-pointer-from-page-struct patch's result. > > rc5-mm1 > == > Execl Throughput 3006.5 lps (29.8 secs, 3 samples) > C Compiler Throughput 1006.7 lpm (60.0 secs, 3 samples) > Shell Scripts (1 concurrent) 4863.7 lpm (60.0 secs, 3 samples) > Shell Scripts (8 concurrent) 943.7 lpm (60.0 secs, 3 samples) > Shell Scripts (16 concurrent) 482.7 lpm (60.0 secs, 3 samples) > Dc: sqrt(2) to 99 decimal places 124804.9 lpm (30.0 secs, 3 samples) > > lockless > == > Execl Throughput 3035.5 lps (29.6 secs, 3 samples) > C Compiler Throughput 1010.3 lpm (60.0 secs, 3 samples) > Shell Scripts (1 concurrent) 4881.0 lpm (60.0 secs, 3 samples) > Shell Scripts (8 concurrent) 947.7 lpm (60.0 secs, 3 samples) > Shell Scripts (16 concurrent) 485.0 lpm (60.0 secs, 3 samples) > Dc: sqrt(2) to 99 decimal places 125437.9 lpm (30.0 secs, 3 samples) > > lockless + remove page cgroup pointer (my version). > == > Execl Throughput 3021.1 lps (29.5 secs, 3 samples) > C Compiler Throughput 980.3 lpm (60.0 secs, 3 samples) > Shell Scripts (1 concurrent) 4600.0 lpm (60.0 secs, 3 samples) > Shell Scripts (8 concurrent) 915.7 lpm (60.0 secs, 3 samples) > Shell Scripts (16 concurrent) 468.3 lpm (60.0 secs, 3 samples) > Dc: sqrt(2) to 99 decimal places 124909.1 lpm (30.0 secs, 3 samples) > > Oh,yes. siginificant slow down. I'm glad to kick this patch out to trash box. > > Thanks, > -Kame >
-- Thanks, Balbir --
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:
[RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 1:47 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Pavel Emelyanov
, (Mon Sep 1, 5:03 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 5:17 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Peter Zijlstra
, (Mon Sep 1, 9:19 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 3:35 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Pavel Emelyanov
, (Mon Sep 1, 5:43 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 10:39 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 11:42 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 8:01 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Mon Sep 1, 2:56 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 3:17 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 1, 3:19 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Mon Sep 1, 3:43 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 5:24 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 6:02 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 5:58 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 6:07 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 6:12 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 6:57 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 8:37 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 11:33 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 8, 11:28 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 8, 11:57 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 9, 12:18 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 3:37 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 12:55 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Mon Sep 8, 11:58 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 12:53 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Tue Sep 9, 1:00 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 1:12 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 9, 8:24 am)
Re: Re: [RFC][PATCH] Remove cgroup member from struct page
,
, (Tue Sep 9, 8:30 am)
[Approach #2] [RFC][PATCH] Remove cgroup member from struct ...
, Balbir Singh
, (Tue Sep 9, 9:20 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Dave Hansen
, (Wed Sep 10, 6:21 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Nick Piggin
, (Wed Sep 10, 6:38 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Balbir Singh
, (Wed Sep 10, 6:36 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Dave Hansen
, (Wed Sep 10, 6:56 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 9:35 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Balbir Singh
, (Wed Sep 10, 9:47 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 9:56 pm)
[RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Wed Sep 17, 7:28 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Andrew Morton
, (Wed Sep 17, 9:40 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Thu Sep 18, 12:43 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Thu Sep 18, 12:58 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Thu Sep 18, 7:01 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Thu Sep 18, 7:56 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Thu Sep 18, 1:15 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Hirokazu Takahashi
, (Thu Sep 18, 12:26 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Thu Sep 18, 12:50 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Hirokazu Takahashi
, (Thu Sep 18, 2:13 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Wed Sep 17, 11:57 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Thu Sep 18, 1:00 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, David Miller
, (Wed Sep 10, 6:31 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 9:49 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Nick Piggin
, (Wed Sep 10, 4:44 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 7:03 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Nick Piggin
, (Wed Sep 10, 5:02 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 7:27 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Balbir Singh
, (Wed Sep 10, 10:34 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, Balbir Singh
, (Tue Sep 9, 10:11 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from str...
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 10:35 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 9, 8:34 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Tue Sep 9, 8:28 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Wed Sep 3, 3:31 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 11:28 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 1, 12:03 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 2:09 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 1, 2:24 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 2:25 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 1, 2:59 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 1, 1:17 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 2:16 am)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Rafael J. Wysocki
[Bug #10493] mips BCM47XX compile error
Ingo Molnar
[patch 02/13] syslets: add syslet.h include file, user API/ABI definitions
Greg KH
[GIT PATCH] driver core patches against 2.6.24
Andrea Arcangeli
[PATCH 00 of 11] mmu notifier #v16
git
:
linux-netdev
:
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
Gerrit Renker
[PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side)
Linus Torvalds
Re: [GIT]: Networking
Mark Lord
Re: [BUG] New Kernel Bugs
openbsd-misc
:
Colocation donated by:
Who's online
There are currently
3 users
and
878 guests
online.
Online users
strcmp
eleanorwarner43
forgive13
Syndicate