On 07/11/06, Trustin Lee <[EMAIL PROTECTED]> wrote:
I see. Your device is flushing the write buffer blazingly fast so the write loop doesn't finish soon enough when a lot of data is in the write queue. That makes sense. Then what do you think about limiting the amount of data written per session per loop instead of using two threads? I think we need to compare the modified version of SocketIoProcessor and the MultiSocketIoProcessor.
It would be interesting to try that again, and compare the results. It definitely is the case that you won't see advantages unless you have a box with a larger number of cores/CPUs but that kind of box is now becoming very common. RG