Network Load Balancing in Mac OSX ?

I’m currently in a personal project in implementing network load balancing in Mac OSX, in my google-investigation I couldn’t find any native solutions, anybody had tried something like this?

I was starting to think about porting some solutions of freebsd, but I don’t think I had enough knowledge to do this, as a matter of fact, I don’t even know how they do it in freeBSD.

I’m starting to investigate pfsense, I think its a good candidate for 2 reasons, 1. it’s based in freeBSD (like Mac OS X), and 2. I’m a former user, and I think its very stable and functional, you should consider it if you need a gateway.

What do you think, Anybody had tried this? Anybody interested? any ideas ?

No related posts.

Related posts brought to you by Yet Another Related Posts Plugin.

Tags: , , , , ,
| November 26th, 2008 | Posted in osx |

10 Responses to “Network Load Balancing in Mac OSX ?”

  1. tom kelly Says:


    I think this would be great. when you say load balancing what do you mean?

    i would like to use two separate wifi networks each with its own internet connection then utilize them both on my mac, ie. so i can download one huge file from both at the same time.

    is this what you mean?

  2. polozero Says:


    thats exactly what I mean, I have a DSL and a 3G network and I want load balancing, I read about it, and while it cannot be achieved in a pure way (because you need ISP cooperation), I found and app (haven’t used) but I said can do load balancing but in a way that if a connection is busy it gets the other connection, maybe using a download accelerator we can achieve our purpose.

    This is the app I found
    http://sustworks.com/site/prod_ipnrx_overview.html

    I will post it if I make it work…

    thank you for your comments

  3. JP Says:


    I’m intrigued – any luck?

  4. polozero Says:


    Not yet :S, I have a hard time in work so I don’t have time for my experiments, but I hope in 2 weeks this will change

  5. Dalain Says:


    I´m try to do more or less the same stuff.

    I have 2 wifi access point in my house (2 differents networks)

    1 for download stuff (torrents)
    1 for surf the web

    But the one that i use for surf the web must of the time (mornigs) nonboy use it,
    so i was wondering if i can add :

    Load balance wifi to permit my Macmini to access both networs at the same time
    and i can download more :)

    Please keep post any new ideas.

    Thanks

  6. Cisco Says:


    Hi…

    I believe you are all referring to “Internet Load Sharing”, not “Load Balancing”. Load Balancing is for incoming traffic to be routed to the least busy server on a LAN/VPN. For example, say you’re eBay, or Amazon (or just Joe Schmoe doing some P2P filesharing with a lot of data, and a huge internet connection, perhaps an OC3, of course we’re taking into consideration that you have tons of money to get such a connection, but that’s irrelevant)… What load balancing does, is when you have many clients from the internet, or intranet trying to access data that is in a specific site, the network load balancing system will route the traffic to the server with the least “LOAD” or least amount of process “percentage” available at the time the request is made.

    What this means for you and your “customers”, is a quicker response from your servers.

    With “Load Sharing”, you are using 2 internet connections to upload/download from the outside. Now, this is a complicated process due to DNS issues with IPv4/IPv6 routing. You see, when you make a request to say apple.com, Apple’s servers will get an IP registered for the session. The reply will be sent to that original IP. In order to be able to get the reply sent to your least used connection (and by this I mean the connection with the highest amount of bandwidth available at the time), Apple’s servers need to know the second IP as well. Now for many reasons, but to mention one, security, Apple’s servers won’t send the reply to multiple IP’s. That’s why security certificates were put into place. So that someone trying to get in between a connection cannot access your information.

    However, there are certain exceptions. But, you will never be able to do exactly what we’re all trying to do. (Yea, by that I do mean myself as well) All BS aside, we all know that it’s simple to get into nearby wireless networks. It would be great to be able to use both your ISP + your 40 year old neighbor’s network with that phat FiOS with 30MB down 20MB up bandwidth, or that sweet Cable connection with 50MB/50MB from that rich kid upstairs, so we can download, or serve, enormous amounts of data in one sitting… Although it cannot work exactly as we want, there’s a workaround. You can google the term “Load Sharing” or “Internet Load Sharing”. I wanted to do this a few months ago, but got sidetracked. There is a unix terminal application that you can program with a little help of a unix book, that will allow you to alternate between downloads.

    What I mean by this is, that suppose you have 10 files that you want to download, and they’re all pretty big… Say, 700MB ~ 1.5GB… Catch my drift? Good… Now, this application will look at your two active internet connections and check which one is the one with the least traffic at the time. Say it’s that FiOS connection… Ok, so it will start to use that one for the first file. Then you start to download that second file… Now app will look for the connection again, and will see that the Cable connection has the least traffic. And so on and so forth.

    Sorry that I don’t have any links, as I don’t have any time at the moment, and am just trying to share some of what I know. But this I do know works similar. There is a Cisco router, or several different Cisco routers. That will allow you to use to WAN connections. For those that may not know, a WAN is just a fancy way of saying Internet Connection, and stands for Wide-Area-Network (INTERNET, but for some larger corporations this is a mere GINORMOUS LAN).

    Just make sure that the Cisco router isn’t just a “Failover” one. This just means, that you’ll pay, or have 2 internet connections, but only use one. Then when one is disconnected for whatever reason, the second connection takes over, without you losing any downtime. This is NOT what you want.

  7. polozero Says:


    You are totally right, I will search for the right stuff, and I will put my results here (also I will correct the title of the post). Please if you had time to came back and put the links will be awesome.

    Thank you again for your comments, Load Sharing was what I was looking for…

  8. Jim Says:


    To me load balancing is computer hardware specific as it pertains to OS & Applications. In this day of multi processors, multi cores those need to be load balanced, otherwise in a multi-tasking situation, one core or even 2 cores get pegged for activity, leaving the other cpu and it’s cores underutilized. The workload is balanced out. Bad or poorer implementations of cpu & core load balancing can be seen in a task manager and hardware monitor graphs, core voltages fluctuating unevenly, temperatures significantly higher on one cpu and it’s cores. At the end of the day with those, what sense does it make to tax 1 cpu with 4 cores for the workload and buy a 2nd quad core cpu that rarely if ever gets any activity ?

    Then there’s the memory aspect, each cpu gets it’s own set of dimm slots. If load isn’t balanced for cpu & cores, the memory is also being over & under utilized for activity. And this creates bottlenecks and inefficiencies for the infrastructure for chipsets (North & Southbridges) on the logic/main/motherboard as well. Efficiency across the whole system in multi-tasking is preferable to unbalanced loads. Analogies I can think of, what if the front driver side brakes of your car took all the load of a stop and the passenger side rarely braked. The wear would occur on one side, all the stress and heat of the workload on one set of the hardware.

    In highest traffic situations, delays & waits could occur under these loads. For the most part, I’ve seen downloads even be balanced on single cpu/single core systems as well as multi cpu/multi core systems. That’s more a function of software, but could be programmed into hardware instruction sets for branch prediction.

  9. TCB13 Says:


    Hi everyone, I’m also trying to do this, but I think that installing pf under OSX won’t be so funny, anyway, here is a nice link about load balancing with pf..

    http://www.freebsdonline.com/content/view/529/506/

  10. jerm Says:


    hey i’ve been searching for this information for years. glad to finally meet someone searching for the same thing. unfortunately cisco’s argument above is quite valid, and it’s rather depressing that we still can’t do this on our home computers. please though, if you have further information, enlighten me. you have my email now so feel free to write me directly. i will do the same if i find anything new.

    cheers from sunny bali!

Leave a Reply

  • hp support 2133
  • new england patriots 50
  • bengals 08 schedule
  • searchbugsearch engines
  • randy moss autograph
  • chicago bears 09 draft
  • dis lyrics
  • pedals
  • bengals for adoption
  • new england patriots espn blog
  • chicago bears tattoos
  • vince young uncle rico gif
  • hp support 6500a plus
  • chicago bears number 17
  • connecticut quarter error
  • avenue
  • new england patriots 1996 roster
  • augustine
  • battleship vittorio veneto
  • mtv american idol
  • cspan kucinich
  • chad ochocinco vs skip bayless
  • connecticut 104.1
  • cspan ap government review
  • connecticut 30 news
  • connecticut lottery
  • new england patriots 65
  • heidelberg
  • tea party birthday
  • hp support monitors
  • new england patriots rumors
  • randy moss wallpaper
  • search engines internet
  • new england patriots jake locker
  • mtv rivals
  • dist 95
  • search protocol host
  • zara phillips royal wedding picture
  • hp support center
  • bellsouth
  • greg olsen football
  • bengals job fair
  • discjuggler
  • tea party 8 28 09
  • bengals history
  • dis v44
  • vince young 10 11
  • battleship classes
  • hp support contact number
  • mtv cartoons
  • search vim
  • hp support greece
  • connecticut natural gas
  • search 2.0
  • new england patriots store
  • zara phillips wedding plans
  • di's hallmark
  • zara phillips wedding date
  • c span youtube obama
  • vince young z
  • dis systems
  • randy moss bio
  • beau coup
  • search in vi
  • connecticut quarry
  • configuring
  • tea party zombies download
  • bea rims
  • cspan hosts
  • chicago bears garter
  • mtv 25 lame
  • bea zuberbühler
  • la ink 04x01
  • tea party young people
  • vince young 2008
  • hp support error 1005
  • vince young yahoo stats
  • greg olsen 2009 calendar
  • lilburn
  • hp support greece
  • search engines 9
  • zara phillips kids
  • dis n dat band
  • needles
  • hispanic
  • randy moss university
  • stefani
  • vince young jersey texas
  • peek
  • battleship kirishima
  • bea verdi
  • battleship aurora
  • tea party nj
  • search engines rankings 2011
  • bengals football
  • greg olsen vikingsgreg olsen wife
  • search 4
  • brugge
  • search engines before google
  • primer
  • chicago bears schedule 2011
  • freida pinto green dress
  • la ink price list
  • chad ochocinco traded
  • connecticut 7 day weather forecast
  • zara phillips tongue
  • hp support id
  • recoil
  • chicago bears gifts
  • cspan government shutdown
  • battleship texas hours
  • search 78search 800 numbers
  • applebees
  • hp support driver downloads
  • impairment
  • greg olsen boulder
  • hp support helpline
  • mbna
  • duggan
  • la ink tattoos
  • sheetmetal
  • new england patriots xxl
  • greg olsen twitter
  • morris
  • freida pinto 1995
  • tea party ribbons
  • hp support chat
  • cspan question timecspan radio
  • randy moss jail
  • cspan washington correspondents dinner 2011
  • zara phillips husband
  • beagle
  • freida pinto chanel
  • chicago bears training camp
  • alum
  • connecticut post
  • hp support center
  • greg olsen mormon
  • vince young dadvince young eagles
  • dis tester
  • randy moss height
  • randy moss 98 vikings
  • cooling
  • zara phillips and the queen
  • la ink upcoming episodes
  • 4pm cspancspan area 51cspan 90.1
  • new england patriots 80
  • dis 2012 conference
  • hp support 6310hp support 7200
  • beta
  • tea party medicare
  • vince young released
  • deflector
  • chad ochocinco free agent
  • search 5500
  • zara phillips baby
  • freida pinto can't act
  • hp support error 1005
  • chicago bears zip hoodie
  • chicago bears football club
  • bea 460 bosch
  • addiction
  • cspan streaming
  • acdc
  • freida pinto miral
  • trojans
  • mtv jams
  • kimberly
  • search engines 2008
  • cspan goldman sachs hearingcspan history
  • freida pinto jeansfreida pinto kissing
  • cadet
  • hp support hard drive replacement
  • bea goldfishberg
  • connecticut law tribune
  • vince young status
  • chicago bears jewish players
  • bear gryllsbea hive dance studio
  • search engines images
  • dis poem
  • connecticut transit
  • bloods
  • search cfisd.net
  • dist 91
  • feeders
  • bea 4603