Re: [RFC] cpuset: add interface to isolated cpus
From: Paul Jackson
Date: Mon Oct 23 2006 - 02:48:40 EST
> It would be trivial to make such a script to parse the root cpuset and
> do exactly this, wouldn't it?
Ah - yes - that's doable. A certain company I work for ships pretty
much that exact script, to its customers. It works well to remove
all the unpinned tasks from the top level cpuset and put them in what
we call the 'boot' cpuset, where the classic Unix load (init, cron,
daemons, sysadmin login) is confined. This frees up the rest of the
system to run "real" work. It works quite well, if I do say so.
Perhaps I'm being overly pessimistic about the potential of driving
this partitioning off the cpus_allowed masks of the tasks. As you
noted, it would be a cute trick to avoid some combinatorial explosion
of the computational costs. But there are enough practical constraints
on this problem - that should be quite doable.
Hmmm ...
--
I won't rest till it's the best ...
Programmer, Linux Scalability
Paul Jackson <pj@xxxxxxx> 1.925.600.0401
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/