Dbench: Internet Offline

From OnnoWiki
Jump to navigation Jump to search

RaspberryPi

mkdir -p /mnt/public
umount /mnt/public/
mount.cifs //192.168.0.1/public /mnt/public -o username=pi,password=raspberry
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 20

Hasil

 Operation      Count    AvgLat    MaxLat
 ----------------------------------------
 NTCreateX      50654    82.566  1755.757
 Close          37091    21.803   465.397
 Rename          2240   142.341   682.188
 Unlink         10211    37.118   743.863
 Qpathinfo      46435    39.687  1400.274
 Qfileinfo       8360     0.002     0.187
 Qfsinfo         8704    61.274  1009.351
 Sfileinfo       4120    54.139   407.912
 Find           18016   167.301  1774.121
 WriteX         25789     0.065    23.871
 ReadX          85440     6.920   543.388
 LockX            200     0.008     0.102
 UnlockX          200     0.012     0.022
 Flush           3569    29.605   459.470

Throughput 2.79524 MB/sec  20 clients  20 procs  max_latency=1774.141 ms


Asus MiniPC

mkdir -p /mnt/public
umount /mnt/public/
mount.cifs //192.168.0.2/public /mnt/public -o username=onno,password=123456
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 20

Hasil

 Operation      Count    AvgLat    MaxLat
 ----------------------------------------
 NTCreateX     104406    35.571  1366.999
 Close          77249    11.715   457.904
 Rename          4402    75.806  1178.813
 Unlink         20533    16.841  1038.425
 Qpathinfo      94779    17.672  1170.963
 Qfileinfo      16552     0.002     0.051
 Qfsinfo        16968    28.136   613.689
 Sfileinfo       8609    31.432   941.028
 Find           36397    74.064  1385.543
 WriteX         51443     0.044    85.683
 ReadX         162431     4.086   412.574
 LockX            328     0.007     0.028
 UnlockX          328     0.012     0.071
 Flush           7212   126.910   521.300

Throughput 5.36291 MB/sec  20 clients  20 procs  max_latency=1385.550 ms

VM 1 Core 1024M RAM

mkdir -p /mnt/public
umount /mnt/public/
mount.cifs //192.168.0.3/public /mnt/public -o username=onno,password=123456
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 20

Hasil

 Operation      Count    AvgLat    MaxLat
 ----------------------------------------
 NTCreateX     269110    15.236    79.091
 Close         197741     4.596    25.680
 Rename         11414    33.102    93.573
 Unlink         54453     7.465    42.676
 Qpathinfo     243909     7.295    71.550
 Qfileinfo      42487     0.001     0.091
 Qfsinfo        44825    11.275    56.060
 Sfileinfo      21917    12.416    46.313
 Find           94321    31.108   108.069
 WriteX        132958     0.024     7.578
 ReadX         422004     1.112    24.777
 LockX            880     0.005     0.015
 UnlockX          880     0.007     0.028
 Flush          18902    12.663   330.958
Throughput 13.9446 MB/sec  20 clients  20 procs  max_latency=330.968 ms

VM 4 Core 4G RAM

mkdir -p /mnt/public
umount /mnt/public/
mount.cifs //192.168.0.3/public /mnt/public -o username=onno,password=123456
dbench --directory=/mnt/public/ --loadfile=/usr/share/dbench/client.txt --skip-cleanup 20

Hasil

 Operation      Count    AvgLat    MaxLat
 ----------------------------------------
 NTCreateX     340723    12.058   112.550
 Close         249857     3.593    88.821
 Rename         14340    26.028   113.805
 Unlink         68921     5.987    90.322
 Qpathinfo     308451     5.758   102.623
 Qfileinfo      53392     0.001     0.102
 Qfsinfo        56232     8.948    37.081
 Sfileinfo      27680     9.659    41.489
 Find          118429    24.628   120.767
 WriteX        167196     0.021     7.607
 ReadX         528743     0.877    26.560
 LockX           1080     0.004     0.027
 UnlockX         1080     0.007     0.040
 Flush          23820    11.425   219.160

Throughput 17.538 MB/sec  20 clients  20 procs  max_latency=219.169 ms

Pranala Menarik