KVM磁盘性能优化

磁盘性能是虚拟技术中的一个瓶颈,虚拟机由于经过封装以后,磁盘有所下降,尤其要对磁盘性能进行优化。

优化要点:

1、在母机(host)上,设置磁盘调度器为 deadline,有两种方法

– 在启动的时候,加入参数(需要重新启动):
elevator=deadline

– 或者实时调整参数(不需要重新启动,但是下次启动时丢失):
for f in /sys/block/sd*/queue/scheduler; do echo “deadline” > $f; done

2、使用 virtio,一定注意,否则导致磁盘性能严重下降

3、在虚拟机(VM)上,设置磁盘调度器为 noop,有两种方法

– 在启动的时候,加入参数(需要重新启动):
elevator=noop

– 或者实时调整参数(不需要重新启动,但是下次启动时丢失):
for f in /sys/block/sd*/queue/scheduler; do echo “noop” > $f; done

4、尽量使用 LVM 作为虚拟机的磁盘,qcow2会带来额外的负担,从而导致IO性能下降

 5、注意虚拟机内的 virtio驱动程序一定是最新的,特别是windows虚拟机
参考:
http://serverfault.com/questions/360718/kvm-low-io-performance
此条目发表在云计算分类目录。将固定链接加入收藏夹。

KVM磁盘性能优化》有 174 条评论

  1. Pingback引用通告: KVM磁盘性能优化 小伟速站 | 小伟速站-何小伟

  2. Pingback引用通告: sirius latest movs28 abdu23na8347 abdu23na53

  3. Pingback引用通告: solars.biz

  4. Pingback引用通告: 2019

  5. Pingback引用通告: cleantalkorg2.ru

  6. Pingback引用通告: #macron #Lassalle

  7. Pingback引用通告: a2019-2020

  8. Pingback引用通告: facebook

  9. Pingback引用通告: facebook1

  10. Pingback引用通告: javsearch.mobi

  11. Pingback引用通告: Top 10 Best

  12. Pingback引用通告: watch online TV LIVE

  13. Pingback引用通告: human design

  14. Pingback引用通告: dizajn cheloveka

  15. Pingback引用通告: human-design-space

  16. Pingback引用通告: 2020

  17. Pingback引用通告: koma 2020

  18. Pingback引用通告: hischnye-pticy-hisxne-ptic

  19. Pingback引用通告: The-Gentlemen

  20. Pingback引用通告: led-2

  21. Pingback引用通告: pod-vodoi

  22. Pingback引用通告: vk 2020

  23. Pingback引用通告: parazity-oskar-2020

  24. Pingback引用通告: human design human design

  25. Pingback引用通告: DSmlka

  26. Pingback引用通告: viagra

  27. Pingback引用通告: viagra online

  28. Pingback引用通告: +

  29. Pingback引用通告: ¯jak Son³k

  30. Pingback引用通告: astrolog

  31. Pingback引用通告: film-kalashnikov-watch

  32. Pingback引用通告: generic cialis

  33. Pingback引用通告: cialis 20mg

  34. Pingback引用通告: watch online

  35. Pingback引用通告: kinoxaxru.ru

  36. Pingback引用通告: viagra

  37. Pingback引用通告: pobachennya u vegas

  38. Pingback引用通告: Proshanie so Stalinym

  39. Pingback引用通告: strelcov 2020

  40. Pingback引用通告: film t-34

  41. Pingback引用通告: online pharmacy

  42. Pingback引用通告: canadian pharmacy

  43. Pingback引用通告: generic cialis

  44. Pingback引用通告: sildenafil

  45. Pingback引用通告: cialis generic

  46. Pingback引用通告: Beograd film 2020 Beograd

  47. Pingback引用通告: sildenafil citrate

  48. Pingback引用通告: cialis

  49. Pingback引用通告: viagra online

  50. Pingback引用通告: psiholog

  51. Pingback引用通告: psyhelp_on_line

  52. Pingback引用通告: coronavirus

  53. Pingback引用通告: PSYCHOSOCIAL

  54. Pingback引用通告: rasstanovka hellinger

  55. Pingback引用通告: Cherekasi film 2020

  56. Pingback引用通告: Film Doktor Liza (2020)

  57. Pingback引用通告: djoker film

  58. Pingback引用通告: generic viagra

  59. Pingback引用通告: buy viagra online

  60. Pingback引用通告: gidonline-filmix.ru

  61. Pingback引用通告: koronavirus-v-ukraine-doktor-komarovskiy

  62. Pingback引用通告: viagra generic

  63. Pingback引用通告: over the counter viagra

  64. Pingback引用通告: Canadian Online Pharmacies

  65. Pingback引用通告: Canadian Pharcharmy Online

  66. Pingback引用通告: t.me/psyhell

  67. Pingback引用通告: Ïñèõîëîã îíëàéí

  68. Pingback引用通告: bitly.com

  69. Pingback引用通告: viagra 100mg

  70. Pingback引用通告: viagra price

  71. Pingback引用通告: viagra coupon

  72. Pingback引用通告: cheap viagra

  73. Pingback引用通告: cialis

  74. Pingback引用通告: cialis coupon

  75. Pingback引用通告: canadian pharmacy cialis

  76. Pingback引用通告: cialis 5mg

  77. Pingback引用通告: rlowcostmd.com

  78. Pingback引用通告: bitly

  79. Pingback引用通告: movies-tekstmovies-tekst

  80. Pingback引用通告: Zemlyane 2005 smotret onlajn

  81. Pingback引用通告: pharmacy

  82. Pingback引用通告: smotret onlajn besplatno v kachestve hd 1080

  83. Pingback引用通告: gusmeasu.com

  84. Pingback引用通告: malenkie-zhenshhiny-2020

  85. Pingback引用通告: dom 2

  86. Pingback引用通告: zoom-psykholog

  87. Pingback引用通告: zoom-viber-skype

  88. Pingback引用通告: Vratar Galaktiki Film, 2020

  89. Pingback引用通告: Vratar

  90. Pingback引用通告: Cherkassy 2020

  91. Pingback引用通告: chernobyl-hbo-2019-1-sezon

  92. Pingback引用通告: moskva-psiholog

  93. Pingback引用通告: batmanapollo.ru

  94. Pingback引用通告: 323

  95. Pingback引用通告: 525

  96. Pingback引用通告: dom2-ru

  97. Pingback引用通告: Tenet Online

  98. Pingback引用通告: psy psy psy psy

  99. Pingback引用通告: order propecia

  100. Pingback引用通告: sildenafil 100mg price

  101. Pingback引用通告: generic viagra

  102. Pingback引用通告: viagra

  103. Pingback引用通告: cheap viagra

  104. Pingback引用通告: krsmi.ru

  105. Pingback引用通告: sildenafil pills

  106. Pingback引用通告: tadalafil

  107. Pingback引用通告: buy viagra generic

  108. Pingback引用通告: like-v.ru

  109. Pingback引用通告: canadian rx pharmacy

  110. Pingback引用通告: canadian pharmacy without prescription

  111. Pingback引用通告: viagra achat en france

  112. Pingback引用通告: CFOSPUK

  113. Pingback引用通告: MAMprEj

  114. Pingback引用通告: fgu0ygW

  115. Pingback引用通告: cheap cialis

  116. Pingback引用通告: buy prescription drugs online without

  117. Pingback引用通告: generic viagra

  118. Pingback引用通告: akmeologiya

  119. Pingback引用通告: dizain cheloveka

  120. Pingback引用通告: human-design-hd

  121. Pingback引用通告: generic cialis

  122. Pingback引用通告: viagra no doctor prescription

  123. Pingback引用通告: ed pharmacy

  124. Pingback引用通告: generic viagra

  125. Pingback引用通告: ed pills

  126. Pingback引用通告: buy tadalafil

  127. Pingback引用通告: batmanapollo

  128. Pingback引用通告: ed vacuum pumps

  129. Pingback引用通告: buy prescription drugs without doctor

  130. Pingback引用通告: tsoy

  131. Pingback引用通告: sildenafil pfizer

  132. Pingback引用通告: levitra 20mg

  133. Pingback引用通告: amoxicillin 500 mg brand name

  134. Pingback引用通告: viagra fuck

  135. Pingback引用通告: sildenafil results

  136. Pingback引用通告: what is viagra

  137. Pingback引用通告: female viagra too much

  138. Pingback引用通告: diy viagra recipes

  139. Pingback引用通告: tadalafil

  140. Pingback引用通告: payday loans online

  141. Pingback引用通告: viagra ingredients

  142. Pingback引用通告: viagra samples free

  143. Pingback引用通告: viagra uk

  144. Pingback引用通告: 44548

  145. Pingback引用通告: 44549

  146. Pingback引用通告: vietnamese viagra

  147. Pingback引用通告: hod-korolevy-2020

  148. Pingback引用通告: no perscription cialis

  149. Pingback引用通告: viagra prank

  150. Pingback引用通告: cod atorvastatin

  151. Pingback引用通告: HD

  152. Pingback引用通告: 158444

  153. Pingback引用通告: cialis for sale

  154. Pingback引用通告: viagra coupons

  155. Pingback引用通告: groznyy-serial-2020

  156. Pingback引用通告: tadalafil 5mg generic

  157. Pingback引用通告: viagra stock

  158. Pingback引用通告: buy generic drugs online

  159. Pingback引用通告: 38QvPmk

  160. Pingback引用通告: bitly.com/doctor-strange-hd

  161. Pingback引用通告: bitly.com/eternals-online

  162. Pingback引用通告: bitly.com/maior-grom

  163. Pingback引用通告: matrica-film

  164. Pingback引用通告: dzhonuikfilm4

  165. Pingback引用通告: bitly.com/batman20212022

  166. Pingback引用通告: bitly.com/venom-2-smotret-onlajn

  167. Pingback引用通告: bitly.com/nevremyaumirat

  168. Pingback引用通告: bitly.com/kingsmankingsman

  169. Pingback引用通告: bitly.com/3zaklyatie3

  170. Pingback引用通告: bitly.com/1dreykfilm

  171. Pingback引用通告: bitly.com/topgunmavericktopgun

  172. Pingback引用通告: bitly.com/flash2022

  173. Pingback引用通告: bitly.com/fantasticheskietvari3

  174. Pingback引用通告: bitly.com/wonderwoman1984hd

发表评论

电子邮件地址不会被公开。 必填项已用*标注