Slashdot Mirror


Partitioning Bandwidth Using Mac OS X?

dasboy has this query: "I was wondering if anyone knew of away to partition bandwidth amongst a group of computers running Mac OS X? I have a [few Macintosh machines] at home all on the same LAN and all on the same Internet connection. One of these machines is used by my daughter when she's home from school. The biggest problems happen when she begins downloading large files (I'll let you guess what she downloads <grin!>). I was wondering if there are any cool BSDish ways of constricting the amount of bandwidth her computer uses?"

12 of 61 comments (clear)

  1. Eep! by NegativeK · · Score: 4, Funny

    I'll let you guess what she downloads

    I'll leave it up to everyone else with perverted minds to guess what _I_ thought of when I first read that.

    I feel like a bad person now.

    --
    This statement is false.
    1. Re:Eep! by joe52 · · Score: 4, Funny

      No, it's clearly illustrated recipes. Everyone knows that that's what God intended the Internet for. And the illustrations are very large.

      Recipes for making babies...

  2. Porn :rolleyes: by isorox · · Score: 4, Funny

    The biggest problems happen when she begins downloading large files (I'll let you guess what she downloads

    4 posts so far, 3 implying she downloads porn. You did ask for it you know :)

    QoS on the router would be the best bet in my uninformed opinion. Other then that a download manager that throttles her bandwidth

  3. Wonderful by entrylevel · · Score: 5, Informative

    I haven't tried it yet (1.5Mbps is plenty for all those on my home LAN), but you might want to give Throttled a shot. Certainly not the easiest to use (no GUI), but it is open source and cross platform (Linux/BSD/OS X). Basically it runs a server process that you enables bandwidth throttling in your kernel's firewall. The configuration file is simple enough to understand and is quite flexible. You can change also settings while it is running by sending it signals using the not-so-aptly-named 'kill' command in the terminal.

    --
    Karma: Incomprehensible (Mostly affected by posting at +5, reading at -1, and metamoderating everything unfair.)
  4. try these? by RalfM · · Score: 5, Informative
    CarraFix might do the trick, or maybe Throttled X


    Ralf

    --
    The trouble with the world is that the stupid are cocksure and the intelligent are full of doubt.
    -Bertrand Russel
  5. QoS by Iron+Chef+Unix · · Score: 4, Interesting

    QoS (Quality of Service) settings on your router might be the easiest method. I've never used it, but I know my LinkSys allows you to set priorities (High, Low) for either a specific LAN port, or a particular protocol. Assuming you know what program she is using, say LimeWire, you can also set a specific port (23, etc) to a low priority. I'd be interested to see what effect this has.

    --
    Like puzzle games? Warehouse51 for iOS
  6. IPFW by Quicksilver31337 · · Score: 4, Informative

    The simplest way to limit the amoutn of bandwidth she is using would be to throttle it using ipfw, the BSD firewall, you can use it either drop random packets by percentage in order to limit the bw she consumes as well as several other methods.

    --
    _______
    Death wish, n.:

    The only wish that always comes true, whether or not one wishes it t
  7. IPFW and Dummynet by Graff · · Score: 5, Informative
    You can do this by setting up a firewall in the Terminal. Follow the instructions posted here, replacing the contents of the rc.firewall.current file with the following commands:

    #!/bin/sh
    ipfw add 1000 pipe 1 ip from any to any
    ipfw pipe 1 config bw 300Kbit/s queue 50KBytes
    ipfw add allow ip from any to any


    Doing this should limit the connection to 300Kbit/s. If you want the connection faster or slower you simply need to change the 300Kbit/s number. 56Kbit/s should be approximately the speed of a 56K modem. The last number probably should be scaled appropriately to the first number, that is if you cut the first number in half then cut the second in half.

    To learn more about pipes and dummynet, read the manpages for ipfw with the following command in the terminal:
    man ipfw

  8. Too bad by batobin · · Score: 5, Funny

    **sigh**

    This is the 4th young girl I've heard about this week succumb to the evils of Richard Simmons videos. Which is her favorite? The "Disco Blast Off", or the "Best of Latin Buns Burning"?

    Or is it....no....it couldn't be...."Getting Dirty with the 80s"? Oh, the humanity!

  9. Umm... by Anonymous Coward · · Score: 5, Insightful

    ...have you tried talking to her about it? :)

  10. Bandwidth Throttling by Patrick+Lewis · · Score: 5, Funny
    One solution is to say GET OFF THE DAMN COMPUTER!

    Well, that's what my Dad would have done.

    --
    "If I am such a genius, how come that I am drunk and lost in the desert with a bullet in my ass?" --Otto (Malcom ITM)
  11. what you really want . . . by superposed · · Score: 4, Informative

    . . . is not bandwidth throttling, but rather packet prioritization. It will be unnecessarily restrictive (and not ideal for you either) to give her, e.g., 300 kbps at all times. It would be much better to give yourself all the bandwidth you want at any given moment, and give her whatever's left over. That way she could use the full bandwidth most of the time, but not interfere with your work at all in the rare moments when you need a lot of bandwidth. Unfortunately, this kind of prioritization between traffic from different hosts would have to happen in the router, so it's probably not available on your home network.