[ 
https://issues.apache.org/jira/browse/TS-3547?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14509160#comment-14509160
 ] 

Susan Hinrichs commented on TS-3547:
------------------------------------

I think I see why the system isn't coalescing SSL_write blocks.  We call 
SSL_write from SSLWriteBuffer() in SSLUtils.c  After the SSL_write, we call 
BIO_flush, which I assume will force out a packet.

Instead, we should move the BIO_flush call to the end of 
SSLNetVConnection::load_buffer_and_write() after all the queued up blocks have 
been written via SSLWriteBuffer.

I'll experiment on my own with this, but since [~jacksontj] can exercise this 
problem at will, thought you might want to experiment in parallel. 

> SSLNetVConnection: switch to a vectored write
> ---------------------------------------------
>
>                 Key: TS-3547
>                 URL: https://issues.apache.org/jira/browse/TS-3547
>             Project: Traffic Server
>          Issue Type: Bug
>            Reporter: Thomas Jackson
>
> UnixNetVConnection does a vectored write which bunches blocks together until 
> the outgoing buffer will fill up. This means we can better fill the packets, 
> and should give us a bit of a performance boost to SSL writes.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to