Re: Inquiry: Should we remove "isolcpus= kernel boot option? (may have realtime uses)

From: Andi Kleen
Date: Wed Jun 04 2008 - 15:54:42 EST


> We (SGI) routinely handle that need with a custom init program,
> invoked with the init= parameter to the booting kernel, which
> sets up cpusets and then invokes the normal (real) init program
> in a cpuset configured to exclude those CPUs and nodes which we
> want to remain unloaded. For example, on a 256 CPU, 64 node
> system, we might have init running on a single node of 4 CPUs,
> and leave the remaining 63 nodes and 252 CPUs isolated from all
> the usual user level daemons started by init.
>
> There is no need for additional kernel changes to accomplish this.

There are no additional changes needed, but you must admit that isolcpus
is a much more elegant solutation for this problem than hijacking init.

-Andi
--
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/