How do you mimic low bandwidth for testing HTML rendering on slow computers? I'm using Safari 4 on a Mac.
8 Answers
Found the SpeedLimit preference tool mentioned in another SO answer. Works for me and is very unobtrusive to use (no application, no command line, no Java).

- 17,018
- 15
- 95
- 120
-
This is a great little (app) it's actually a preference pane add in. Works great! – dgavey Oct 19 '10 at 16:24
You're probably looking for traffic shaping, in MacOS X it's included in the kernel. Take a look at http://www.macgeekery.com/hacks/software/traffic_shaping_in_mac_os_x

- 1,955
- 16
- 22
-
1There's an better solution using Apple's Network Link Conditioner. Have a look at my answer. – Aug 21 '13 at 10:54
-
1@ErikAigner Great suggestion! At the time of writing the answer OSX Lion with it's Network Link Conditioner was not released, but you're absolutely correct that this would be the most convenient choice today. – kb. Aug 27 '13 at 15:55
If you have an Apple Developer account, look for the "Hardware IO Tools for Xcode" download. There is a Network Link Conditioner pref-pane included just for that with some good presets for
- 3G (Average/Good/Lossy)
- Edge (Average/Good/Lossy)
- WiFi (Average/Good/Lossy)
- Cable
- DSL
Also have a look at this answer

- 1
- 1
You could set up a local webserver (ie Apache) and use the traffic shaping capabilities thereof.
An article on Apache throttling
I guess most popular webservers support this.
edit:Typos

- 4,506
- 3
- 26
- 44
I'm a big fan of using the Charles Web Debugging Proxy. It allows you to throttle your own bandwidth to simulate different connection speeds (and a whole mess of other stuff, too). Highly recommended.

- 27,655
- 8
- 56
- 72
There is a program by Intrarts called "throttled", and the command-line version seems to be free (price):
throttled is a bandwidth shaping application for Mac OS X and FreeBSD which allows you to cap your upstream bandwidth, prioritize ACK packets, and keep your download speeds high even when your server is sending out at full speed.
...which seems to be a little tangential to your needs, but might be able to be configured to do what you want.

- 29,332
- 18
- 93
- 152
I wrote a post on using waterroof to limit bandwidth a while ago.
It uses ipfw under the covers, but has a nice UI for this kind of thing.

- 26,511
- 10
- 70
- 81
One option is Trickle for Mac.
Alternatively, if you don't have to use Safari, you could use Firefox with the Firefox Throttle plugin.

- 7,481
- 4
- 58
- 67