¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 160°Ç
   
¸®´ª½º ³×Æ®¿öÅ© ¹êµåÀ§½º Á¦ÇÑ
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2015-01-27 (È­) 15:08 Á¶È¸ : 4453
±ÛÁÖ¼Ò :
                          

http://monkey.org/~marius/pages/?page=trickle
http://www.tecmint.com/manage-and-limit-downloadupload-bandwidth-with-trickle-in-linux/

¾îÇø®ÄÉÀÌ¼Ç º°·Î ¹êµåÀ§½º Á¦ÇÑ
OS : CentOS 6.6 x86_64 
With EPEL repository
# yum install trickle
Installing:
trickle          x86_64         1.07-19.el6            epel           42 k

# trickle -help
Usage: trickle [-hvVs] [-d <rate>] [-u <rate>] [-w <length>] [-t <seconds>]
               [-l <length>] [-n <path>] command ...
-h           Help (this)
-v           Increase verbosity level
-V           Print trickle version
-s           Run trickle in standalone mode independent of trickled
-d <rate>    Set maximum cumulative download rate to <rate> KB/s
-u <rate>    Set maximum cumulative upload rate to <rate> KB/s
-w <length>  Set window length to <length> KB 
-t <seconds> Set default smoothing time to <seconds> s
-l <length>  Set default smoothing length to <length> KB
-n <path>    Use trickled socket name <path>
-L <ms>      Set latency to <ms> milliseconds


³×Æ®¿öÅ© ÀÎÅÍÆäÀ̽º ¹êµåÀ§½º Á¦ÇÑ
# yum install wondershaper
wondershaper             noarch            1.2.1-2.el6                epel               17 k

# wondershaper
Wonder Shaper 1.2.1
Usage: /usr/sbin/wondershaper [device] clean|[upload speed in Kb/s] [download speed in Kb/s]
Example: /usr/sbin/wondershaper eth0 20 500

# wondershaper eth0 5000 500

¼Óµµ Á¦ÇÑ ¾øÀ»¶§
# scp test.img root@192.168.200.213:/root
test.img 100%  293MB  10.5MB/s   00:28

¼Óµµ Á¦ÇÑÀÌÈÄ Ã¼Å©
scp test.img root@192.168.200.213:/root
test.img 100% 293MB 1.1MB/s 04:38

¼³Á¤ ÃʱâÈ­
# wondershaper  clear eth0
Wondershaper queues have been cleared.

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

 



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