lkml.org 
[lkml]   [2010]   [Oct]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectQ: kernel log not serialized (SLES10 SP3)?
Hi!

I just found some "interesting" kernel boot messages from a two Dual-Core Opteron machine (SunFire X4100) running SLES10 SP3 (2.6.16.60-0.54.5-xen):
<6>Security Framework v1.0.0 initialized
<4>Mount-cache hash table entries: 256
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<6>checking if image is initramfs... it is
<4>Freeing initrd memory: 8553k freed
<4>Initializing CPU#1
<4>Initializing CPU#2
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<6>Brought up 4 CPUs
<4>Initializing CPU#3
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<6>CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
<6>CPU: L2 Cache: 1024K (64 bytes/line)
<4>migration_cost=523
<6>NET: Registered protocol family 16

The entries seem to be out of order, specifically initializing a CPU after "Brought up 4 CPUs". If the race is intended that way, I'd add the CPU number to the lines that print cache information.

And on "migration cost": It seems to be a penalty for a vector leading from on CPU to another, most likely in a symmetrical fashion. On a NUMA architecture like the Opteron the CPUs could be added to the message. Sample:
CPU1-CPU2: migration cost=523

Regards,
Ulrich
P.S.:Please keep CC: as I'm not subscribed.




\
 
 \ /
  Last update: 2010-10-28 09:21    [from the cache]
©2003-2011 Jasper Spaans