throttling suggestions ?
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.