Saturday, August 14, 2010

Bandwidth Throttling

One of the users wanted to transfer a big file (300GB) from a Unix server to an external USB HDD. To make matter worse, the UNIX server is located across the WAN and the customer's management mentioned that no one is allow to transfer file bigger than 1GB. What the management implies is that do not jam up the WAN link with big file(s) transfer.

Guess what, people literally interpreted the statement AS IS. The 300GB file is split into small chucks, just slightly smaller than the 1GB limit, and have them merge back in the destination end. Although it does not violate the management rule, there is no different in terms of bandwidth utilisation. If the user is smart (or dumb), he/she can initiate multiple downloads to accelerate the transfer and this will definitely choke up the WAN link.

Do you know that there are many ways to do bandwdith throttling:

  • Client end
  • Server end
    • lighttpd with connection.kbytes-per-second setting in the configurtion file. See traffic shaping for more details
    • mod_bw module in Apache
    • and many more

With bandwidth throttling, network utilisation can be controlled. Also, it can avoid splitting/merging of small files and having temporarily storage to house these small files.

Things to take note. Some of the older file systems and utilities can only handle file smaller than 4GB. See the comparison of all the other file systems

Labels:

0 Comments:

Post a Comment

<< Home