Limit my upload speed at OS level ?

Solution 1:

Network Link Conditioner

You can create a custom profile for Network Link Conditioner, using the following settings:

It is a free download in Xcode (go to Xcode → Open Developer Tool → More Developer Tools… and download the Hardware IO Tools for Xcode).

Solution 2:

Two ways that I can think of:

1. Install Apple's Network Link Conditioner

2. Use ipfw commands to create a pipe and limit bandwidth:

sudo ipfw pipe 1 config bw 80KByte/s

sudo ipfw add 1 pipe 1 src-port 80

To disable the pipe:

sudo ipfw delete 1