¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
Cinder Volume QOS
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2016-07-28 (¸ñ) 09:56 Á¶È¸ : 5134
                                
http://ceph.com/planet/openstack-ceph-rbd-and-qos/
https://inter6.github.io/2016/04/20/cinder-volume-qos/
http://docs.aws.amazon.com/ko_kr/AWSEC2/latest/UserGuide/benchmark_procedures.html

# source /root/admin_openrc

:: consumer
front-end : QOS policy will be applied to Compute. (Hypervisor ¿¡¼­ Á¦¾î)
back-end : QOS policy will be applied to the Block Storage back end. (½ºÅ丮Áö¿¡¼­ Á¦¾î)
both : QOS policy will be applied to both Block Storage and Compute.

# cinder qos-create Low-speed consumer="front-end" total_iops_sec=1000 total_bytes_sec=83886080
+----------+-----------------------------------------------------------+
| Property |                           Value                           |
+----------+-----------------------------------------------------------+
| consumer |                         front-end                         |
|    id    |            4fd882ec-d879-4bd6-bba3-5f3a5645ded9           |
|   name   |                         Low-speed                         |
|  specs   | {'total_iops_sec': '1000', 'total_bytes_sec': '83886080'} |
+----------+-----------------------------------------------------------+

# cinder qos-list
+--------------------------------------+-----------+-----------+-----------------------------------------------------------+
|                  ID                  |    Name   |  Consumer |                           specs                           |
+--------------------------------------+-----------+-----------+-----------------------------------------------------------+
| 4fd882ec-d879-4bd6-bba3-5f3a5645ded9 | Low-speed | front-end | {'total_iops_sec': '1000', 'total_bytes_sec': '83886080'} |
+--------------------------------------+-----------+-----------+-----------------------------------------------------------+

# cinder type-create Low-speed
+--------------------------------------+-----------+-------------+-----------+
|                  ID                  |    Name   | Description | Is_Public |
+--------------------------------------+-----------+-------------+-----------+
| f759c906-3db4-43b3-84d9-3e0b6dfb335b | Low-speed |      -      |    True   |
+--------------------------------------+-----------+-------------+-----------+

usage: cinder qos-associate <qos_specs> <volume_type_id>
# cinder qos-associate 4fd882ec-d879-4bd6-bba3-5f3a5645ded9 f759c906-3db4-43b3-84d9-3e0b6dfb335b

# cinder create --display-name low_speed --volume-type Low-speed 10


ºñ±³>
/HDD1  Qos ¼³Á¤À» ÇÏÁö ¾ÊÀº µð½ºÅ©
/HDD2  Low-speed type ¼³Á¤ µð½ºÅ©

read : io=6144.0MB, bw=285197KB/s, iops=71299 , runt= 22060msec
Disk stats (read/write):
  vdb: ios=267781/8, merge=1298212/10, ticks=2453760/227, in_queue=2454982, util=99.70%
write: io=6144.0MB, bw=211066KB/s, iops=52766 , runt= 29808msec
Disk stats (read/write):
  vdb: ios=0/212499, merge=0/1347972, ticks=0/3280782, in_queue=3281403, util=99.81%


read : io=4769.9MB, bw=81239KB/s, iops=20309 , runt= 60123msec
Disk stats (read/write):
  vdd: ios=105284/9, merge=1115019/8, ticks=6575744/21676, in_queue=6608682, util=100.00%
write: io=4730.2MB, bw=80664KB/s, iops=20166 , runt= 60047msec
Disk stats (read/write):
  vdd: ios=0/108938, merge=0/1101349, ticks=0/6698051, in_queue=6699929, util=99.99%




À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.