I’m committing a new package for Fedora Project.
procbench – Multiplatform information tool and CPU benchmark for x86 procs
$ procbench -h
Procbench v0.8.2a, Peter Kuscsik, 2008
Use -h flag to display help.
Usage: procbench [options]
List information about (current) x86 processor
Options are:
-h display this help and exit
-c show CPUID information
-d dump CPUID
-i instruction latency meter (experimental)
-m memory transfer speed test
-f display best optimisation flags for GCC
More output examples:
$ procbench -c
Procbench v0.8.2a, Peter Kuscsik, 2008
Use -h flag to display help.
1 CPU installed, 1 online
Running on CPU with APIC ID : 0
------=[Base Information]=--------------------------------------------
Processor name : Intel(R) Pentium(R) 4 CPU 3.00GHz
Vendor id string : GenuineIntel
CPU Speed : 3001.29Mhz
Maximum level of CPUID : 5
Maximum level of Extended CPUID : 8
Family : 15 Extended Family : 0
Model : 3 Extended Model : 0
Stepping : 4 Processor type : 0
Correct family : 15 Correct Model : 3
------=[Features]=----------------------------------------------------
Features : FPU VME DE PSE TSC MSR PAE MCE CMPXCHG8B
APIC SysEnterSysExit MTRR PGE MCA CMOV
PAT PSE36 CLFSH DS ACPI MMX FXSR SSE SSE2
SS HTT TM PBE
Extended Features : SSE3 DTES64 MONITOR DS-CPL CNXT-ID xTPR
Misc. features : Intel64
Misc. ext. features :
Maximum virtual byte address size in bits : 32
Maximum physical byte address size in bits : 36
------=[TLB information]=---------------------------------------------
Ins. TLB number of entries for 2/4 MB pages : 64
Data TLB number of entries for 4 MB pages : 64
Ins. TLB number of entries for 4 KB pages : 64
Data TLB number of entries for 4 KB pages : 64
------=[Cache information]=-------------------------------------------
L1 data cache size in KB : 16
L1 data cache associativity : 8
L1 data cache line size in bytes : 64
L2 cache size in KB : 1024
L2 cache associativity : 8
L2 lines per sector : 2
L2 cache line size in bytes : 64
Trace cache [K-mikroop] : 12
Trace cache associativity : 8
$ procbench -m
Procbench v0.8.2a, Peter Kuscsik, 2008
Use -h flag to display help.
------=[Memory transfer speed test]=----------------------------------
Write speed (by memset) : 1344 Mb/s
Repeated copy (by memcpy) of data blocks
block size speed: block size: speed:
2 Kb 3808 Mb/s 4 Kb 3072 Mb/s
8 Kb 3136 Mb/s 16 Kb 2656 Mb/s
32 Kb 2752 Mb/s 64 Kb 2592 Mb/s
128 Kb 3040 Mb/s 256 Kb 2880 Mb/s
512 Kb 768 Mb/s 1 Mb 608 Mb/s
2 Mb 608 Mb/s 4 Mb 640 Mb/s
8 Mb 576 Mb/s 16 Mb 608 Mb/s
20/09/2008 at 10:31 am
wdw