Pick of the Week - Nov 10 [Show all picks]
Path Finder 5 - A feature-laden Finder replacement
Submit Hint Search The Forums LinksStatsPollsFAQHeadlinesRSS
12,000 hints and counting!


Click here to return to the 'Bandwidth throttling in OS X' hint
The following comments are owned by whomever posted them. This site is not responsible for what they say.
Bandwidth throttling in OS X
Authored by: regulus on Sat, Jan 26 2008 at 8:34AM PST
This is not working for me. I tried it out on a filesharing (AFP) connection between 2 computers on my home network. From one computer I mounted the hard drive of the second computer. I then transferred a 65 MB file and found that I was getting a transfer speed of over 20 MB/s on my gigabit ethernet network. Then I tried the commands to limit the transfer speed as follows...

sudo ipfw pipe 1 config bw 1MByte/s
sudo ipfw add 1 pipe 1 src-port 548

I then transferred the file again and my transfer speed dropped dramatically, but it dropped to 5 MB/s instead of 1 MB/s. I played around with the commands but no matter what speed I set it always transfers at 5 MB/s. When I delete the rule and the pipe my transfer speed again shoots to over 20 MB/s, so it is doing something but it does not limit the transfer speed as set.

Any thoughts or suggestions?

[ Reply to This | # ]
Bandwidth throttling in OS X
Authored by: jaguarcy on Tue, Jan 29 2008 at 9:43AM PST
Are you measuring the speed in megaBytes, or megabits? 1MByte/s is about 8Mbits/s... That could be one explanation.

[ Reply to This | # ]
Bandwidth throttling in OS X
Authored by: TalonGold on Thu, Nov 5 2009 at 3:39PM PST
I've tried ALL of the ones listed here, AFP simply seems to NOT listen to the ipfw...

All i want to do is regulate AFP bandwidth on my network, anybody have a way to do that?

[ Reply to This | # ]