ThinkPad:Benchmarking: Difference between revisions
From Wiki³
m (→dd (ssd write)) |
|||
(13 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
{{UnderConstruction}} | {{UnderConstruction}} | ||
{{Back|ThinkPad|break=false}} | {{Back|ThinkPad|break=false}} | ||
For basic testing I installed the following packages. | |||
For testing I installed the following packages. | |||
{{Console|1=yaourt -S mesa-demos hdparm}} | {{Console|1=yaourt -S mesa-demos hdparm}} | ||
=== dd (ssd write) == | =={{Icon|notebook}} dd (cpu)== | ||
{{margin}} | |||
{{Console|1=dd if{{=}}/dev/zero bs{{=}}1G count{{=}}10 {{!}} md5sum}}<br/> | |||
{{Console|10+0 records in<br/>10+0 records out<br/>10737418240 bytes (11 GB, 10 GiB) copied, 20.3283 s, 528 MB/s<br/>2dd26c4d4799ebd29fa31e48d49e8e53 -|prompt=false}} | |||
{{Note|CPU Temperature peaked around 64C during the test.}} | |||
{{Console|1=dd if{{=}}/dev/zero bs{{=}}1G count{{=}}160 {{!}} md5sum}}<br/> | |||
{{Console|160+0 records in<br/>160+0 records out<br/>171798691840 bytes (172 GB, 160 GiB) copied, 324.407 s, 530 MB/s<br/>8f75e24931ccd52edfc887601023073b -|prompt=false}} | |||
{{Note|CPU Temperature was a constant ~70C with peaks of 71-72C hitting as high as 74C near the end.}} | |||
=={{Icon|notebook}} dd (ssd write)== | |||
{{margin}} | |||
{{Console|1=dd if{{=}}/dev/zero of{{=}}$HOME/tempfile bs{{=}}1M count{{=}}1024 conv{{=}}fdatasync,notrunc status{{=}}progress}}<br/> | {{Console|1=dd if{{=}}/dev/zero of{{=}}$HOME/tempfile bs{{=}}1M count{{=}}1024 conv{{=}}fdatasync,notrunc status{{=}}progress}}<br/> | ||
{{Console|1024+0 records in<br/>1024+0 records out<br/>1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.93576 s, 108 MB/s|prompt=false}} | {{Console|1024+0 records in<br/>1024+0 records out<br/>1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.93576 s, 108 MB/s|prompt=false}} | ||
=={{Icon|notebook}} glxgears (vsync)== | |||
{{margin}} | |||
{{Console|1=glxgears}}<br/> | {{Console|1=glxgears}}<br/> | ||
{{Console|Running synchronized to the vertical refresh. The framerate should be<br/>approximately the same as the monitor refresh rate.<br/>304 frames in 5.0 seconds {{=}} 60.715 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.048 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.048 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.048 FPS<br/>301 frames in 5.0 seconds {{=}} 60.045 FPS<br/>301 frames in 5.0 seconds {{=}} 60.055 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>|prompt=false}} | {{Console|Running synchronized to the vertical refresh. The framerate should be<br/>approximately the same as the monitor refresh rate.<br/>304 frames in 5.0 seconds {{=}} 60.715 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.048 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.048 FPS<br/>301 frames in 5.0 seconds {{=}} 60.050 FPS<br/>301 frames in 5.0 seconds {{=}} 60.048 FPS<br/>301 frames in 5.0 seconds {{=}} 60.045 FPS<br/>301 frames in 5.0 seconds {{=}} 60.055 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>301 frames in 5.0 seconds {{=}} 60.049 FPS<br/>|prompt=false}} | ||
== | =={{Icon|notebook}} hdparm (ssd read)== | ||
{{margin}} | |||
{{Console|1=sudo hdparm -Tt /dev/sda}}<br/> | {{Console|1=sudo hdparm -Tt /dev/sda}}<br/> | ||
{{Console|/dev/sda:<br/> Timing cached reads: 12822 MB in 2.00 seconds {{=}} 6414.67 MB/sec<br/> Timing buffered disk reads: 790 MB in 3.00 seconds {{=}} 263.13 MB/sec|prompt=false}} | {{Console|/dev/sda:<br/> Timing cached reads: 12822 MB in 2.00 seconds {{=}} 6414.67 MB/sec<br/> Timing buffered disk reads: 790 MB in 3.00 seconds {{=}} 263.13 MB/sec|prompt=false}} | ||
== | =={{Icon|notebook}} systemd-analyze (boot speed)== | ||
{{margin}} | |||
{{Console|1=systemd-analyze plot ~/boot.svg}} | {{Console|1=systemd-analyze plot > ~/boot.svg}} | ||
[[File:ThinkPad X220 Boot Analysis.svg|570px]] | [[File:ThinkPad X220 Boot Analysis.svg|570px]] | ||
=={{Icon|notebook}} memtest86== | |||
{{margin}} | |||
{{Console|1=<mark class="green2">'''PassMark MemTest86 V7.3 Free'''</mark><br/><mark class="black2">'''Intel Core i7-2640M @ 2.80GHz'''</mark><br/>clk/Temp : 2791 MHz / 85C<br/>L1 Cache : 64K 20.76 GB/s<br/>L2 Cache : 256K 16.76 GB/s<br/>L3 Cache : 4096K 13.49 GB/s<br/>Memory : 8085M 10.74 GB/s<br/>RAM Info : PC3-10600 DDR3 1332MHz / 9-9-9-24 / Samsung M471B5273CH0-CH9<br/>AddrMode: 64-bit<br/>Pass: 4 / 4<br/>Errors: 0<br/><br/><mark class="black2">'''# Tests Passed: 17/17 (100%)'''</mark><br/>Lowest Error Address: N/A<br/>Highest Error Address: N/A<br/>Bits in Error Mask: 0000000000000000<br/>Bits in Error - Total: 0, Min: 0, Max: 0, Avg: 0<br/>Max Contiguous Errors: 0|prompt=false}} | |||
=={{Icon|notebook}} unixbench== | |||
'''BYTE UNIX Benchmarks (Version 5.1.3)'''<br/> | |||
''https://github.com/kdlucas/byte-unixbench'' | |||
{|class="wikitable" | |||
|'''System:''' | |||
|noc: GNU/Linux | |||
|- | |||
|'''OS:''' | |||
|GNU/Linux -- 4.11.9-1-ARCH -- #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 | |||
|- | |||
|'''Machine:''' | |||
|x86_64: unknown | |||
|- | |||
|'''Language:''' | |||
|en_US.utf8 (charmap{{=}}"UTF-8", collate{{=}}"ANSI_X3.4-1968") | |||
|- | |||
|'''CPUs:''' | |||
|Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz (5584.6/5586.7/5585.0/5585.1 bogomips)<br/>Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel Virtualization | |||
|- | |||
|'''Uptime:''' | |||
|11:07:16 up 0 min, 1 user, load average: 0.29, 0.08, 0.02; runlevel unknown | |||
|} | |||
<br/> | |||
<table><tr><td> | |||
'''Benchmark Run: 4 CPUs; 1 parallel process'''<br/> | |||
''Time: 12:19:15 - 12:47:30; 28m 15s'' | |||
{|class="wikitable" | |||
!Test | |||
!Score | |||
!Unit | |||
!Time | |||
!Iters. | |||
!Baseline | |||
!Index | |||
|- | |||
|Dhrystone 2 using register variables | |||
|39166936.3 | |||
|lps | |||
|10.0s | |||
|7 | |||
|116700.0 | |||
|3356.2 | |||
|- | |||
|Double-Precision Whetstone | |||
|4415.1 | |||
|MWIPS | |||
|10.9s | |||
|7 | |||
|55.0 | |||
|802.8 | |||
|- | |||
|Execl Throughput | |||
|6603.8 | |||
|lps | |||
|30.0s | |||
|2 | |||
|43.0 | |||
|1535.8 | |||
|- | |||
|File Copy 1024 bufsize 2000 maxblocks | |||
|1225791.3 | |||
|KBps | |||
|30.0s | |||
|2 | |||
|3960.0 | |||
|3095.4 | |||
|- | |||
|File Copy 256 bufsize 500 maxblocks | |||
|371498.6 | |||
|KBps | |||
|30.0s | |||
|2 | |||
|1655.0 | |||
|2244.7 | |||
|- | |||
|File Copy 4096 bufsize 8000 maxblocks | |||
|2553151.3 | |||
|KBps | |||
|30.0s | |||
|2 | |||
|5800.0 | |||
|4402.0 | |||
|- | |||
|Pipe Throughput | |||
|2627484.7 | |||
|lps | |||
|10.0s | |||
|7 | |||
|12440.0 | |||
|2112.1 | |||
|- | |||
|Pipe-based Context Switching | |||
|232807.3 | |||
|lps | |||
|10.0s | |||
|7 | |||
|4000.0 | |||
|582.0 | |||
|- | |||
|Process Creation | |||
|9582.9 | |||
|lps | |||
|30.0s | |||
|2 | |||
|126.0 | |||
|760.5 | |||
|- | |||
|Shell Scripts (1 concurrent) | |||
|2591.2 | |||
|lpm | |||
|60.0s | |||
|2 | |||
|42.4 | |||
|611.1 | |||
|- | |||
|Shell Scripts (8 concurrent) | |||
|1428.7 | |||
|lpm | |||
|60.0s | |||
|2 | |||
|6.0 | |||
|2381.2 | |||
|- | |||
|System Call Overhead | |||
|3723276.5 | |||
|lps | |||
|10.0s | |||
|7 | |||
|15000.0 | |||
|2482.2 | |||
|- | |||
|colspan="6"|'''System Benchmarks Index Score:''' | |||
|'''1656.7''' | |||
|} | |||
</td><td> | |||
'''Benchmark Run: 4 CPUs; 4 parallel processes'''<br/> | |||
''Time: 12:47:30 - 13:15:39; 28m 09s'' | |||
{|class="wikitable" | |||
!Test | |||
!Score | |||
!Unit | |||
!Time | |||
!Iters. | |||
!Baseline | |||
!Index | |||
|- | |||
|Dhrystone 2 using register variables | |||
|81918648.5 | |||
|lps | |||
|10.0s | |||
|7 | |||
|116700.0 | |||
|7019.6 | |||
|- | |||
|Double-Precision Whetstone | |||
|15164.7 | |||
|MWIPS | |||
|10.0s | |||
|7 | |||
|55.0 | |||
|2757.2 | |||
|- | |||
|Execl Throughput | |||
|13423.8 | |||
|lps | |||
|29.9s | |||
|2 | |||
|43.0 | |||
|3121.8 | |||
|- | |||
|File Copy 1024 bufsize 2000 maxblocks | |||
|1089129.6 | |||
|KBps | |||
|30.0s | |||
|2 | |||
|3960.0 | |||
|2750.3 | |||
|- | |||
|File Copy 256 bufsize 500 maxblocks | |||
|295566.4 | |||
|KBps | |||
|30.0s | |||
|2 | |||
|1655.0 | |||
|1785.9 | |||
|- | |||
|File Copy 4096 bufsize 8000 maxblocks | |||
|2874461.6 | |||
|KBps | |||
|30.0s | |||
|2 | |||
|5800.0 | |||
|4956.0 | |||
|- | |||
|Pipe Throughput | |||
|5356864.3 | |||
|lps | |||
|10.0s | |||
|7 | |||
|12440.0 | |||
|4306.2 | |||
|- | |||
|Pipe-based Context Switching | |||
|911864.7 | |||
|lps | |||
|10.0s | |||
|7 | |||
|4000.0 | |||
|2279.7 | |||
|- | |||
|Process Creation | |||
|31946.9 | |||
|lps | |||
|30.0s | |||
|2 | |||
|126.0 | |||
|2535.5 | |||
|- | |||
|Shell Scripts (1 concurrent) | |||
|10425.9 | |||
|lpm | |||
|60.0s | |||
|2 | |||
|42.4 | |||
|2458.9 | |||
|- | |||
|Shell Scripts (8 concurrent) | |||
|1510.2 | |||
|lpm | |||
|60.1s | |||
|2 | |||
|6.0 | |||
|2517.0 | |||
|- | |||
|System Call Overhead | |||
|8464354.2 | |||
|lps | |||
|10.0s | |||
|7 | |||
|15000.0 | |||
|5642.9 | |||
|- | |||
|colspan="6"|'''System Benchmarks Index Score:''' | |||
|'''3227.7''' | |||
|} | |||
</td></tr></table> | |||
=={{Icon|notebook}} eBay Battery== | |||
{{margin}} | |||
{{Console|--- TLP 1.0 --------------------------------------------<br/><br/>+++ ThinkPad Battery Features<br/>tp-smapi {{=}} active<br/>tpacpi-bat {{=}} active<br/><br/>+++ ThinkPad Battery Status: BAT0 (Main / Internal)<br/>/sys/devices/platform/smapi/BAT0/manufacturer {{=}} LGC<br/>/sys/devices/platform/smapi/BAT0/model {{=}} 45N1029<br/>/sys/devices/platform/smapi/BAT0/manufacture_date {{=}} 2013-11-05<br/>/sys/devices/platform/smapi/BAT0/first_use_date {{=}} 2017-07-19<br/>/sys/devices/platform/smapi/BAT0/cycle_count {{=}} 1<br/>/sys/devices/platform/smapi/BAT0/temperature {{=}} 28 [°C]<br/>/sys/devices/platform/smapi/BAT0/design_capacity {{=}} 93240 [mWh]<br/>/sys/devices/platform/smapi/BAT0/last_full_capacity {{=}} 93230 [mWh]<br/>/sys/devices/platform/smapi/BAT0/remaining_capacity {{=}} 93230 [mWh]<br/>/sys/devices/platform/smapi/BAT0/remaining_percent {{=}} 100 [%]<br/>/sys/devices/platform/smapi/BAT0/remaining_running_time_now {{=}} not_discharging [min]<br/>/sys/devices/platform/smapi/BAT0/remaining_charging_time {{=}} not_charging [min]<br/>/sys/devices/platform/smapi/BAT0/power_now {{=}} 0 [mW]<br/>/sys/devices/platform/smapi/BAT0/power_avg {{=}} 0 [mW]<br/>/sys/devices/platform/smapi/BAT0/state {{=}} idle<br/><br/>tpacpi-bat.BAT0.startThreshold {{=}} 75 [%]<br/>tpacpi-bat.BAT0.stopThreshold {{=}} 100 [%]<br/>tpacpi-bat.BAT0.forceDischarge {{=}} 0<br/><br/>Charge {{=}} 100.0 [%]<br/>Capacity {{=}} 100.0 [%]|prompt=false}} | |||
[[Category:ThinkPad]] | [[Category:ThinkPad]] |
Latest revision as of 10:21, 23 July 2017
UNDER CONSTRUCTION: The document is currently being modified! |
Back to Category:ThinkPad
For basic testing I installed the following packages.
# yaourt -S mesa-demos hdparm |
dd (cpu)
# dd if=/dev/zero bs=1G count=10 | md5sum |
10+0 records in 10+0 records out 10737418240 bytes (11 GB, 10 GiB) copied, 20.3283 s, 528 MB/s 2dd26c4d4799ebd29fa31e48d49e8e53 - |
CPU Temperature peaked around 64C during the test. |
# dd if=/dev/zero bs=1G count=160 | md5sum |
160+0 records in 160+0 records out 171798691840 bytes (172 GB, 160 GiB) copied, 324.407 s, 530 MB/s 8f75e24931ccd52edfc887601023073b - |
CPU Temperature was a constant ~70C with peaks of 71-72C hitting as high as 74C near the end. |
dd (ssd write)
# dd if=/dev/zero of=$HOME/tempfile bs=1M count=1024 conv=fdatasync,notrunc status=progress |
1024+0 records in 1024+0 records out 1073741824 bytes (1.1 GB, 1.0 GiB) copied, 9.93576 s, 108 MB/s |
glxgears (vsync)
# glxgears |
Running synchronized to the vertical refresh. The framerate should be approximately the same as the monitor refresh rate. 304 frames in 5.0 seconds = 60.715 FPS 301 frames in 5.0 seconds = 60.049 FPS 301 frames in 5.0 seconds = 60.050 FPS 301 frames in 5.0 seconds = 60.050 FPS 301 frames in 5.0 seconds = 60.048 FPS 301 frames in 5.0 seconds = 60.049 FPS 301 frames in 5.0 seconds = 60.050 FPS 301 frames in 5.0 seconds = 60.048 FPS 301 frames in 5.0 seconds = 60.050 FPS 301 frames in 5.0 seconds = 60.048 FPS 301 frames in 5.0 seconds = 60.045 FPS 301 frames in 5.0 seconds = 60.055 FPS 301 frames in 5.0 seconds = 60.049 FPS 301 frames in 5.0 seconds = 60.049 FPS |
hdparm (ssd read)
# sudo hdparm -Tt /dev/sda |
/dev/sda: Timing cached reads: 12822 MB in 2.00 seconds = 6414.67 MB/sec Timing buffered disk reads: 790 MB in 3.00 seconds = 263.13 MB/sec |
systemd-analyze (boot speed)
# systemd-analyze plot > ~/boot.svg |
memtest86
PassMark MemTest86 V7.3 Free Intel Core i7-2640M @ 2.80GHz clk/Temp : 2791 MHz / 85C L1 Cache : 64K 20.76 GB/s L2 Cache : 256K 16.76 GB/s L3 Cache : 4096K 13.49 GB/s Memory : 8085M 10.74 GB/s RAM Info : PC3-10600 DDR3 1332MHz / 9-9-9-24 / Samsung M471B5273CH0-CH9 AddrMode: 64-bit Pass: 4 / 4 Errors: 0 # Tests Passed: 17/17 (100%) Lowest Error Address: N/A Highest Error Address: N/A Bits in Error Mask: 0000000000000000 Bits in Error - Total: 0, Min: 0, Max: 0, Avg: 0 Max Contiguous Errors: 0 |
unixbench
BYTE UNIX Benchmarks (Version 5.1.3)
https://github.com/kdlucas/byte-unixbench
System: | noc: GNU/Linux |
OS: | GNU/Linux -- 4.11.9-1-ARCH -- #1 SMP PREEMPT Wed Jul 5 18:23:08 CEST 2017 |
Machine: | x86_64: unknown |
Language: | en_US.utf8 (charmap="UTF-8", collate="ANSI_X3.4-1968") |
CPUs: | Intel(R) Core(TM) i7-2640M CPU @ 2.80GHz (5584.6/5586.7/5585.0/5585.1 bogomips) Hyper-Threading, x86-64, MMX, Physical Address Ext, SYSENTER/SYSEXIT, SYSCALL/SYSRET, Intel Virtualization |
Uptime: | 11:07:16 up 0 min, 1 user, load average: 0.29, 0.08, 0.02; runlevel unknown |
Benchmark Run: 4 CPUs; 1 parallel process
|
Benchmark Run: 4 CPUs; 4 parallel processes
|
eBay Battery
--- TLP 1.0 -------------------------------------------- +++ ThinkPad Battery Features tp-smapi = active tpacpi-bat = active +++ ThinkPad Battery Status: BAT0 (Main / Internal) /sys/devices/platform/smapi/BAT0/manufacturer = LGC /sys/devices/platform/smapi/BAT0/model = 45N1029 /sys/devices/platform/smapi/BAT0/manufacture_date = 2013-11-05 /sys/devices/platform/smapi/BAT0/first_use_date = 2017-07-19 /sys/devices/platform/smapi/BAT0/cycle_count = 1 /sys/devices/platform/smapi/BAT0/temperature = 28 [°C] /sys/devices/platform/smapi/BAT0/design_capacity = 93240 [mWh] /sys/devices/platform/smapi/BAT0/last_full_capacity = 93230 [mWh] /sys/devices/platform/smapi/BAT0/remaining_capacity = 93230 [mWh] /sys/devices/platform/smapi/BAT0/remaining_percent = 100 [%] /sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min] /sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min] /sys/devices/platform/smapi/BAT0/power_now = 0 [mW] /sys/devices/platform/smapi/BAT0/power_avg = 0 [mW] /sys/devices/platform/smapi/BAT0/state = idle tpacpi-bat.BAT0.startThreshold = 75 [%] tpacpi-bat.BAT0.stopThreshold = 100 [%] tpacpi-bat.BAT0.forceDischarge = 0 Charge = 100.0 [%] Capacity = 100.0 [%] |