From: Alex Shi <lkml.alex@gmail.com>
To: Ingo Molnar <mingo@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org,
Paul Turner <pjt@google.com>,
Lee Schermerhorn <Lee.Schermerhorn@hp.com>,
Christoph Lameter <cl@linux.com>, Rik van Riel <riel@redhat.com>,
Mel Gorman <mgorman@suse.de>,
Andrew Morton <akpm@linux-foundation.org>,
Andrea Arcangeli <aarcange@redhat.com>,
Linus Torvalds <torvalds@linux-foundation.org>,
Peter Zijlstra <a.p.zijlstra@chello.nl>,
Thomas Gleixner <tglx@linutronix.de>,
Hugh Dickins <hughd@google.com>, Alex Shi <alex.shi@intel.com>
Subject: Re: [PATCH 00/19] latest numa/base patches
Date: Sat, 17 Nov 2012 16:35:38 +0800 [thread overview]
Message-ID: <CAGjg+kFUp_bACC-nze9og7+2XCXoURRunoTi4OY9-NgepU39mA@mail.gmail.com> (raw)
In-Reply-To: <1353083121-4560-1-git-send-email-mingo@kernel.org>
Just find imbalance issue on the patchset.
I write a one line program:
int main ()
{
int i;
for (i=0; i< 1; )
__asm__ __volatile__ ("nop");
}
it was compiled with name pl and start it on my 2 socket * 4 cores *
HT NUMA machine:
the cpu domain top like this:
domain 0: span 4,12 level SIBLING
groups: 4 (cpu_power = 589) 12 (cpu_power = 589)
domain 1: span 0,2,4,6,8,10,12,14 level MC
groups: 4,12 (cpu_power = 1178) 6,14 (cpu_power = 1178) 0,8
(cpu_power = 1178) 2,10 (cpu_power = 1178)
domain 2: span 0,2,4,6,8,10,12,14 level CPU
groups: 0,2,4,6,8,10,12,14 (cpu_power = 4712)
domain 3: span 0-15 level NUMA
groups: 0,2,4,6,8,10,12,14 (cpu_power = 4712) 1,3,5,7,9,11,13,15
(cpu_power = 4712)
$for ((i=0; i< I; i++)); do ./pl & done
when I = 2, they are running on cpu 0,12
I = 4, they are running on cpu 0,9,12,14
I = 8, they are running on cpu 0,4,9,10,11,12,13,14
Regards!
Alex
On Sat, Nov 17, 2012 at 12:25 AM, Ingo Molnar <mingo@kernel.org> wrote:
> This is the split-out series of mm/ patches that got no objections
> from the latest (v15) posting of numa/core. If everyone is still
> fine with these then these will be merge candidates for v3.8.
>
> I left out the more contentious policy bits that people are still
> arguing about.
>
> The numa/base tree can also be found here:
>
> git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git numa/base
>
> Thanks,
>
> Ingo
>
> ------------------->
>
> Andrea Arcangeli (1):
> numa, mm: Support NUMA hinting page faults from gup/gup_fast
>
> Gerald Schaefer (1):
> sched, numa, mm, s390/thp: Implement pmd_pgprot() for s390
>
> Ingo Molnar (1):
> mm/pgprot: Move the pgprot_modify() fallback definition to mm.h
>
> Lee Schermerhorn (3):
> mm/mpol: Add MPOL_MF_NOOP
> mm/mpol: Check for misplaced page
> mm/mpol: Add MPOL_MF_LAZY
>
> Peter Zijlstra (7):
> sched, numa, mm: Make find_busiest_queue() a method
> sched, numa, mm: Describe the NUMA scheduling problem formally
> mm/thp: Preserve pgprot across huge page split
> mm/mpol: Make MPOL_LOCAL a real policy
> mm/mpol: Create special PROT_NONE infrastructure
> mm/migrate: Introduce migrate_misplaced_page()
> mm/mpol: Use special PROT_NONE to migrate pages
>
> Ralf Baechle (1):
> sched, numa, mm, MIPS/thp: Add pmd_pgprot() implementation
>
> Rik van Riel (5):
> mm/generic: Only flush the local TLB in ptep_set_access_flags()
> x86/mm: Only do a local tlb flush in ptep_set_access_flags()
> x86/mm: Introduce pte_accessible()
> mm: Only flush the TLB when clearing an accessible pte
> x86/mm: Completely drop the TLB flush from ptep_set_access_flags()
>
> Documentation/scheduler/numa-problem.txt | 230 +++++++++++++++++++++++++++++++
> arch/mips/include/asm/pgtable.h | 2 +
> arch/s390/include/asm/pgtable.h | 13 ++
> arch/x86/include/asm/pgtable.h | 7 +
> arch/x86/mm/pgtable.c | 8 +-
> include/asm-generic/pgtable.h | 4 +
> include/linux/huge_mm.h | 19 +++
> include/linux/mempolicy.h | 8 ++
> include/linux/migrate.h | 7 +
> include/linux/migrate_mode.h | 3 +
> include/linux/mm.h | 32 +++++
> include/uapi/linux/mempolicy.h | 16 ++-
> kernel/sched/fair.c | 20 +--
> mm/huge_memory.c | 174 +++++++++++++++--------
> mm/memory.c | 119 +++++++++++++++-
> mm/mempolicy.c | 143 +++++++++++++++----
> mm/migrate.c | 85 ++++++++++--
> mm/mprotect.c | 31 +++--
> mm/pgtable-generic.c | 9 +-
> 19 files changed, 807 insertions(+), 123 deletions(-)
> create mode 100644 Documentation/scheduler/numa-problem.txt
>
> --
> 1.7.11.7
>
> --
> To unsubscribe, send a message with 'unsubscribe linux-mm' in
> the body to majordomo@kvack.org. For more info on Linux MM,
> see: http://www.linux-mm.org/ .
> Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
--
Thanks
Alex
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
next prev parent reply other threads:[~2012-11-17 8:35 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-11-16 16:25 Ingo Molnar
2012-11-16 16:25 ` [PATCH 01/19] mm/generic: Only flush the local TLB in ptep_set_access_flags() Ingo Molnar
2012-11-16 16:25 ` [PATCH 02/19] x86/mm: Only do a local tlb flush " Ingo Molnar
2012-11-16 16:25 ` [PATCH 03/19] sched, numa, mm: Make find_busiest_queue() a method Ingo Molnar
2012-11-16 16:25 ` [PATCH 04/19] sched, numa, mm: Describe the NUMA scheduling problem formally Ingo Molnar
2012-11-25 6:07 ` abhishek agarwal
2012-11-25 6:09 ` abhishek agarwal
2012-11-16 16:25 ` [PATCH 05/19] sched, numa, mm, s390/thp: Implement pmd_pgprot() for s390 Ingo Molnar
2012-11-16 16:25 ` [PATCH 06/19] mm/thp: Preserve pgprot across huge page split Ingo Molnar
2012-11-16 16:25 ` [PATCH 07/19] x86/mm: Introduce pte_accessible() Ingo Molnar
2012-11-16 16:25 ` [PATCH 08/19] mm: Only flush the TLB when clearing an accessible pte Ingo Molnar
2012-11-16 16:25 ` [PATCH 09/19] sched, numa, mm, MIPS/thp: Add pmd_pgprot() implementation Ingo Molnar
2012-11-16 16:25 ` [PATCH 10/19] mm/pgprot: Move the pgprot_modify() fallback definition to mm.h Ingo Molnar
2012-11-16 16:25 ` [PATCH 11/19] mm/mpol: Make MPOL_LOCAL a real policy Ingo Molnar
2012-11-16 16:25 ` [PATCH 12/19] mm/mpol: Add MPOL_MF_NOOP Ingo Molnar
2012-11-16 16:25 ` [PATCH 13/19] mm/mpol: Check for misplaced page Ingo Molnar
2012-11-16 16:25 ` [PATCH 14/19] mm/mpol: Create special PROT_NONE infrastructure Ingo Molnar
2012-11-16 16:25 ` [PATCH 15/19] mm/mpol: Add MPOL_MF_LAZY Ingo Molnar
2012-11-16 16:25 ` [PATCH 16/19] numa, mm: Support NUMA hinting page faults from gup/gup_fast Ingo Molnar
2012-11-16 16:25 ` [PATCH 17/19] mm/migrate: Introduce migrate_misplaced_page() Ingo Molnar
2012-11-19 2:25 ` [PATCH 17/19, v2] " Ingo Molnar
2012-11-19 16:02 ` Rik van Riel
2012-11-16 16:25 ` [PATCH 18/19] mm/mpol: Use special PROT_NONE to migrate pages Ingo Molnar
2012-11-16 16:25 ` [PATCH 19/19] x86/mm: Completely drop the TLB flush from ptep_set_access_flags() Ingo Molnar
2012-11-17 8:35 ` Alex Shi [this message]
2012-11-17 8:40 ` [PATCH 00/19] latest numa/base patches Alex Shi
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=CAGjg+kFUp_bACC-nze9og7+2XCXoURRunoTi4OY9-NgepU39mA@mail.gmail.com \
--to=lkml.alex@gmail.com \
--cc=Lee.Schermerhorn@hp.com \
--cc=a.p.zijlstra@chello.nl \
--cc=aarcange@redhat.com \
--cc=akpm@linux-foundation.org \
--cc=alex.shi@intel.com \
--cc=cl@linux.com \
--cc=hughd@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
--cc=mgorman@suse.de \
--cc=mingo@kernel.org \
--cc=pjt@google.com \
--cc=riel@redhat.com \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.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