Re: isolcpus weirdness

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le vendredi 24 février 2006 à 00:30 +1100, Nick Piggin a écrit :
> Emmanuel Pacaud wrote: 
> > There's a difference between isolated cpus and other cpus: by default,
> > there's almost no activity on isolated ones. That's what I want to be
> > able to do.
> > 
> 
> Nothing in kernel-parameters.txt says there will be almost no activity
> on them. 

isolcpus=   [KNL,SMP] Isolate CPUs from the general scheduler.
+         Format: <cpu number>, ..., <cpu number>
+         This option can be used to specify one or more CPUs
+         to isolate from the general SMP balancing and scheduling
+         algorithms.

If a cpu is isolated from general SMP balancing and scheduling algorithm
(I know this isolation is not complete), there will be no activity on
it, no ? Unless one explicitely move one process on this cpu.

At least, that's what I've seen with my 2.6.15 vanilla kernel with
hyperthreading activated, or with distribution supplied kernel
(Scientific linux 4).  With these kernels, with isolcpus=n, there's
almost no activity on cpun.

My problem is I'm not able to obtain this behaviour with a kernel.org
2.6.15 kernel, when HT is disabled, either in BIOS, kernel config or
acpi=off parameter.


	Emmanuel.

(FWIW, I'm working on a RTAI setup. Use of isolcpus in the context of a
realtime setup is explained in their ISOLCPUS document:

http://cvs.gna.org/cvsweb/vulcano/README.ISOLCPUS?rev=1.6;cvsroot=rtai
)

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux