[zeromq-dev] Integrating additional PGM rate limit controls into ØMQ
Steven McCoy
steven.mccoy at miru.hk
Sat Nov 27 05:23:27 CET 2010
Hi Martin,
ØMQ currently includes one configuration rate parameter, defined in the
man page as:
The *ZMQ_RATE* option shall set the maximum send or receive data rate for
> multicast transports such as zmq_pgm(7)<http://api.zeromq.org/zmq_pgm.html> using
> the specified *socket*.
With OpenPGM 5.1.95 you can now configure the following:
- TXW_MAX_RTE, the maximum transport rate.
- ODATA_MAX_RTE, limit for original data packets.
- RDATA_MAX_RTE, limit for repair data packets.
And for whatever reason you can also set the following flags:
- ODATA_CONTROLLED, whether original data packets are rate limited.
- RDATA_CONTROLLED, whether repair data packets are rate limited.
So for deployment you can set a percentage of the channel capacity to
TXW_MAX_RTE, low enough to allow some TCP traffic in and out, and
ODATA_MAX_RTE to a value lower with sufficient head room for some repair
data to occur.
I would ignore the flags as they seem a bit redundant but configuring ODATA
and RDATA limits is what you have been after.
--
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20101127/3c1f8b20/attachment.htm>
More information about the zeromq-dev
mailing list