User Tools

Site Tools


benchmarking

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
benchmarking [2016/03/15 09:42] – [Using hdparm] adminbenchmarking [2022/10/29 16:15] (current) – external edit 127.0.0.1
Line 184: Line 184:
   - Step2: Run test<code bash>   - Step2: Run test<code bash>
 speedtest speedtest
 +</code>
 +==== network monitor with iptraf ====
 +refer: http://www.tecmint.com/real-time-interactive-ip-lan-monitoring-with-iptraf-tool/
 +  * Install <code bash>
 +yum install iptraf
 +</code>
 +  * Run normal<code bash>
 +iptraf
 +</code>
 +  * Monitor Traffic on eth0:<code bash>
 +iptraf -s eth0
 </code> </code>
 ===== Benchmark File System Read Write Performance ===== ===== Benchmark File System Read Write Performance =====
 refer: http://www.slashroot.in/linux-file-system-read-write-performance-test refer: http://www.slashroot.in/linux-file-system-read-write-performance-test
 ==== Using dd command ==== ==== Using dd command ====
-<code bash>+  * Benchmarck the speed with which **data was cached to RAM memory, not to the disk**<code bash>
 dd if=/dev/zero of=speetest bs=1M count=100 dd if=/dev/zero of=speetest bs=1M count=100
 </code>output:<code> </code>output:<code>
Line 195: Line 206:
 104857600 bytes (105 MB) copied, 0.102163 s, 1.0 GB/s 104857600 bytes (105 MB) copied, 0.102163 s, 1.0 GB/s
 </code> </code>
-<code bash>+  * Ask dd command to report the speed only **after the data is synced with the disk**<code bash>
 dd if=/dev/zero of=speetest bs=1M count=100 conv=fdatasync dd if=/dev/zero of=speetest bs=1M count=100 conv=fdatasync
 </code>output:<code> </code>output:<code>
benchmarking.1458034977.txt.gz · Last modified: 2022/10/29 16:15 (external edit)