Advertisement
Guest User

Untitled

a guest
May 10th, 2013
248
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.93 KB | None | 0 0
  1. Тест на сервере от digitalocean.com
  2. [root@wmail home]# dd if=/dev/zero of=tempfile bs=5M count=1024 conv=fdatasync,notrunc
  3. 1024+0 records in
  4. 1024+0 records out
  5. 5368709120 bytes (5.4 GB) copied, 28.0395 s, 191 MB/s
  6. [root@wmail home]# dd if=tempfile of=/dev/null bs=5M count=1024
  7. 1024+0 records in
  8. 1024+0 records out
  9. 5368709120 bytes (5.4 GB) copied, 19.8854 s, 270 MB/s
  10. ===========================
  11. [root@wmail home]# hdparm -tT /dev/sda
  12.  
  13. /dev/sda:
  14.  Timing cached reads:   12048 MB in  2.00 seconds = 6031.07 MB/sec
  15.  Timing buffered disk reads:  432 MB in  3.02 seconds = 142.98 MB/sec
  16. ===========================
  17. [root@wmail home]# sysbench --num-threads=16 --test=fileio --file-total-size=5G --file-test-mode=rndrw run
  18. sysbench 0.4.12:  multi-threaded system evaluation benchmark
  19.  
  20. Running the test with following options:
  21. Number of threads: 16
  22.  
  23. Extra file open flags: 0
  24. 128 files, 40Mb each
  25. 5Gb total file size
  26. Block size 16Kb
  27. Number of random requests for random IO: 10000
  28. Read/Write ratio for combined random IO test: 1.50
  29. Periodic FSYNC enabled, calling fsync() each 100 requests.
  30. Calling fsync() at the end of test, Enabled.
  31. Using synchronous I/O mode
  32. Doing random r/w test
  33. Threads started!
  34. Done.
  35.  
  36. Operations performed:  6003 Read, 3997 Write, 12800 Other = 22800 Total
  37. Read 93.797Mb  Written 62.453Mb  Total transferred 156.25Mb  (32.599Mb/sec)
  38.  2086.36 Requests/sec executed
  39.  
  40. Test execution summary:
  41.     total time:                          4.7930s
  42.     total number of events:              10000
  43.     total time taken by event execution: 28.5906
  44.     per-request statistics:
  45.          min:                                  0.01ms
  46.          avg:                                  2.86ms
  47.          max:                                329.93ms
  48.          approx.  95 percentile:               9.79ms
  49.  
  50. Threads fairness:
  51.     events (avg/stddev):           625.0000/145.36
  52.     execution time (avg/stddev):   1.7869/0.26
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement