Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Bandwidth throttling in OS X' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Bandwidth throttling in OS X
Authored by: regulus on Jan 26, '08 08:34:46AM

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 Jan 29, '08 09:43:41AM

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 Nov 05, '09 03:39:28PM

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 | # ]