Opened 7 years ago

Last modified 7 years ago

#6261 enhancement new

iocp reactor uses small read buffer

Reported by: BrianM Owned by:
Priority: normal Milestone:
Component: core Keywords: iocpreactor
Cc: Branch:
Author:

Description

In iocpreactor\abstract.py the readBufferSize is set to 4096. This makes some operations quite slow. It should be 65K the same as other reactor read buffers

readBufferSize = 2*2*2*2

Change History (2)

comment:1 Changed 7 years ago by teratorn

Hi, thanks for the report. What does "readBufferSize = 2*2*2*2" in the description mean? I see a "maxReadBuffers = 16" in the source code; is that what you are referring to?

comment:2 Changed 7 years ago by Julian Berman

teratorn: He means 2 2 2 2 = 65K

It looks like this was done intentionally for memory concerns, see #1760 and #2087.

Note: See TracTickets for help on using tickets.