Skip to content

Instantly share code, notes, and snippets.

@sacreman
Created Jun 11, 2014
Embed
What would you like to do?
riak perf issues
[root@dlovhn1 /tmp]# iostat -nx 1
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.1 0.0 0.0 0.0 0.1 0.4 0 0 lofi1
0.0 0.0 0.2 0.2 0.0 0.0 0.0 0.0 0 0 ramdisk1
7.0 102.9 206.0 2865.2 0.4 0.1 4.0 0.5 10 6 c0t0d0
7.0 102.9 207.0 2865.2 0.4 0.1 4.0 0.5 10 6 c0t1d0
14.0 166.7 413.0 5730.5 39.2 1.0 217.0 5.6 6 14 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
0.0 43.6 0.0 637.8 0.0 0.0 0.0 0.1 0 0 c0t0d0
18.8 43.6 389.2 637.8 0.1 0.0 0.8 0.6 5 3 c0t1d0
18.8 43.6 389.2 1275.7 0.0 0.1 0.0 1.4 0 7 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
8.0 46.0 204.0 994.0 0.1 0.0 1.3 0.7 5 4 c0t0d0
14.0 46.0 88.0 994.0 0.0 0.0 0.5 0.4 2 2 c0t1d0
22.0 54.0 292.0 1987.9 0.1 0.2 0.9 2.2 1 8 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
30.0 99.0 123.5 4320.2 0.3 0.1 2.7 0.9 20 12 c0t0d0
21.0 99.0 62.0 4320.2 0.6 0.2 4.6 1.5 28 17 c0t1d0
51.0 124.0 185.5 8640.4 0.1 1.2 0.8 6.9 4 44 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
53.0 420.0 214.5 26805.8 3.1 0.3 6.6 0.7 58 31 c0t0d0
57.0 393.0 226.5 26783.8 4.0 0.4 8.8 1.0 82 43 c0t1d0
110.0 762.0 441.0 53589.5 422.8 7.9 484.9 9.1 58 94 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 15.2 0.0 60.6 0.0 0.0 0.0 0.0 0 0 ramdisk1
16.2 100.0 55.0 5890.6 0.4 0.1 3.7 1.2 13 12 c0t0d0
18.2 104.0 92.4 5912.8 0.5 0.1 4.3 1.0 19 12 c0t1d0
34.3 142.4 147.5 11803.3 0.7 1.2 3.8 6.9 9 26 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
8.9 108.9 54.4 3372.8 0.1 0.1 1.1 0.5 10 6 c0t0d0
16.8 107.9 117.8 3372.8 0.1 0.1 1.1 0.4 11 5 c0t1d0
25.7 122.7 172.2 6745.7 0.2 0.4 1.1 2.7 2 19 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
14.0 59.0 218.6 612.3 0.0 0.0 0.3 0.4 2 3 c0t0d0
2.0 60.0 7.0 612.3 0.0 0.0 0.0 0.2 0 1 c0t1d0
16.0 62.0 225.6 1224.6 0.0 0.1 0.0 1.2 0 5 zones
extended device statistics
r/s w/s kr/s kw/s wait actv wsvc_t asvc_t %w %b device
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 lofi1
0.0 0.0 0.0 0.0 0.0 0.0 0.0 0.0 0 0 ramdisk1
30.0 29.0 2337.0 632.0 0.1 0.1 1.1 2.2 7 13 c0t0d0
9.0 29.0 1152.0 632.0 0.0 0.1 0.4 2.1 1 8 c0t1d0
39.0 30.0 3489.0 1264.0 0.0 0.3 0.0 4.4 0 27 zones
[root@dlovhriakn1 ~]# vmstat 1
kthr memory page disk faults cpu
r b w swap free re mf pi po fr de sr rm s0 s1 zn in sy cs us sy id
1 0 0 25570812 1831036 1774 5384 0 225 225 0 1 -1 110 110 181 24666 134542 32538 14 17 70
6 0 0 22573780 941040 81 9019 72 413 413 0 0 0 65 43 71 52312 199375 51604 67 32 0
13 0 0 22617696 990000 33 7670 0 112 112 0 0 0 43 43 57 37264 172351 38114 65 33 3
11 0 0 22662900 1033612 86 8519 0 164 164 0 0 0 38 38 41 47049 191650 52299 64 35 1
11 0 0 22666060 1033868 59 8757 0 240 240 0 0 0 325 323 622 59672 218386 72664 67 33 0
5 0 0 22683236 1051772 453 14019 0 264 264 0 0 0 64 70 89 74330 271028 79214 60 40 0
16 0 0 22606328 981304 1180 30360 0 453 453 0 0 0 61 54 80 58523 196450 55438 73 27 0
11 0 0 22674400 1054808 108 12527 0 81 81 0 0 0 38 41 46 49124 198555 56478 63 37 0
10 0 0 22689984 1068416 183 10718 0 222 222 0 0 0 44 48 51 63280 169502 63421 68 32 0
10 0 0 22701408 1080184 155 13551 0 207 207 0 0 0 390 360 700 74247 227561 65222 68 32 0
2 0 0 22717580 1099008 43 11002 0 533 533 0 0 0 57 71 94 50726 210687 52111 60 33 7
17 0 0 22723476 1103088 110 16249 0 306 306 0 0 0 61 64 69 43234 211557 49362 70 27 4
12 0 0 22680252 1053972 146 19327 0 697 697 0 0 0 86 94 140 63109 227561 57507 72 28 0
7 0 0 22635020 1038812 182 14658 0 49 49 0 0 0 113 134 192 52182 160050 52808 62 38 0
16 0 0 22697844 1082372 44 11492 0 0 0 0 0 0 375 402 703 56442 197772 55109 59 41 0
11 0 0 22700612 1068548 72 12974 0 168 168 0 0 0 165 163 204 77037 192975 59487 54 46 0
11 0 0 22686512 1053504 146 12497 0 192 192 0 0 0 141 138 160 59653 147479 54716 53 47 0
14 0 0 22661460 1021548 159 15292 0 184 184 0 0 0 238 227 337 55797 136886 53043 68 32 0
11 0 0 22664468 1018348 425 15032 0 208 208 0 0 0 191 208 333 68213 183158 69814 63 37 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment