2008年 11月 12日 水曜日
Messages in cipher reflected in the looking glass
(JA) Ubuntu Linux 8.04 on Sun Fire X4600M2
先週の続きです。
タイミングとしては 8.10 でテストできれば良かったのかもしれませんが、
記事とテストの間にタイムラグがあるもので…。
ということで、今回は Ubuntu Linux 8.04 Server です。
[ 0.000000] Initializing cgroup subsys cpuset [ 0.000000] Initializing cgroup subsys cpu [ 0.000000] Linux version 2.6.24-16-server (buildd@yellow) (gcc version 4.2.3 (Ubuntu 4.2.3-2ubuntu7)) #1 SMP Thu Apr 10 13:15:38 UTC 2008 (Ubuntu 2.6.24-16.30-server) [ 0.000000] Command line: root=UUID=3d184a72-aa7b-4747-9bdc-e0d86f233e7f ro console=tty0 console=ttyS0,9600 [ 0.000000] BIOS-provided physical RAM map: ...(省略)... [ 0.000000] Initializing CPU#0 [ 0.000000] PID hash table entries: 4096 (order: 12, 32768 bytes) [ 0.000000] Extended CMOS year: 2000 [ 0.000000] TSC calibrated against HPET [ 448.076109] Marking TSC unstable due to TSCs unsynchronized [ 448.076111] time.c: Detected 2293.903 MHz processor. [ 448.077916] Console: colour VGA+ 80x25 [ 448.077924] console [tty0] enabled [ 448.092787] console [ttyS0] enabled [ 461.429933] Checking aperture... [ 461.468453] CPU 0: aperture @ 4000000 size 32 MB [ 461.523605] Aperture too small (32 MB) [ 461.574112] No AGP bridge found [ 461.611606] Your BIOS doesn't leave a aperture memory hole [ 461.677138] Please enable the IOMMU option in the BIOS setup [ 461.744755] This costs you 64 MB of RAM [ 461.819054] Mapping aperture over 65536 KB of RAM @ 4000000 [ 464.463015] Memory: 264675400k/268959744k available (2523k kernel code, 3759256k reserved, 1328k data, 328k init) [ 464.585911] SLUB: Genslabs=12, HWalign=64, Order=0-1, MinObjects=4, CPUs=32, Nodes=8 [ 464.821003] Calibrating delay using timer specific routine.. 4595.15 BogoMIPS (lpj=22975782) [ 464.922044] Security Framework initialized [ 464.970964] SELinux: Disabled at boot. [ 465.016781] AppArmor: AppArmor initialized [ 465.065697] Failure registering capabilities with primary security module. [ 465.187223] Dentry cache hash table entries: 33554432 (order: 16, 268435456 bytes) [ 465.455895] Inode-cache hash table entries: 16777216 (order: 15, 134217728 bytes) [ 465.624736] Mount-cache hash table entries: 256 [ 465.679595] Initializing cgroup subsys ns [ 465.727485] Initializing cgroup subsys cpuacct [ 465.780615] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [ 465.865905] CPU: L2 Cache: 512K (64 bytes/line) [ 465.920017] CPU 0/4 -> Node 0 [ 465.955420] CPU: Physical Processor ID: 1 [ 466.003285] CPU: Processor Core ID: 0 [ 466.047032] SMP alternatives: switching to UP code [ 466.105011] Early unpacking initramfs... done [ 466.445831] ACPI: Core revision 20070126 [ 466.492761] ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found. [ 466.688387] Using local APIC timer interrupts. [ 466.785022] Detected 12.466 MHz APIC timer. [ 466.835088] SMP alternatives: switching to SMP code [ 466.894028] Booting processor 1/32 APIC 0x5 [ 466.955357] Initializing CPU#1 [ 467.104747] Calibrating delay using timer specific routine.. 4592.19 BogoMIPS (lpj=22960977) [ 467.104756] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [ 467.104757] CPU: L2 Cache: 512K (64 bytes/line) [ 467.104760] CPU 1/5 -> Node 0 [ 467.104762] CPU: Physical Processor ID: 1 [ 467.104763] CPU: Processor Core ID: 1 [ 467.105057] Quad-Core AMD Opteron(tm) Processor 8356 stepping 03 [ 467.105234] SMP alternatives: switching to SMP code [ 467.639310] Booting processor 2/32 APIC 0x6 [ 467.699574] Initializing CPU#2 [ 467.844114] Calibrating delay using timer specific routine.. 4590.77 BogoMIPS (lpj=22953893) [ 467.844127] CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line) [ 467.844128] CPU: L2 Cache: 512K (64 bytes/line) [ 467.844131] CPU 2/6 -> Node 0 [ 467.844134] CPU: Physical Processor ID: 1 [ 467.844135] CPU: Processor Core ID: 2 [ 467.844437] Quad-Core AMD Opteron(tm) Processor 8356 stepping 03 [ 467.844599] SMP alternatives: switching to SMP code ...(省略)...
/proc/cpuinfo です。Debian の場合と同じですが。
とりあえず、0番と31番のみを抜き出しています。
processor : 0 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 2293.903 cache size : 512 KB physical id : 1 siblings : 4 core id : 0 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs bogomips : 4595.15 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate ...(省略)... processor : 31 vendor_id : AuthenticAMD cpu family : 16 model : 2 model name : Quad-Core AMD Opteron(tm) Processor 8356 stepping : 3 cpu MHz : 2293.903 cache size : 512 KB physical id : 8 siblings : 4 core id : 3 cpu cores : 4 fpu : yes fpu_exception : yes cpuid level : 5 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm 3dnowext 3dnow constant_tsc rep_good pni cx16 popcnt lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs bogomips : 4587.92 TLB size : 1024 4K pages clflush size : 64 cache_alignment : 64 address sizes : 48 bits physical, 48 bits virtual power management: ts ttp tm stc 100mhzsteps hwpstate
/proc/meminfo です。
MemTotal: 264683316 kB MemFree: 263970364 kB Buffers: 6156 kB Cached: 77212 kB SwapCached: 0 kB Active: 83724 kB Inactive: 57844 kB SwapTotal: 5855652 kB SwapFree: 5855652 kB Dirty: 0 kB Writeback: 0 kB AnonPages: 58364 kB Mapped: 21180 kB Slab: 28588 kB SReclaimable: 10540 kB SUnreclaim: 18048 kB PageTables: 3544 kB NFS_Unstable: 0 kB Bounce: 0 kB CommitLimit: 138197308 kB Committed_AS: 122676 kB VmallocTotal: 34359738367 kB VmallocUsed: 505508 kB VmallocChunk: 34359228923 kB HugePages_Total: 0 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB
freeコマンドとtopコマンドの出力結果。
$ free
total used free shared buffers cached
Mem: 264683316 713136 263970180 0 6172 77248
-/+ buffers/cache: 629716 264053600
Swap: 5855652 0 5855652
$ top
top - 16:45:17 up 6 min, 1 user, load average: 0.04, 0.63, 0.42
Tasks: 326 total, 1 running, 325 sleeping, 0 stopped, 0 zombie
Cpu(s): 0.1%us, 2.1%sy, 0.0%ni, 97.6%id, 0.1%wa, 0.0%hi, 0.1%si, 0.0%st
Mem: 264683316k total, 713440k used, 263969876k free, 6176k buffers
Swap: 5855652k total, 0k used, 5855652k free, 77260k cached
...(省略)...
lspci の抜粋です。
Sun Fire X4600M2 には X1027A (Dual 10Gbit Ethernet Card) を挿していたのですが、Ubuntu Linux は下記のように認識しています。
特にドライバをインストールすることもなく、ifconfig を使って、
eth4,eth5 として設定できました。
03:00.0 Ethernet controller: Sun Microsystems Computer Corp. Unknown device abcd (rev 01) 03:00.1 Ethernet controller: Sun Microsystems Computer Corp. Unknown device abcd (rev 01) 03:00.2 Ethernet controller: Sun Microsystems Computer Corp. Unknown device abcd (rev 01) 03:00.3 Ethernet controller: Sun Microsystems Computer Corp. Unknown device abcd (rev 01) 05:01.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 05:01.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 05:02.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03) 05:02.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 03)
恒例?の gnome-system-monitor のスクリーンショットです。
ちゃんと認識していることがわかります。
こちらは Debian の時と異なり、CPUが32個、ちゃんと折り返し表示されます。
ただ、グラフを見てもほとんどわかりませんが…。
Posted at 02:23午後 11 12, 2008 by Yasuhiro Fujitsuki in Linux & Solaris |