• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
throttling suggestions ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

throttling suggestions ?


  • Subject: throttling suggestions ?
  • From: Nicolas Berloquin <email@hidden>
  • Date: Wed, 28 Apr 2004 15:41:35 +0200

Hello !


I'm writing an app that does upload throttling (you set a max upload rate).

Even though my "upload" code seems to work fine, (I checked all my calculations, time deltas etc), when I
monitor with a net monitor, the threshold is *often* way off.

My theory is that remote peers that had their tcp send queue full are suddenly receiving the data, hence
increasing the total kb/s bandwidth.

Would anyone have suggestions as to how I can take this into account in my throttling calculations ?

I thought about checking for each send socket and calculate a magic number for the total of blocked
TCP send queues, that I would then remove from my upload rate, but this feels too random to me...

I guess I would need to know when a send queue has suddenly emptied or somethin' ..??

thanks !
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: throttling suggestions ?
      • From: Peter Sichel <email@hidden>
  • Prev by Date: Re: Anybody know where to find this information?
  • Next by Date: Re: throttling suggestions ?
  • Previous by thread: Re: Anybody know where to find this information?
  • Next by thread: Re: throttling suggestions ?
  • Index(es):
    • Date
    • Thread