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

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Jackson <pj@...>
Cc: <maxk@...>, <ioe-lkml@...>, <sivanich@...>, <a.p.zijlstra@...>, <linux-kernel@...>, <kernel@...>, <dfults@...>, <devik@...>, <dino@...>, <emmanuel.pacaud@...>, <deweerdt@...>, <mingo@...>, <colpatch@...>, <nickpiggin@...>, <rostedt@...>, <oleg@...>, <paulmck@...>, <menage@...>, <rddunlap@...>, <suresh.b.siddha@...>, <tglx@...>
Date: Wednesday, June 4, 2008 - 4:33 pm

> I was responding to a need you noticed to isolate memory nodes (such as

Yes, but in practice (enough memory for bootup) isolating CPUs
is equivalent to isolating nodes. So isolcpus=... tended to work.

I occasionally recommended it to people because it was much easier
to explain than replacing init.

The perfect solution would be probably just fix it in init(8)
and make it parse some command line option that then sets up
the right cpusets.

But you asked for isolcpus=... use cases and I just wanted to describe
one.


One solution would be to move isolcpus=/isonodes= into init(8) and make
sure it's always statically linked. But failing that keeping it in the
kernel is not too bad. It's certainly not a lot of code.

On the other hand if the kernel implemented a isolnodes=... it would
be possible to exclude those nodes from the interleaving the kernel
does at boot, which might be also beneficial and give slightly
more isolation.

-Andi
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Inquiry: Should we remove "isolcpus= kernel boot option?..., Michael Trimarchi, (Thu Jun 5, 10:57 am)
Re: Inquiry: Should we remove "isolcpus= kernel boot option?..., Andi Kleen, (Wed Jun 4, 4:33 pm)