ThreadPoolingMixIn

miller.paul.w at gmail.com miller.paul.w at gmail.com
Mon Jun 2 17:19:34 EDT 2008


On Jun 2, 12:41 pm, pavel.uva... at gmail.com wrote:
> On Jun 2, 7:15 pm, Michael Ströder <mich... at stroeder.com> wrote:

>
> Here are benchmarks for FreeBSD 6.2, amd64
>
> packet_size         x         y
>           0    499.57   1114.54
>        1024    499.29   1130.02
>        3072    500.09   1119.14
>        7168    498.20   1111.76
>       15360    499.29   1086.73
>       31744    500.04   1036.46
>       64512    499.43    939.60
>      130048    499.28    737.44
>      261120    498.04    499.03
>      523264    307.54    312.04
>     1047552    173.57    185.32
>     2096128     93.61     94.39
>
> x = ThreadingMixIn replies/s
> y = ThreadPoolingMixIn replies/s

Well, I'd say you've got yourself a winner.  Performance (at least on
FreeBSD) seems as good or better for your ThreadPoolingMixin than
ThreadingMixin.  Is this with the default values of min=5 and max=5
worker threads?



More information about the Python-list mailing list