CPU Model
grep name /proc/cpuinfo | uniq
model name : Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
CPU Threads
cat /sys/devices/system/cpu/cpu*/topology/core_id | wc -l
4
Cores per CPU
cat /sys/devices/system/cpu/cpu*/topology/core_id | sort | uniq | wc -l
4
Kernel
uname -a
Linux finnix 2.6.30-1-amd64-finnix #1 SMP Tue Aug 4 22:38:20 PDT 2009 x86_64 GNU/Linux
Disk Controller
lspci | grep AHCI
00:1f.2 SATA controller: Intel Corporation 82801IR/IO/IH (ICH9R/DO/DH) 6 port SATA AHCI Controller (rev 02)
Disk Status
egrep 'ata[0-9]\.|SATA link up' /var/log/dmesg
[ 1.108023] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[ 1.111058] ata1.00: ATA-8: WDC WD1500HLFS-01G6U1, 04.04V02, max UDMA/133
[ 1.111061] ata1.00: 293046768 sectors, multi 0: LBA48 NCQ (depth 31/32)
[ 1.115203] ata1.00: configured for UDMA/133
dd if=/dev/zero of=/dev/null bs=32M count=1000
33554432000 bytes (34 GB) copied, 11.5232 s, 2.9 GB/s
blockdev --getra /dev/sda
256
cat /sys/block/sda/queue/scheduler
noop anticipatory deadline [cfq]
cat /sys/block/sda/device/queue_depth
31
dd if=/dev/sda of=/dev/null bs=1M count=16000
16777216000 bytes (17 GB) copied, 132.039 s, 127 MB/s
mount -o noatime /dev/system-fast/system /mnt
echo 3 > /proc/sys/vm/drop_caches
bonnie++ -d /mnt -u root -n 0 -r 6000
Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 1 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
finnix 8G 645 99 76688 14 40053 5 2412 98 94189 5 424.0 5
Latency 12794us 6981ms 535ms 11740us 60083us 384ms
cd /tmp; wget http://debian.gsd-software.net/benchmark/seeker_baryluk_x86
chmod +x seeker_baryluk_x86
for threads in 01 02 04 08 16 32; do echo -n "Threads: $threads "; ./seeker_baryluk_x86 /dev/sda $threads | grep Results; sleep 1; done
Threads: 01 Results: 135 seeks/second, 7.398 ms random access time (3329689 < offsets < 149992140134)
Threads: 02 Results: 142 seeks/second, 7.024 ms random access time (30428472 < offsets < 149988828400)
Threads: 04 Results: 162 seeks/second, 6.159 ms random access time (6393182 < offsets < 150007907269)
Threads: 08 Results: 204 seeks/second, 4.893 ms random access time (16182359 < offsets < 150036822964)
Threads: 16 Results: 253 seeks/second, 3.948 ms random access time (5582087 < offsets < 150016805142)
Threads: 32 Results: 297 seeks/second, 3.366 ms random access time (37088410 < offsets < 150037342500)