職場で使っているAMDX2なマシンで、pkgsrcでOpenOffice 2.2.1のバイナリ・パッケージを作成するまでの時間。
マシンのスペックはCPUとメモリ周りはdmesg(8)から、こんな感じ:
total memory = 1007 MB
avail memory = 982 MB
...
cpu0 at mainbus0: apid 0 (boot processor)
cpu0: AMD Dual-Core Opteron or Athlon 64 X2 (686-class), 2210.22 MHz, id 0x20f32
cpu0: features f7dbfbff
cpu0: features f7dbfbff
cpu0: features f7dbfbff
cpu0: features2 1
cpu0: "AMD Athlon(tm)64 X2 Dual Core Processor 4400+"
cpu0: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu0: L2 cache 1 MB 64B/line 16-way
cpu0: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu0: AMD Power Management features: f
cpu0: AMD Cool`n'Quiet Technology 2200 MHz
cpu0: available frequencies (Mhz): 1000 1800 2000 2200
cpu0: calibrating local timer
cpu0: apic clock running at 200 MHz
cpu0: 16 page colors
cpu1 at mainbus0: apid 1 (application processor)
cpu1: starting
cpu1: AMD Dual-Core Opteron or Athlon 64 X2 (686-class), 2210.06 MHz, id 0x20f32
cpu1: features f7dbfbff
cpu1: features f7dbfbff
cpu1: features f7dbfbff
cpu1: features2 1
cpu1: "AMD Athlon(tm)64 X2 Dual Core Processor 4400+"
cpu1: I-cache 64 KB 64B/line 2-way, D-cache 64 KB 64B/line 2-way
cpu1: L2 cache 1 MB 64B/line 16-way
cpu1: ITLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: DTLB 32 4 KB entries fully associative, 8 4 MB entries fully associative
cpu1: AMD Power Management features: f
一応、マルチコアで動作しているが、それが良い結果となっているのかどうかは、わからない。
ディスク周りは、
wd0 at atabus1 drive 0:
wd0: quirks 2
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd0: 32-bit data port
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd1 at atabus1 drive 1:
wd1: drive supports 16-sector PIO transfers, LBA addressing
wd1: 38166 MB, 77545 cyl, 16 head, 63 sec, 512 bytes/sect x 78165360 sectors
wd1: 32-bit data port
wd1: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 5 (Ultra/100)
wd0(viaide0:1:0): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd1(viaide0:1:1): using PIO mode 4, Ultra-DMA mode 5 (Ultra/100) (using DMA)
wd2 at atabus2 drive 0:
wd2: drive supports 16-sector PIO transfers, LBA48 addressing
wd2: 149 GB, 310101 cyl, 16 head, 63 sec, 512 bytes/sect x 312581808 sectors
wd2: 32-bit data port
wd2: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd2(viaide1:0:0): using PIO mode 4, Ultra-DMA mode 6 (Ultra/133) (using DMA)
- wd2以外はパラレルATAでUltra-DMA mode5(100M/sec)止まり、実際のファイルが展開されてコンパイル等を行うのはwd0のパーティションにある。
- /usrなどのシステム的な部分は基本的にwd2のパーティションにある。
- (OpenOfficeの)配布ファイルは、他のマシンからNFS(automount)している。
あまり、ディスクの速度アクセスに主眼は置いていないが、ファイルの展開だけで時間かかっていたなぁ。
posted by Takahiro Kambe at 10:18| 京都 ☀|
Comment(2)
|
TrackBack(0)
|
NetBSD
|

|
試して見ました。(この時は i386/ GENERIC.MP カーネルです)
sudo make clean && time sudo make package
...
===> Building binary package for openoffice2-2.2.1
Creating package /export/pkgsrc/packages/All/openoffice2-2.2.1
Using SrcDir value of /usr/pkg
Registering conflicts: staroffice-[0-9]* openoffice-[0-9]* openoffice-bin-[0-9]* openoffice2-bin-[0-9]* openoffice-linux-[0-9]*.
33036.738u 3685.397s 10:24:09.95 98.0% 0+0k 33167+1371292io 4788pf+96w
何だか全く同じという感じですね。
実は一度 make をして、returning to build openoffice2-2.2.1
と出たところで、
sudo make clean && time sudo make package
したものです。つまり DEPENDS+= と ftp は全て終っている、という条件
です。
amd64 でも試してみます。
amd64としては動かしていないので、ちょっと試せません。(一応、amd64で動かせるようなディスクも用意してあるのですが。)