public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* cpuset - question
@ 2005-11-01 19:02 JaniD++
  2005-11-01 20:36 ` Paul Jackson
  2005-11-01 21:52 ` Bill Davidsen
  0 siblings, 2 replies; 15+ messages in thread
From: JaniD++ @ 2005-11-01 19:02 UTC (permalink / raw)
  To: linux-kernel

Hello, list

I have tried this:

[root@dy-xeon-1 dev]# mount -t cpuset none /dev/cpuset
[root@dy-xeon-1 dev]# cd /dev/cpuset
[root@dy-xeon-1 cpuset]# mkdir cpus_0
[root@dy-xeon-1 cpuset]# cd cpus_0
[root@dy-xeon-1 cpus_0]# /bin/echo 0 > cpus
[root@dy-xeon-1 cpus_0]# /bin/echo 1 > mems
/bin/echo: write error: Numerical result out of range
[root@dy-xeon-1 cpus_0]# echo 1 >mems
[root@dy-xeon-1 cpus_0]# cat mems

[root@dy-xeon-1 cpus_0]# /bin/echo $$ > tasks
/bin/echo: write error: No space left on device
[root@dy-xeon-1 cpus_0]# echo $$ >tasks
[root@dy-xeon-1 cpus_0]# cat tasks
[root@dy-xeon-1 cpus_0]#

The google, and man pages cant help.
What can i do?

Thanks

Janos

^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: cpuset - question
@ 2005-11-02 10:36 Daniel J Blueman
  2005-11-02 16:26 ` Randy.Dunlap
  0 siblings, 1 reply; 15+ messages in thread
From: Daniel J Blueman @ 2005-11-02 10:36 UTC (permalink / raw)
  To: Linux Kernel

Janos,

You can see what valid memory nodes are available from the top-level
cpuset directory:

# cat /dev/cpuset/mems
0 1 2 3

If you were to be running on a NUMA-capable system, you'd also want to
ensure page interleaving was disabled in the BIOS/pre-boot firmware
too.
___
Daniel J Blueman

^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2005-11-03  8:26 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-01 19:02 cpuset - question JaniD++
2005-11-01 20:36 ` Paul Jackson
2005-11-01 21:38   ` JaniD++
2005-11-01 22:24     ` Paul Jackson
2005-11-01 22:44       ` JaniD++
2005-11-01 23:36         ` Paul Jackson
2005-11-01 21:52 ` Bill Davidsen
2005-11-01 22:26   ` Paul Jackson
  -- strict thread matches above, loose matches on Subject: below --
2005-11-02 10:36 Daniel J Blueman
2005-11-02 16:26 ` Randy.Dunlap
2005-11-02 17:35   ` Daniel J Blueman
2005-11-02 18:28     ` Paul Jackson
2005-11-02 18:48       ` Randy.Dunlap
2005-11-03  8:20       ` Simon Derr
2005-11-03  8:26     ` Sylvain Jeaugey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox