From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,19d828dcffc41c0b X-Google-Attributes: gidfee84,public From: stu@silvermtn.compuserve.com Subject: Re: What's affinity? Date: 1998/10/17 Message-ID: #1/1 X-Deja-AN: 403067248 Distribution: world References: <361B3BF9.15E40AD8@na.astro.it> <361D1B8C.90C5035F@EUnet.yu> <361DBD99.4A9BC62F@na.astro.it> Reply-To: stufuller@usa.net Newsgroups: comp.unix.osf.osf1 Massimo Gais (mgais@na.astro.it) wrote: : Nikola Milutinovic wrote: : > : > Massimo Gais wrote: : > > : > > Hello, : > > : > > I'd like to know what means the message : > > "affinity set to primary CPU" : > > that DU shows at booting. : > : > DEC Alpha servers can be a multi-processor machines. When UNIX boot it starts : > only one processor. The message simply says which processor it is booting on. : > : > Later "in the day", UNIX will start all other processors. Well, it'll be done : > before multi-user run levels. In fact, I think it'll be done even before single : > user mode. : > : > I believe I heard that you need a special license, SMP, for activating : > multi-processor UNIX. : > : > Nix. : Ok, thank you for your explaination, but... : why they talk about "affinity"? It is not enough to say : "Booting CPU #1" ? : I mean: do I miss some deeper philosophical consideration? Some activities can only be performed on a single cpu. For example, updating the system time should only be done on a single cpu, typically the primary cpu. The assigning of an activity to a cpu is referred to as setting the activity's "affinity". The primary cpu is typically the one that started the boot. Stu