Write heavy application with +/- 10000k IO rate at peak time
During peek hours our I/O rate goes up to between 9,000k and 10,000k and believe it or not that is pretty normal and not due to swapping or any other problem. We just have too much data to capture for storage and the replication adds even further load due to the binary logs being created.
Question 1: While our application runs well I'm worried that we may be overusing our slice of the server and effecting the contention ratio of other customers on the server. How will I know if this is the case?
Question 2: Does the IO graph only show the usage of my own VPS or that of the IO rate on the actual RAID HDD?
3 Replies
There's fair queuing in place such that other "normal" users shouldn't be too impacted by high IO neighbors, so I wouldn't worry about it too much.
Serial writes might actually be a best-case scenario; the underlying hardware can fake a write better than it can fake a read
Result was the following:
$ vmstat 1 20
procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu----
r b swpd free buff cache si so bi bo in cs us sy id wa
0 0 0 56184 24044 1813048 0 0 1 0 0 1 1 0 99 0
0 0 0 58268 24032 1810444 0 0 0 8428 2141 1209 3 2 95 0
0 0 0 57892 24032 1810880 0 0 0 3580 1492 1170 1 0 98 0
0 0 0 57892 24032 1810672 0 0 0 6972 1707 1273 4 1 88 7
0 0 0 57488 24032 1810912 0 0 0 2644 1003 743 1 0 98 0
0 0 0 57488 24032 1810912 0 0 0 0 28 13 0 0 100 0
0 0 0 57488 24032 1810960 0 0 0 64 41 36 0 0 100 0
0 0 0 57488 24032 1810960 0 0 0 20 53 45 0 0 100 0
0 0 0 57488 24032 1810960 0 0 0 20 59 49 0 0 100 0
0 0 0 57488 24032 1810960 0 0 0 16 44 39 0 0 95 5
0 0 0 57788 24032 1810960 0 0 0 3980 228 143 0 0 97 2
0 0 0 57788 24032 1810960 0 0 0 24276 1241 1088 1 1 92 6
0 0 0 57788 24032 1810960 0 0 0 0 26 13 0 0 100 0
0 0 0 57788 24032 1810960 0 0 0 0 25 15 0 0 100 0
0 0 0 57876 24032 1810976 0 0 0 0 27 20 0 0 100 0
0 0 0 57876 24032 1810976 0 0 0 108 784 596 1 0 99 0
0 0 0 57360 24032 1811204 0 0 0 148 1364 1088 1 0 98 0
0 0 0 57236 24032 1811428 0 0 0 7028 1892 1446 3 1 94 2
0 0 0 56720 24036 1811816 0 0 0 100 1469 1156 1 0 98 0
0 0 0 56720 24036 1811816 0 0 0 0 31 18 0 0 100 0