zwoop opened a new pull request, #13202:
URL: https://github.com/apache/trafficserver/pull/13202

   Insert a buffer BIO on the write side so multiple TLS records accumulate 
without syscalls, flushed once after the write loop. This reduces write() calls 
from one-per-record to one-per-flush, directly addressing the ~15% of CPU spent 
in write() syscalls. TCP_CORK/NOPUSH wraps the write loop as a secondary 
optimization for TCP segment batching. Consolidate SSL ex_data from 9 slots to 
1 struct pointer, skip handshake buffer allocation when blind-tunnel is not 
configured, fix sslTotalBytesSent to update inside the write loop for correct 
dynamic record sizing ramp, batch metric counter increments to reduce 
cross-thread cache-line contention, and use the cached NetHandler timestamp 
instead of calling ink_get_hrtime per write event.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to