benchmarking
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
benchmarking [2016/03/15 09:38] – [using speedtest] admin | benchmarking [2022/10/29 16:15] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 184: | Line 184: | ||
- Step2: Run test< | - Step2: Run test< | ||
speedtest | speedtest | ||
+ | </ | ||
+ | ==== network monitor with iptraf ==== | ||
+ | refer: http:// | ||
+ | * Install <code bash> | ||
+ | yum install iptraf | ||
+ | </ | ||
+ | * Run normal< | ||
+ | iptraf | ||
+ | </ | ||
+ | * Monitor Traffic on eth0:< | ||
+ | iptraf -s eth0 | ||
</ | </ | ||
===== Benchmark File System Read Write Performance ===== | ===== Benchmark File System Read Write Performance ===== | ||
refer: http:// | refer: http:// | ||
+ | ==== Using dd command ==== | ||
+ | * Benchmarck the speed with which **data was cached to RAM memory, not to the disk**< | ||
+ | dd if=/ | ||
+ | </ | ||
+ | 100+0 records in | ||
+ | 100+0 records out | ||
+ | 104857600 bytes (105 MB) copied, 0.102163 s, 1.0 GB/s | ||
+ | </ | ||
+ | * Ask dd command to report the speed only **after the data is synced with the disk**< | ||
+ | dd if=/ | ||
+ | </ | ||
+ | 100+0 records in | ||
+ | 100+0 records out | ||
+ | 104857600 bytes (105 MB) copied, 1.12073 s, 93.6 MB/s | ||
+ | </ | ||
+ | ==== Using hdparm ==== | ||
+ | <code bash> | ||
+ | hdparm -tT /dev/sdb1 | ||
+ | </ | ||
+ | /dev/sdb1: | ||
+ | | ||
+ | | ||
+ | </ |
benchmarking.1458034726.txt.gz · Last modified: 2022/10/29 16:15 (external edit)