[zeromq-dev] Integrating additional PGM rate limit controls into ØMQ
Martin Sustrik
sustrik at 250bpm.com
Sat Nov 27 15:16:43 CET 2010
On 11/27/2010 02:52 PM, Steven McCoy wrote:
> Let me give an example:
>
> ZMQ_RATE = 100Mb/s
> ZMQ_REPAIR_RATIO = 5%
>
> would mean:
>
> The whole traffic consisting of both ODATA and RDATA will never
> exceed 100Mb/s. If there are no repairs ODATA would flow at rate of
> 100Mb/s.
>
> If there is need for repairs, the bandwidth for them is cut from the
> overall quota, say 97Mb/s for ODATA and 3Mb/s for RDATA.
>
> When the rate of RDATA packets reaches 5% of overall bandwidth
> (5Mb/s) some of them have to be dropped, meaning that some receivers
> will loose messages ("unrecoverable data loss").
>
>
> For this example look at setting TXW_MAX_RTE to 100mb/s and
> RDATA_MAX_RTE to 5mb/s.
>
> We've discussed RDATA over ODATA packet priority before, it's not the
> way to go if you want performance.
I though that "limit the overall bandwidth usage to N Mb/s and allow
repair data to steal at most M% of that bandwidth" was what we've
decided to be the best solution. Am I wrong?
Martin
More information about the zeromq-dev
mailing list