All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Singleton <David.Singleton@anu.edu.au>
To: Andi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@engr.sgi.com>,
	Paul Jackson <pj@sgi.com>,
	kenneth.w.chen@intel.com, linux-mm@kvack.org,
	linux-ia64@vger.kernel.org
Subject: Re: [NUMA] Display and modify the memory policy of a process through
Date: Sat, 16 Jul 2005 00:00:11 +0000	[thread overview]
Message-ID: <42D84E0B.8050703@anu.edu.au> (raw)
In-Reply-To: <20050715234402.GN15783@wotan.suse.de>

Andi Kleen wrote:
>>No it wont. If you know that you are going to start a process that must 
>>run on node 3 and know its going to use 2G but there is only 1G free 
>>then you may want to modify the policy of an existing huge process on 
>>node 3that is still allocating to go to node 2 that just happens to have 
>>free space.
> 
> I think you should leave that to the kernel.
> 

But the kernel doesn't know about these future requirements.
A batch scheduler does.

> 
>>>>A batch scheduler may anticipate memory shortages and redirect memory 
>>>>allocations in order to avoid page migration.
>>>
>>>I think that jobs more belongs to the kernel. After all we don't
>>>want to move half of our VM into your proprietary scheduler.
>>
>>Care to tell me which proprietary scheduler you are talking about? I was 
> 
> 
> That SGI batch scheduler with its incredibly long specification
> list you guys seem to want to mess up all interfaces
> for. If I can download source to it please supply an URL. 

I think SGI are just trying to facilitate users (like us) with our
own schedulers.

> 
> 
>>And you are now going to implement automatic page migration into the 
>>existing scheduler?
> 
> 
> Hmm? You mean the kernel CPU scheduler? Nobody is planning to add
> page migration to that.

Exactly.  Some of us think we can do a half decent job of manually
controlling page migration.  What is the harm in letting us "shoot
ourselves in the foot" trying?

-- 
--------------------------------------------------------------------------
                                     ANU Supercomputer Facility
    David.Singleton@anu.edu.au       and APAC National Facility
    Phone: +61 2 6125 4389           Leonard Huxley Bldg (No. 56)
    Fax:   +61 2 6125 8199           Australian National University
                                     Canberra, ACT, 0200, Australia
--------------------------------------------------------------------------

WARNING: multiple messages have this Message-ID (diff)
From: David Singleton <David.Singleton@anu.edu.au>
To: Andi Kleen <ak@suse.de>
Cc: Christoph Lameter <clameter@engr.sgi.com>,
	Paul Jackson <pj@sgi.com>,
	kenneth.w.chen@intel.com, linux-mm@kvack.org,
	linux-ia64@vger.kernel.org
Subject: Re: [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy
Date: Sat, 16 Jul 2005 10:00:11 +1000	[thread overview]
Message-ID: <42D84E0B.8050703@anu.edu.au> (raw)
In-Reply-To: <20050715234402.GN15783@wotan.suse.de>

Andi Kleen wrote:
>>No it wont. If you know that you are going to start a process that must 
>>run on node 3 and know its going to use 2G but there is only 1G free 
>>then you may want to modify the policy of an existing huge process on 
>>node 3that is still allocating to go to node 2 that just happens to have 
>>free space.
> 
> I think you should leave that to the kernel.
> 

But the kernel doesn't know about these future requirements.
A batch scheduler does.

> 
>>>>A batch scheduler may anticipate memory shortages and redirect memory 
>>>>allocations in order to avoid page migration.
>>>
>>>I think that jobs more belongs to the kernel. After all we don't
>>>want to move half of our VM into your proprietary scheduler.
>>
>>Care to tell me which proprietary scheduler you are talking about? I was 
> 
> 
> That SGI batch scheduler with its incredibly long specification
> list you guys seem to want to mess up all interfaces
> for. If I can download source to it please supply an URL. 

I think SGI are just trying to facilitate users (like us) with our
own schedulers.

> 
> 
>>And you are now going to implement automatic page migration into the 
>>existing scheduler?
> 
> 
> Hmm? You mean the kernel CPU scheduler? Nobody is planning to add
> page migration to that.

Exactly.  Some of us think we can do a half decent job of manually
controlling page migration.  What is the harm in letting us "shoot
ourselves in the foot" trying?

-- 
--------------------------------------------------------------------------
                                     ANU Supercomputer Facility
    David.Singleton@anu.edu.au       and APAC National Facility
    Phone: +61 2 6125 4389           Leonard Huxley Bldg (No. 56)
    Fax:   +61 2 6125 8199           Australian National University
                                     Canberra, ACT, 0200, Australia
--------------------------------------------------------------------------
--
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:"aart@kvack.org"> aart@kvack.org </a>

  parent reply	other threads:[~2005-07-16  0:00 UTC|newest]

Thread overview: 70+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-15  1:39 [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15  1:39 ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15  3:50 ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-15  3:50   ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-15  4:52 ` Chen, Kenneth W
2005-07-15  4:52   ` Chen, Kenneth W
2005-07-15  5:07   ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15  5:07     ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15  6:05     ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-15  6:05       ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-15 11:46       ` [NUMA] Display and modify the memory policy of a process Andi Kleen
2005-07-15 11:46         ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Andi Kleen
2005-07-15 16:06       ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 16:06         ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15 21:04         ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-15 21:04           ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-15 21:12           ` Andi Kleen
2005-07-15 21:12             ` Andi Kleen
2005-07-15 21:20             ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 21:20               ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15 21:47               ` Andi Kleen
2005-07-15 21:47                 ` Andi Kleen
2005-07-15 21:55                 ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 21:55                   ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15 22:07                   ` Andi Kleen
2005-07-15 22:07                     ` Andi Kleen
2005-07-15 22:30                     ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 22:30                       ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15 22:37                       ` Andi Kleen
2005-07-15 22:37                         ` Andi Kleen
2005-07-15 22:49                         ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 22:49                           ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15 22:56                           ` Andi Kleen
2005-07-15 22:56                             ` Andi Kleen
2005-07-15 23:11                             ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 23:11                               ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-15 23:44                               ` Andi Kleen
2005-07-15 23:44                                 ` Andi Kleen
2005-07-15 23:56                                 ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-15 23:56                                   ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-16  2:01                                   ` Andi Kleen
2005-07-16  2:01                                     ` Andi Kleen
2005-07-16 15:14                                     ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-16 15:14                                       ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-16 22:39                                       ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-16 22:39                                         ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-16 23:30                                     ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-16 23:30                                       ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-17  1:55                                       ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-17  1:55                                         ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-17  3:50                                         ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-17  3:50                                           ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-17  5:56                                           ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-17  5:56                                             ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-17  7:22                                             ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-17  7:22                                               ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-17  3:21                                       ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-17  3:21                                         ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-17  4:51                                         ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-17  4:51                                           ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-17  6:00                                           ` [NUMA] Display and modify the memory policy of a process through Christoph Lameter
2005-07-17  6:00                                             ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Christoph Lameter
2005-07-17  8:17                                             ` [NUMA] Display and modify the memory policy of a process Paul Jackson
2005-07-17  8:17                                               ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Paul Jackson
2005-07-16  0:00                                 ` David Singleton [this message]
2005-07-16  0:00                                   ` David Singleton
2005-07-16  0:16                                 ` [NUMA] Display and modify the memory policy of a process through Steve Neuner
2005-07-16  0:16                                   ` [NUMA] Display and modify the memory policy of a process through /proc/<pid>/numa_policy Steve Neuner
2005-07-15  5:55 ` Chen, Kenneth W
2005-07-15  5:55   ` Chen, Kenneth W

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=42D84E0B.8050703@anu.edu.au \
    --to=david.singleton@anu.edu.au \
    --cc=ak@suse.de \
    --cc=clameter@engr.sgi.com \
    --cc=kenneth.w.chen@intel.com \
    --cc=linux-ia64@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=pj@sgi.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.