CPU Model
grep name /proc/cpuinfo | uniq
model name : Intel(R) Core(TM)2 Quad CPU Q9550 @ 2.83GHz
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 gsd-pc-d23 2.6.39-bpo.2-amd64 #1 SMP Thu Aug 4 11:42:06 UTC 2011 x86_64 GNU/Linux
Disk Controller
lspci | grep IDE
00:1f.2 IDE interface: Intel Corporation N10/ICH7 Family SATA Controller [IDE mode] (rev 01)
Disk Status
egrep 'ata[0-9]\.|SATA link up' /var/log/dmesg
[ 1.061417] ata4.00: ATA-8: WDC WD1000DHTZ-04N21V0, 04.06A00, max UDMA/133
[ 1.061421] ata4.00: 1953525168 sectors, multi 16: LBA48 NCQ (depth 0/32)
dd if=/dev/zero of=/dev/null bs=32M count=1000
33554432000 bytes (34 GB) copied, 14.4645 s, 2.3 GB/s
blockdev --getra /dev/sdb
256
cat /sys/block/sdb/queue/scheduler
noop deadline [cfq]
cat /sys/block/sdb/device/queue_depth
1
dd if=/dev/sdb of=/dev/null bs=1M count=16000
16777216000 bytes (17 GB) copied, 83.2838 s, 201 MB/s
dd if=/dev/zero of=/dev/sdb bs=1M count=16000
16777216000 bytes (17 GB) copied, 80.0775 s, 210 MB/s
parted /dev/sdb mklabel msdos
parted /dev/sdb mkpart p 2048s 64g; sleep 3
blockdev --rereadpt /dev/sdb
mkfs.ext3 /dev/sdb1
mount -o noatime /dev/sdb1 /mnt
bonnie++ -d /mnt -u root -f -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
gsd-pc-d23 12G 635 99 139418 32 82770 16 2787 98 196387 17 272.2 10
Latency 16650us 1021ms 957ms 10352us 48573us 1412ms
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/sdb $threads | grep Results; sleep 1; done
Threads: 01 Results: 147 seeks/second, 6.800 ms random access time (781179703 < offsets < 1000167430328)
Threads: 02 Results: 147 seeks/second, 6.763 ms random access time (122214556 < offsets < 999767720727)
Threads: 04 Results: 145 seeks/second, 6.856 ms random access time (7721314 < offsets < 999946404557)
Threads: 08 Results: 146 seeks/second, 6.814 ms random access time (70903538 < offsets < 1000161858481)
Threads: 16 Results: 145 seeks/second, 6.860 ms random access time (259455821 < offsets < 1000150902952)
Threads: 32 Results: 148 seeks/second, 6.734 ms random access time (124840027 < offsets < 999662197027)