[zeromq-dev] hwm puzzle

Andrew Hume andrew at research.att.com
Sun May 15 18:59:19 CEST 2011


thanks, martin.

On May 15, 2011, at 9:55 AM, Martin Sustrik wrote:

> Hi Andrew,
> 
>> surely i am doing something wrong. but i can't see it.
>> what am i doing wrong?
> 
> Due to the fact that 0MQ is implemented in the user space, there are two 
> buffers on each side of connection instead of one: user-space (0MQ) 
> buffer and kernel-space (TCP) buffer. The limit for the former is set by 
> ZMQ_HWM option while the limit for the latter is set by 
> ZMQ_SNDBUF/ZMQ_RCVBUF (which translate directly to TCP SO_SNDBUF/SO_RCVBUF).
> 
> Martin
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev


------------------
Andrew Hume  (best -> Telework) +1 623-551-2845
andrew at research.att.com  (Work) +1 973-236-2014
AT&T Labs - Research; member of USENIX and LOPSA




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20110515/7f2d1475/attachment.htm>


More information about the zeromq-dev mailing list