[zeromq-dev] perf/throughput tests calculates bandwith wrong

Pieter Hintjens ph at imatix.com
Mon Feb 25 14:14:05 CET 2013


I've sent a pull request with a patch to fix this.

https://github.com/zeromq/libzmq/pull/522

-Pieter

On Mon, Feb 25, 2013 at 1:32 PM, Erik Hugne <erik.hugne at ericsson.com> wrote:
> So, i now realize that the bw figures are actually in _megabit_..
> and shortly after sending, obviously i found the problem.
>
> As i posted on IRC some moments ago:
> [13:33] <haze_> it's an overflow on this line
> [13:33] <haze_> throughput = (unsigned long)((double) message_count / (double)
>  elapsed * 1000000);
> [13:33] <haze_> in local_thr
> [13:33] <haze_> more specifically, (double) elapsed*1000000
>
>
> //E
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev



More information about the zeromq-dev mailing list