Re: online, possible and disabled cpus

2012-10-23 Thread Robert P. J. Day
On Tue, 23 Oct 2012, Srivatsa Bhat wrote: > Ah, that's the thing.. CPU hotplug does not always refer to > "physically pull out or plug in CPUs into the system". As you might > have gathered from reading the help text, it also refers to "soft" > offline/online of CPUs. As a result, CPU hotplug is u

Re: online, possible and disabled cpus

2012-10-23 Thread Srivatsa Bhat
On Tue, Oct 23, 2012 at 2:12 PM, Robert P. J. Day wrote: > On Tue, 23 Oct 2012, Srivatsa Bhat wrote: > >> I don't think we should worry too much about this.. I can think of a >> simple reason why one would want to iterate through all possible >> CPUs.. : IIUC, this function prints, for each softir

Re: online, possible and disabled cpus

2012-10-23 Thread Srivatsa Bhat
On Tue, Oct 23, 2012 at 2:04 PM, Robert P. J. Day wrote: > On Tue, 23 Oct 2012, Srivatsa Bhat wrote: > >> Hi, >> >> On Tue, Oct 23, 2012 at 12:43 AM, Robert P. J. Day >> wrote: >> > On Mon, 22 Oct 2012, Srivatsa Bhat wrote: >> > >> >> Hi, >> >> >> >> You might want to take a look at Documentation

Re: online, possible and disabled cpus

2012-10-23 Thread Robert P. J. Day
On Tue, 23 Oct 2012, Srivatsa Bhat wrote: > I don't think we should worry too much about this.. I can think of a > simple reason why one would want to iterate through all possible > CPUs.. : IIUC, this function prints, for each softirq, the number of > times it ran on a particular CPU. So if a CPU

Re: online, possible and disabled cpus

2012-10-23 Thread Robert P. J. Day
On Tue, 23 Oct 2012, Srivatsa Bhat wrote: > Hi, > > On Tue, Oct 23, 2012 at 12:43 AM, Robert P. J. Day > wrote: > > On Mon, 22 Oct 2012, Srivatsa Bhat wrote: > > > >> Hi, > >> > >> You might want to take a look at Documentation/cpu-hotplug.txt for > >> some details regarding online/possible CPUs.

Re: online, possible and disabled cpus

2012-10-23 Thread Srivatsa Bhat
Hi, On Tue, Oct 23, 2012 at 3:03 AM, Robert P. J. Day wrote: > On Mon, 22 Oct 2012, Srivatsa Bhat wrote: > >> Hi, >> >> You might want to take a look at Documentation/cpu-hotplug.txt for >> some details regarding online/possible CPUs... > > i'll do one more post on this, even though i never ima

Re: online, possible and disabled cpus

2012-10-23 Thread Srivatsa Bhat
Hi, On Tue, Oct 23, 2012 at 12:43 AM, Robert P. J. Day wrote: > On Mon, 22 Oct 2012, Srivatsa Bhat wrote: > >> Hi, >> >> You might want to take a look at Documentation/cpu-hotplug.txt for >> some details regarding online/possible CPUs... > > ah, quite so, although that file is definitely out of

Re: online, possible and disabled cpus

2012-10-22 Thread Robert P. J. Day
On Mon, 22 Oct 2012, Srivatsa Bhat wrote: > Hi, > > You might want to take a look at Documentation/cpu-hotplug.txt for > some details regarding online/possible CPUs... i'll do one more post on this, even though i never imagined it was going to get this complicated. to recap, what i'm trying to

Re: online, possible and disabled cpus

2012-10-22 Thread Robert P. J. Day
On Mon, 22 Oct 2012, Srivatsa Bhat wrote: > Hi, > > You might want to take a look at Documentation/cpu-hotplug.txt for > some details regarding online/possible CPUs... ah, quite so, although that file is definitely out of date. it doesn't mention the command-line parameters "nosmp" or "nr_cpus

Re: online, possible and disabled cpus

2012-10-22 Thread Srivatsa Bhat
Hi, You might want to take a look at Documentation/cpu-hotplug.txt for some details regarding online/possible CPUs... Regards, Srivatsa S. Bhat ___ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listin

RE: online, possible and disabled cpus

2012-10-22 Thread Craig Jackson
> -Original Message- > From: kernelnewbies-boun...@kernelnewbies.org [mailto:kernelnewbies- > boun...@kernelnewbies.org] On Behalf Of Robert P. J. Day > Sent: Monday, October 22, 2012 12:47 PM > To: Kernel Newbies > Subject: online, possible and disabled cpus > >

online, possible and disabled cpus

2012-10-22 Thread Robert P. J. Day
at this point, i'm trying to rationalize why i'm seeing this in the output of dmesg: [0.00] smpboot: Allowing 16 CPUs, 8 hotplug CPUs on my quad-core asus laptop, as in -- where is that "16" coming from? if i list /proc/cpuinfo, i see 8 processors, so i'm just trying to understand what