RE: [LKP] [lkp-robot] [brd] 316ba5736c: aim7.jobs-per-min -11.2% regression

2018-07-26 Thread Wang, Kemi
Hi, SeongJae Any update or any info you need from my side? -Original Message- From: SeongJae Park [mailto:sj38.p...@gmail.com] Sent: Wednesday, July 11, 2018 12:53 AM To: Wang, Kemi Cc: Ye, Xiaolong ; ax...@kernel.dk; ax...@fb.com; l...@01.org; linux-kernel@vger.kernel.org Subject: Re

Re: [LKP] [lkp-robot] [brd] 316ba5736c: aim7.jobs-per-min -11.2% regression

2018-07-09 Thread kemi
Hi, SeongJae Do you have any input for this regression? thanks On 2018年06月04日 13:52, kernel test robot wrote: > > Greeting, > > FYI, we noticed a -11.2% regression of aim7.jobs-per-min due to commit: > > > commit: 316ba5736c9caa5dbcd84085989862d2df57431d ("brd: Mark as > non-rotational") >

RE: [PATCH v11 00/26] Speculative page faults

2018-05-28 Thread Wang, Kemi
@gmail.com; Andrea Arcangeli <aarca...@redhat.com>; Alexei Starovoitov <alexei.starovoi...@gmail.com>; Wang, Kemi <kemi.w...@intel.com>; Daniel Jordan <daniel.m.jor...@oracle.com>; David Rientjes <rient...@google.com>; Jerome Glisse <jgli...@redhat.com>; Ganesh M

Re: [LKP] [lkp-robot] [iversion] c0cef30e4f: aim7.jobs-per-min -18.0% regression

2018-03-15 Thread kemi
Hi, Jeff Today, I deleted the previous kernel images for commit 3da90b159b146672f830bcd2489dd3a1f4e9e089 and commit c0cef30e4ff0dc025f4a1660b8f0ba43ed58426e, respectively. And, re-run the same aim7 jobs for three times for each commit. The aim7 score between two commit does not have obvious

Re: [LKP] [lkp-robot] [iversion] c0cef30e4f: aim7.jobs-per-min -18.0% regression

2018-03-01 Thread kemi
On 2018年02月28日 01:04, Linus Torvalds wrote: > On Tue, Feb 27, 2018 at 5:43 AM, David Howells wrote: >> Is it possible there's a stall between the load of RCX and the subsequent >> instructions because they all have to wait for RCX to become available? > > No. Modern Intel

Re: [LKP] [lkp-robot] [iversion] c0cef30e4f: aim7.jobs-per-min -18.0% regression

2018-02-26 Thread kemi
On 2018年02月26日 20:33, Jeff Layton wrote: > On Mon, 2018-02-26 at 06:43 -0500, Jeff Layton wrote: >> On Mon, 2018-02-26 at 16:38 +0800, Ye Xiaolong wrote: >>> On 02/25, Jeff Layton wrote: On Sun, 2018-02-25 at 23:05 +0800, kernel test robot wrote: > Greeting, > > FYI, we noticed

Re: [PATCH v2] buffer: Avoid setting buffer bits that are already set

2018-02-02 Thread kemi
Hi, Jens Could you help to merge this patch to your tree? Thanks On 2017年11月03日 10:29, kemi wrote: > > > On 2017年10月24日 09:16, Kemi Wang wrote: >> It's expensive to set buffer flags that are already set, because that >> causes a costly cache line transition. >>

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-21 Thread kemi
On 2017年12月22日 01:10, Christopher Lameter wrote: > On Thu, 21 Dec 2017, kemi wrote: > >> Some thinking about that: >> a) the overhead due to cache bouncing caused by NUMA counter update in fast >> path >> severely increase with more and more CPUs cores >>

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-21 Thread kemi
On 2017年12月21日 16:59, Michal Hocko wrote: > On Thu 21-12-17 16:23:23, kemi wrote: >> >> >> On 2017年12月21日 16:17, Michal Hocko wrote: > [...] >>> Can you see any difference with a more generic workload? >>> >> >> I didn't see obvious im

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-21 Thread kemi
On 2017年12月21日 16:17, Michal Hocko wrote: > On Thu 21-12-17 16:06:50, kemi wrote: >> >> >> On 2017年12月20日 18:12, Michal Hocko wrote: >>> On Wed 20-12-17 13:52:14, kemi wrote: >>>> >>>> >>>> On 2017年12月19日 20:40, Michal Hocko wrot

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-21 Thread kemi
On 2017年12月20日 18:12, Michal Hocko wrote: > On Wed 20-12-17 13:52:14, kemi wrote: >> >> >> On 2017年12月19日 20:40, Michal Hocko wrote: >>> On Tue 19-12-17 14:39:24, Kemi Wang wrote: >>>> We have seen significant overhead in cache bouncing caused by NUMA c

Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-20 Thread kemi
On 2017年12月20日 23:58, Christopher Lameter wrote: > On Wed, 20 Dec 2017, kemi wrote: > >>> You are making numastats special and I yet haven't heard any sounds >>> arguments for that. But that should be discussed in the respective >>> patch. >>> >>

Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-20 Thread kemi
On 2017年12月20日 18:06, Michal Hocko wrote: > On Wed 20-12-17 14:07:35, kemi wrote: >> >> >> On 2017年12月19日 20:43, Michal Hocko wrote: >>> On Tue 19-12-17 14:39:25, Kemi Wang wrote: >>>> To avoid deviation, this patch uses node_page_state_snapshot ins

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-20 Thread kemi
On 2017年12月20日 18:12, Michal Hocko wrote: > On Wed 20-12-17 13:52:14, kemi wrote: >> >> >> On 2017年12月19日 20:40, Michal Hocko wrote: >>> On Tue 19-12-17 14:39:24, Kemi Wang wrote: >>>> We have seen significant overhead in cache bouncing caused by NUMA c

Re: [PATCH v2 2/5] mm: Extends local cpu counter vm_diff_nodestat from s8 to s16

2017-12-19 Thread kemi
On 2017年12月20日 01:21, Christopher Lameter wrote: > On Tue, 19 Dec 2017, Michal Hocko wrote: > >>> Well the reason for s8 was to keep the data structures small so that they >>> fit in the higher level cpu caches. The large these structures become the >>> more cachelines are used by the counters

Re: [PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-19 Thread kemi
On 2017年12月19日 20:43, Michal Hocko wrote: > On Tue 19-12-17 14:39:25, Kemi Wang wrote: >> To avoid deviation, this patch uses node_page_state_snapshot instead of >> node_page_state for node page stats query. >> e.g. cat /proc/zoneinfo >> cat /sys/devices/system/no

Re: [PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-19 Thread kemi
On 2017年12月19日 20:40, Michal Hocko wrote: > On Tue 19-12-17 14:39:24, Kemi Wang wrote: >> We have seen significant overhead in cache bouncing caused by NUMA counters >> update in multi-threaded page allocation. See 'commit 1d90ca897cb0 ("mm: >> update NUMA counter

Re: [PATCH v2 1/5] mm: migrate NUMA stats from per-zone to per-node

2017-12-19 Thread kemi
On 2017年12月19日 20:28, Michal Hocko wrote: > On Tue 19-12-17 14:39:22, Kemi Wang wrote: >> There is not really any use to get NUMA stats separated by zone, and >> current per-zone NUMA stats is only consumed in /proc/zoneinfo. For code >> cleanup purpose, we move NUMA stats

Re: [PATCH v2 2/5] mm: Extends local cpu counter vm_diff_nodestat from s8 to s16

2017-12-19 Thread kemi
On 2017年12月19日 20:38, Michal Hocko wrote: > On Tue 19-12-17 14:39:23, Kemi Wang wrote: >> The type s8 used for vm_diff_nodestat[] as local cpu counters has the >> limitation of global counters update frequency, especially for those >> monotone increasing type of counte

[PATCH v2 1/5] mm: migrate NUMA stats from per-zone to per-node

2017-12-18 Thread Kemi Wang
com> Suggested-by: Michal Hocko <mho...@kernel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- drivers/base/node.c| 23 +++ include/linux/mmzone.h | 27 include/linux/vmstat.h | 31 - mm/mempolicy.c | 2 +- mm/page_alloc.c| 16

[PATCH v2 5/5] mm: Rename zone_statistics() to numa_statistics()

2017-12-18 Thread Kemi Wang
Since the functionality of zone_statistics() updates numa counters, but numa statistics has been separated from zone statistics framework. Thus, the function name makes people confused. So, change the name to numa_statistics() as well as its call sites accordingly. Signed-off-by: Kemi Wang

[PATCH v2 4/5] mm: use node_page_state_snapshot to avoid deviation

2017-12-18 Thread Kemi Wang
worry about it. Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- drivers/base/node.c | 17 ++--- mm/vmstat.c | 2 +- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/drivers/base/node.c b/drivers/base/node.c index a045ea1..cf303f8 100644 --- a/driver

[PATCH v2 2/5] mm: Extends local cpu counter vm_diff_nodestat from s8 to s16

2017-12-18 Thread Kemi Wang
any functionality change. before after sizeof(struct per_cpu_nodestat)28 68 Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- include/linux/mmzone.h | 4 ++-- mm/vmstat.c| 16 2 files changed, 10 insertions(

[PATCH v2 3/5] mm: enlarge NUMA counters threshold size

2017-12-18 Thread Kemi Wang
ith global counter update using different threshold size for node page stats. Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- mm/vmstat.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/mm/vmstat.c b/mm/vmstat.c index 9c681cc..64e08ae 100644 --- a/mm/v

[PATCH v2 0/5] mm: NUMA stats code cleanup and enhancement

2017-12-18 Thread Kemi Wang
ucture for node page stats by entending local cpu counters vm_node_stat_diff from s8 to s16 b) reuse the per-cpu infrastrcuture for NUMA stats Kemi Wang (5): mm: migrate NUMA stats from per-zone to per-node mm: Extends local cpu counter vm_diff_nodestat from s8 to s16 mm: enlarge NUMA co

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-14 Thread kemi
On 2017年12月14日 15:29, Michal Hocko wrote: > On Thu 14-12-17 09:40:32, kemi wrote: >> >> >> or sometimes >> NUMA stats can't be disabled in their environments. > > why? > >> That's the reason >> why we spent time to do that optimization oth

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-13 Thread kemi
On 2017年12月12日 16:11, Michal Hocko wrote: > On Tue 12-12-17 10:05:26, kemi wrote: >> >> >> On 2017年12月08日 16:47, Michal Hocko wrote: >>> On Fri 08-12-17 16:38:46, kemi wrote: >>>> >>>> >>>> On 2017年11月30日 17:45, Michal Hocko

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-11 Thread kemi
On 2017年12月08日 16:47, Michal Hocko wrote: > On Fri 08-12-17 16:38:46, kemi wrote: >> >> >> On 2017年11月30日 17:45, Michal Hocko wrote: >>> On Thu 30-11-17 17:32:08, kemi wrote: >> >> After thinking about how to optimize our per-node stats more gracef

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-12-08 Thread kemi
On 2017年11月30日 17:45, Michal Hocko wrote: > On Thu 30-11-17 17:32:08, kemi wrote: > Do not get me wrong. If we want to make per-node stats more optimal, > then by all means let's do that. But having 3 sets of counters is just > way to much. > Hi, Michal Apologize t

RE: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-11-30 Thread Wang, Kemi
Of course, we should do that AFAP. Thanks for your comments :) -Original Message- From: owner-linux...@kvack.org [mailto:owner-linux...@kvack.org] On Behalf Of Michal Hocko Sent: Thursday, November 30, 2017 5:45 PM To: Wang, Kemi <kemi.w...@intel.com> Cc: Greg Kroah-Hartma

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-11-30 Thread kemi
On 2017年11月30日 16:53, Michal Hocko wrote: > On Thu 30-11-17 13:56:13, kemi wrote: >> >> >> On 2017年11月29日 20:17, Michal Hocko wrote: >>> On Tue 28-11-17 14:00:23, Kemi Wang wrote: >>>> The existed implementation of NUMA counters is per logical CPU alon

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-11-29 Thread kemi
On 2017年11月29日 20:17, Michal Hocko wrote: > On Tue 28-11-17 14:00:23, Kemi Wang wrote: >> The existed implementation of NUMA counters is per logical CPU along with >> zone->vm_numa_stat[] separated by zone, plus a global numa counter array >> vm_numa_stat[]. However,

Re: [PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-11-28 Thread kemi
On 2017年11月28日 16:09, Vlastimil Babka wrote: > On 11/28/2017 07:00 AM, Kemi Wang wrote: >> The existed implementation of NUMA counters is per logical CPU along with >> zone->vm_numa_stat[] separated by zone, plus a global numa counter array >> vm_numa_stat[]. However,

[PATCH 2/2] mm: Rename zone_statistics() to numa_statistics()

2017-11-27 Thread Kemi Wang
Since numa statistics has been separated from zone statistics framework, but the functionality of zone_statistics() updates numa counters. Thus, the function name makes people confused. So, change the name to numa_statistics() as well as its call sites accordingly. Signed-off-by: Kemi Wang

[PATCH 1/2] mm: NUMA stats code cleanup and enhancement

2017-11-27 Thread Kemi Wang
sys 0m0.000s node/node*/numastat We would not worry it much as it is a slow path and will not be read frequently. Suggested-by: Andi Kleen <a...@linux.intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- drivers/base/node.c| 14 ++--- include/linux/mmzone.h |

Re: [01/18] x86/asm/64: Remove the restore_c_regs_and_iret label

2017-11-09 Thread kemi
Some performance regression/improvement is reported by LKP-tools for this patch series tested with Intel Atom processor. So, post the data here for your reference. Branch:x86/entry_consolidation Commit id: base:50da9d439392fdd91601d36e7f05728265bff262

Re: mm, vmstat: Make sure mutex is a global static

2017-11-08 Thread kemi
On 2017年11月08日 05:38, Kees Cook wrote: > The mutex in sysctl_vm_numa_stat_handler() needs to be a global static, not > a stack variable, otherwise it doesn't serve any purpose. Also, reading the > file with CONFIG_LOCKDEP=y will complain: > It's my mistake. Kees, thanks for catching it. > [

Re: [PATCH v2] buffer: Avoid setting buffer bits that are already set

2017-11-02 Thread kemi
On 2017年10月24日 09:16, Kemi Wang wrote: > It's expensive to set buffer flags that are already set, because that > causes a costly cache line transition. > > A common case is setting the "verified" flag during ext4 writes. > This patch checks for the flag being set first.

Re: [v5,22/22] powerpc/mm: Add speculative page fault

2017-10-26 Thread kemi
Some regression is found by LKP-tools(linux kernel performance) on this patch series tested on Intel 2s/4s Skylake platform. The regression result is sorted by the metric will-it-scale.per_process_ops. Branch:Laurent-Dufour/Speculative-page-faults/20171011-213456(V4 patch series) Commit id:

Re: [PATCH] buffer: Avoid setting buffer bits that are already set

2017-10-23 Thread kemi
On 2017年10月24日 09:21, Andi Kleen wrote: > kemi <kemi.w...@intel.com> writes: >> >> I'll see if I can find some >>> time to implement the above in a nice way. >> >> Agree. Maybe something like test_and_set_bit() would be more suitable. > >

[PATCH v2] buffer: Avoid setting buffer bits that are already set

2017-10-23 Thread Kemi Wang
riginal patch is contributed by Andi Kleen. Signed-off-by: Andi Kleen <a...@linux.intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> Tested-by: Kemi Wang <kemi.w...@intel.com> Reviewed-by: Jens Axboe <ax...@kernel.dk> --- include/linux/buffer_head.h | 5 - 1 file

Re: [PATCH] buffer: Avoid setting buffer bits that are already set

2017-10-23 Thread kemi
On 2017年10月24日 00:19, Jens Axboe wrote: > On 10/23/2017 10:27 AM, Kemi Wang wrote: >> It's expensive to set buffer flags that are already set, because that >> causes a costly cache line transition. >> >> A common case is setting the "verified" flag dur

[PATCH] buffer: Avoid setting buffer bits that are already set

2017-10-23 Thread Kemi Wang
riginal patch is contributed by Andi Kleen. Signed-off-by: Andi Kleen <a...@linux.intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> Tested-by: Kemi Wang <kemi.w...@intel.com> --- include/linux/buffer_head.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --gi

[PATCH v5] mm, sysctl: make NUMA stats configurable

2017-10-17 Thread Kemi Wang
ed-by: Jesper Dangaard Brouer <bro...@redhat.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- Documentation/sysctl/vm.txt | 16 +++ include/linux/vmstat.h

Re: [PATCH v4] mm, sysctl: make NUMA stats configurable

2017-10-17 Thread kemi
On 2017年10月17日 15:54, Michal Hocko wrote: > On Tue 17-10-17 09:20:58, Kemi Wang wrote: > [...] > > Other than two remarks below, it looks good to me and it also looks > simpler. > >> diff --git a/mm/vmstat.c b/mm/vmstat.c >> index 4bb13e7..e746ed1 100644 &g

[PATCH v4] mm, sysctl: make NUMA stats configurable

2017-10-16 Thread Kemi Wang
by: Jesper Dangaard Brouer <bro...@redhat.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- Documentation/sysctl/vm.txt | 16 +++ include/linux/vmstat.h |

Re: [PATCH v3] mm, sysctl: make NUMA stats configurable

2017-10-09 Thread kemi
On 2017年10月10日 13:49, Michal Hocko wrote: > On Mon 09-10-17 09:55:49, Michal Hocko wrote: >> I haven't checked closely but what happens (or should happen) when you >> do a partial read? Should you get an inconsistent results? Or is this >> impossible? > > Well, after thinking about it little

Re: [PATCH v3] mm, sysctl: make NUMA stats configurable

2017-10-09 Thread kemi
On 2017年10月03日 17:23, Michal Hocko wrote: > On Thu 28-09-17 14:11:41, Kemi Wang wrote: >> This is the second step which introduces a tunable interface that allow >> numa stats configurable for optimizing zone_statistics(), as suggested by >> Dave

Re: [PATCH v3] mm, sysctl: make NUMA stats configurable

2017-10-08 Thread kemi
On 2017年09月29日 15:03, Vlastimil Babka wrote: > On 09/28/2017 08:11 AM, Kemi Wang wrote: >> This is the second step which introduces a tunable interface that allow >> numa stats configurable for optimizing zone_statistics(), as suggested by >> Dave

Re: [PATCH v3] mm, sysctl: make NUMA stats configurable

2017-09-28 Thread kemi
On 2017年09月29日 05:29, Andrew Morton wrote: > On Thu, 28 Sep 2017 14:11:41 +0800 Kemi Wang <kemi.w...@intel.com> wrote: > >> This is the second step which introduces a tunable interface that allow >> numa stats configurable for optimizing zone_statistics(), as sug

[PATCH v3] mm, sysctl: make NUMA stats configurable

2017-09-28 Thread Kemi Wang
Dangaard Brouer <bro...@redhat.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- Documentation/sysctl/vm.txt | 24 + drivers/base/node.c | 4 ++ include/li

Re: [PATCH v2] mm, sysctl: make VM stats configurable

2017-09-25 Thread kemi
On 2017年09月25日 09:36, Huang, Ying wrote: > Kemi Wang <kemi.w...@intel.com> writes: > >> This is the second step which introduces a tunable interface that allow VM >> stats configurable for optimizing zone_statistics(), as suggested by Dave

[PATCH v2] mm, sysctl: make VM stats configurable

2017-09-22 Thread Kemi Wang
label to eliminate the overhead of branch selection; c) Add a single-time log message at boot time to help tell users what happened. Reported-by: Jesper Dangaard Brouer <bro...@redhat.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com&

Re: [PATCH 2/3] mm: Handle numa statistics distinctively based-on different VM stats modes

2017-09-17 Thread kemi
On 2017年09月18日 12:13, Dave Hansen wrote: > On 09/17/2017 08:07 PM, kemi wrote: >>>> + if (vmstat_mode) { >>>> + if (vmstat_mode == VMSTAT_COARSE_MODE) >>>> + return; >>>> + } else if (disable_zone_statistics)

Re: [PATCH 1/3] mm, sysctl: make VM stats configurable

2017-09-17 Thread kemi
On 2017年09月15日 19:49, Michal Hocko wrote: > On Fri 15-09-17 17:23:24, Kemi Wang wrote: >> This patch adds a tunable interface that allows VM stats configurable, as >> suggested by Dave Hansen and Ying Huang. >> >> When performance becomes a bottleneck and you can tol

Re: [PATCH 2/3] mm: Handle numa statistics distinctively based-on different VM stats modes

2017-09-17 Thread kemi
On 2017年09月15日 19:50, Michal Hocko wrote: > On Fri 15-09-17 17:23:25, Kemi Wang wrote: > [...] >> @@ -2743,6 +2745,17 @@ static inline void zone_statistics(struct zone >> *preferred_zone, struct zone *z) >> #ifdef CONFIG_NUMA >> enum numa_sta

Re: [PATCH 1/3] mm, sysctl: make VM stats configurable

2017-09-17 Thread kemi
On 2017年09月15日 22:28, Michal Hocko wrote: > On Fri 15-09-17 07:16:23, Dave Hansen wrote: >> On 09/15/2017 04:49 AM, Michal Hocko wrote: >>> Why do we need an auto-mode? Is it safe to enforce by default. >> >> Do we *need* it? Not really. >> >> But, it does offer the best of both worlds: The

RE: [PATCH 1/3] mm, sysctl: make VM stats configurable

2017-09-15 Thread Wang, Kemi
-Original Message- From: Michal Hocko [mailto:mho...@kernel.org] Sent: Friday, September 15, 2017 7:50 PM To: Wang, Kemi <kemi.w...@intel.com> Cc: Luis R . Rodriguez <mcg...@kernel.org>; Kees Cook <keesc...@chromium.org>; Andrew Morton <a...@linux-foundation.org&g

[PATCH 2/3] mm: Handle numa statistics distinctively based-on different VM stats modes

2017-09-15 Thread Kemi Wang
ub.com/netoptimizer/prototype-kernel/tree/master/kernel/mm/ bench Reported-by: Jesper Dangaard Brouer <bro...@redhat.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- drivers/b

[PATCH 1/3] mm, sysctl: make VM stats configurable

2017-09-15 Thread Kemi Wang
..@intel.com> Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- include/linux/vmstat.h | 14 ++ kernel/sysctl.c| 7 + mm/vmstat.c| 70 ++ 3 files changed, 91 insertions(+) diff --git a/include/linux/vmstat.h b/inc

[PATCH 3/3] sysctl/vm.txt: Update document

2017-09-15 Thread Kemi Wang
Add a paragraph to introduce the functionality and usage on vmstat_mode in sysctl/vm.txt Reported-by: Jesper Dangaard Brouer <bro...@redhat.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> Signed-off-by: Kemi Wang &l

[PATCH 0/3] Handle zone statistics distinctively based-on

2017-09-15 Thread Kemi Wang
hreads for single page allocation. The third patch updates ABI document accordingly. Kemi Wang (3): mm, sysctl: make VM stats configurable mm: Handle numa statistics distinctively based-on different VM stats modes sysctl/vm.txt: Update document Documentation/sysctl/vm.txt

[PATCH v2 2/3] mm: Update NUMA counter threshold size

2017-08-24 Thread Kemi Wang
hreshold. d) Move zone_numa_state_snapshot() to an individual patch, since it does not appear to be related to this patch. Signed-off-by: Kemi Wang <kemi.w...@intel.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> --- inclu

[PATCH v2 0/3] Separate NUMA statistics from zone statistics

2017-08-24 Thread Kemi Wang
489009617 3 395 488017817 65533 369(-31.3%) 521661345(+45.3%) <==> with this patchset N/A 342(-36.3%) 562900157(+56.8%) <==> disable zone_statistics Kemi Wang (3): mm: Change the call sites of numa statistics items mm: Update NUMA counter threshol

[PATCH v2 1/3] mm: Change the call sites of numa statistics items

2017-08-24 Thread Kemi Wang
. Changelog: v2: a) Modify the name of numa-stats-specific functions and params to avoid confusion with those for zone/node page stats. b) Get rid of showing the number of numa stat threshold in /proc/zoneinfo since the value of this item is a constant. Signed-off-by: Kemi Wang <kemi.w...@intel.

