Re: smp kernel bash script

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

 



Am Mi, den 12.01.2005 schrieb James Kosin um 20:03:

> No,  Alexander is correct.  An SMP kernel only applies to running on
> more than one CPU.  With a normal kernel and single, dual or quad
> (SMP) you will only get cpu0 file.
> If you have an SMP kernel and running on a board with more than one
> CPU, you will get multiple cpu? files.  One file for each CPU.

> James

Hi James,

I now understand Chadley's reformulated question this way: given you
have an SMP (i.e. dual CPU) system but you boot a single CPU kernel (for
whatever reason) - will then in /proc/stat appear cpu, cpu0 _and_ cpu1
or just cpu and cpu0?
Paul had the same insecurity when he suggested to check whether
/proc/cpuinfo contains a "processor : 1" entry in such a case.

As I don't have a system where I can check this actually, someone with
ability to look at should answer.

Alexander


-- 
Alexander Dalloz | Enger, Germany | new address - new key: 0xB366A773
legal statement: http://www.uni-x.org/legal.html
Fedora GNU/Linux Core 2 (Tettnang) on Athlon kernel 2.6.10-1.8_FC2smp 
Serendipity 20:32:02 up 1 day, 18:42, load average: 0.11, 0.62, 0.71 

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux