°Ô½Ã¹° 1,369°Ç
   
Improve disk I/O performance in KVM
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2013-06-21 (±Ý) 10:08 Á¶È¸ : 6249
±ÛÁÖ¼Ò :
                                
http://itscblog.tamu.edu/improve-disk-io-performance-in-kvm/

±âÁ¸ qcow2 À̹ÌÁö preallocation=metadat ¿É¼ÇÁÖ°í convert 
# qemu-img convert -f qcow2 -O qcow2 -o preallocation=metadata centos_test0_nopreallc.qcow2 centos_test0_preallc.qcow2



Preallocation mode (allowed values: off, metadata). 
An image with preallocated metadata is initially larger but can improve performance when the image needs to grow.

# qemu-img create -f qcow2 -o size=200G,preallocation=metadata preallocation.img
Formatting 'preallocation.img', fmt=qcow2 size=214748364800 encryption=off cluster_size=65536 preallocation='metadata' lazy_refcounts=off

# qemu-img create -f qcow2 -o size=200G  non_preallocation.img
Formatting 'non_preallocation.img', fmt=qcow2 size=214748364800 encryption=off cluster_size=65536 lazy_refcounts=off

# ls -lh
-rw-r--r--   1 root root 196K Jun 21 10:34 non_preallocation.img
-rw-r--r--   1 root root 201G Jun 21 10:34 preallocation.img


# du -sh *
136K    non_preallocation.img
32M     preallocation.img

¡Ø ·ÎÄÿ¡¼­ º¹»ç(cp)¸¦ ÇϰԵɰæ¿ì´Â ½ÇÁ¦ µ¥ÀÌŸ ½ÎÀÌÁî·Î º¹»çµÇÁö¸¸ wget, ftp, scp µîµî ´Ù¸¥°÷À¸·Î ¿Å±æ¶§°¡ ¹®Á¦µÊ... 200G ±×´ë·Î....



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

 



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