[PATCH v2 3/3] mm: Consider the number in local CPUs when *reads* NUMA stats

2017-08-24 Thread Kemi Wang
. Changelog: v2: a) new creation. Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- include/linux/vmstat.h | 6 +- mm/vmstat.c| 9 +++-- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/include/linux/vmstat.h b/include/linux/vmstat.h index a29bd98..72e9ca6

Re: [PATCH 0/2] Separate NUMA statistics from zone statistics

2017-08-22 Thread kemi
On 2017年08月23日 05:22, Christopher Lameter wrote: > Can we simple get rid of the stats or make then configurable (off by > defaut)? I agree they are rarely used and have been rarely used in the past. > I agree that we can make numa stats as well as other stats items that are rarely used

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-21 Thread kemi
On 2017年08月15日 17:58, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: >> Threshold CPU cyclesThroughput(88 threads) >> 32 799 241760478 >> 64 640 301628829 >> 125 537

Re: [PATCH 0/2] Separate NUMA statistics from zone statistics

2017-08-15 Thread kemi
On 2017年08月15日 18:36, Jesper Dangaard Brouer wrote: > On Tue, 15 Aug 2017 16:45:34 +0800 > Kemi Wang <kemi.w...@intel.com> wrote: > >> Each page allocation updates a set of per-zone statistics with a call to >> zone_statistics(). As discussed in 2017 MM subm

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread kemi
On 2017年08月16日 00:55, Tim Chen wrote: > On 08/15/2017 02:58 AM, Mel Gorman wrote: >> On Tue, Aug 15, 2017 at 04:45:36PM +0800, Kemi Wang wrote: >> I'm fairly sure this pushes the size of that structure into the next >> cache line which is not welcome. >>>&g

Re: [PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread kemi
>> >> -static inline unsigned long zone_numa_state(struct zone *zone, >> +static inline unsigned long zone_numa_state_snapshot(struct zone *zone, >> enum zone_numa_stat_item item) >> { >> long x = atomic_long_read(>vm_numa_stat[item]); >> +int cpu;

Re: [PATCH 1/2] mm: Change the call sites of numa statistics items

2017-08-15 Thread kemi
On 2017年08月15日 17:49, Mel Gorman wrote: > On Tue, Aug 15, 2017 at 04:45:35PM +0800, Kemi Wang wrote: >> In this patch, NUMA statistics is separated from zone statistics >> framework, all the call sites of NUMA stats are changed to use >> numa-stats-specific functions,

[PATCH 1/2] mm: Change the call sites of numa statistics items

2017-08-15 Thread Kemi Wang
threshold: 10* ... The next patch updates the numa stats counter size and threshold. Signed-off-by: Kemi Wang <kemi.w...@intel.com> --- drivers/base/node.c| 22 --- include/linux/mmzone.h | 25 +--- include/linux/vmstat.h

[PATCH 0/2] Separate NUMA statistics from zone statistics

2017-08-15 Thread Kemi Wang
395 488017817 32765 394(-26.6%) 488932078(+36.2%) <==> with this patchset N/A 342(-36.3%) 562900157(+56.8%) <==> disable zone_statistics Kemi Wang (2): mm: Change the call sites of numa statistics items mm: Update NUMA counter threshold size driv

[PATCH 2/2] mm: Update NUMA counter threshold size

2017-08-15 Thread Kemi Wang
with this patchset N/A 342(-36.3%) 562900157(+56.8%) <==> disable zone_statistics Signed-off-by: Kemi Wang <kemi.w...@intel.com> Suggested-by: Dave Hansen <dave.han...@intel.com> Suggested-by: Ying Huang <ying.hu...@intel.com> --- include/linux/mmzone.h | 4 ++

Parport probe

2001-04-05 Thread Jakob Kemi
Hi all. Ok, maybe this isn't the right list for this question. In 2.2.x the parport_probe module extracted the ieee1284 device id correctly and added to the proc fs. However this doesn't seem to work for me in 2.4.x I only have one device to test it on and since I know there have been some

No Subject

2001-04-02 Thread Jakob Kemi
Hi all. Ok, maybe this isn't the right list for this question. In 2.2.x the parport_probe module extracted the ieee1284 device id correctly and added to the proc fs. However this doesn't seem to work for me in 2.4.x I only have one device to test it on and since I know there have been some

w9966cf v4l driver homepage

2001-03-31 Thread Jakob Kemi
The w9966cf webcam v4l driver now has a homepage: http://hem.fyristorg.com/mogul/w9966.html - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the

[PATCH] New video4linux device driver announcement.

2001-03-29 Thread Jakob Kemi
:02:00 2001 @@ -0,0 +1,37 @@ + +W9966 Camera driver, written by Jakob Kemi ([EMAIL PROTECTED]) + +Ok, after a lot of work in softice, wdasm, reading pdf-files +and trial-and-error work I've finally got everything to work. +Since I needed some vision for a robotics project I borrowed +this camera

New video4linux device driver announcement.

2001-03-27 Thread Jakob Kemi
/Documentation/video4linux/w9966.txt linux-2.4.2/Documentation/video4linux/w9966.txt --- linux-vanilla/Documentation/video4linux/w9966.txt Thu Jan 1 01:00:00 1970 +++ linux-2.4.2/Documentation/video4linux/w9966.txt Tue Mar 27 01:02:00 2001 @@ -0,0 +1,37 @@ + +W9966 Camera driver, written by Jakob Kemi