login
Login
/
Register
Search
Search this site:
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
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From: Balbir Singh
Subject:
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from struct page
Date: Wednesday, September 10, 2008 - 7: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, 10:47 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 5:01 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 7:39 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 8:28 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 8:42 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 9:03 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 10:17 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 11:09 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 11:16 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 11:24 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Sun Aug 31, 11:25 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Sun Aug 31, 11:56 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Sun Aug 31, 11:59 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 12:17 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 1, 12:19 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Mon Sep 1, 12:43 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Pavel Emelyanov
, (Mon Sep 1, 2:03 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 1, 2:17 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Pavel Emelyanov
, (Mon Sep 1, 2:43 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Peter Zijlstra
, (Mon Sep 1, 6:19 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 12:35 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 2:24 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 2:58 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 3:02 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 3:07 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 3:12 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 3:57 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 2, 5:37 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 2, 8:33 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Wed Sep 3, 12:31 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 8, 8:28 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 8, 8:57 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Mon Sep 8, 8:58 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Mon Sep 8, 9:18 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 8, 9:53 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 8, 9:55 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Mon Sep 8, 10:00 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Mon Sep 8, 10:12 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 12:37 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 9, 5:24 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Nick Piggin
, (Tue Sep 9, 5:28 am)
Re: Re: [RFC][PATCH] Remove cgroup member from struct page
, kamezawa.hiroyu
, (Tue Sep 9, 5:30 am)
Re: [RFC][PATCH] Remove cgroup member from struct page
, Balbir Singh
, (Tue Sep 9, 5:34 am)
[Approach #2] [RFC][PATCH] Remove cgroup member from struc ...
, Balbir Singh
, (Tue Sep 9, 6:20 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 6:49 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Balbir Singh
, (Tue Sep 9, 7:11 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, KAMEZAWA Hiroyuki
, (Tue Sep 9, 7:35 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 4:03 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 4:27 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Balbir Singh
, (Wed Sep 10, 7:34 am)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Nick Piggin
, (Wed Sep 10, 1:44 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Nick Piggin
, (Wed Sep 10, 2:02 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Dave Hansen
, (Wed Sep 10, 3:21 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, David Miller
, (Wed Sep 10, 3:31 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Balbir Singh
, (Wed Sep 10, 3:36 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Nick Piggin
, (Wed Sep 10, 3:38 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Dave Hansen
, (Wed Sep 10, 3:56 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 6:35 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, Balbir Singh
, (Wed Sep 10, 6:47 pm)
Re: [Approach #2] [RFC][PATCH] Remove cgroup member from s ...
, KAMEZAWA Hiroyuki
, (Wed Sep 10, 6:56 pm)
[RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Wed Sep 17, 4:28 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Andrew Morton
, (Wed Sep 17, 6:40 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Wed Sep 17, 8:57 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Hirokazu Takahashi
, (Wed Sep 17, 9:26 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Wed Sep 17, 9:43 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Wed Sep 17, 9:50 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Wed Sep 17, 9:58 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Wed Sep 17, 10:00 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Wed Sep 17, 10:15 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Hirokazu Takahashi
, (Wed Sep 17, 11:13 pm)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, KAMEZAWA Hiroyuki
, (Thu Sep 18, 4:01 am)
Re: [RFC][PATCH] Remove cgroup member from struct page (v3)
, Balbir Singh
, (Thu Sep 18, 4:56 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Eli Cohen
Re: LRO num of frags limit
Yinghai Lu
Re: Linux 2.6.27-rc5: System boot regression caused by commit a2bd7274b47124d2fc4d...
Paul Mackerras
Re: How to link a .o with all modules
David Howells
Re: [PATCH 3/17] afs: convert afs_dir_get_page to read_kmap_page
Linus Torvalds
Linux 2.6.34-rc4
git
:
Bill Lear
cpio command not found
Ben Schmidt
Getting the path right for git over SSH
Fredrik Kuivinen
Re: fatal: unable to create '.git/index': File exists
Laflen, Brandon (GE, Research)
RE: fatal: Unable to find remote helper for 'http'
Michael S. Tsirkin
git-kill: rewrite history removing a commit
linux-netdev
:
Johann Baudy
Packet mmap: TX RING and zero copy
Evgeniy Polyakov
Re: [2/3] POHMELFS: Documentation.
Eric W. Biederman
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control.
Yahoo Award Center
Yahoo 2011 Award Notice!!!
Stephen Hemminger
Re: NAPI, rx_no_buffer_count, e1000, r8169 and other actors
openbsd-misc
:
Anders Langworthy
Re: What does your environment look like?
badeguruji
A very good OpenLDAP tutorial - Notes
elitdostlar
Seks partneri arayan bayanlar bu adreste - 8878xs706x6438
Télé Loisirs
[Programme TV] Lundi 21 Décembre 2009
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
[ALSA] hda-codec - Add support for VIA VT1708B HD audio codec
Linux Kernel Mailing List
PCI hotplug: acpiphp: remove superfluous _HPP/_HPX evaluation
Linux Kernel Mailing List
powerpc/fsl_msi: enable msi allocation in all banks
Colocation donated by:
Syndicate