You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by GitBox <gi...@apache.org> on 2021/02/09 13:36:00 UTC

[GitHub] [trafficserver] c-taylor opened a new issue #7504: Optimise default_buffer_water_mark for memory allocation

c-taylor opened a new issue #7504:
URL: https://github.com/apache/trafficserver/issues/7504


   Feature request.
   
   The parameter proxy.config.http.default_buffer_water_mark can be used to increase memory buffering when reading out of the cache. This can have really positive properties with high levels of concurrency when using read while writer, but at the expense of memory. On a busy system with high concurrency, increasing this value even slightly can consume large amounts of memory, and it is impossible to assert how much of that is 'useful'.
   'Useful' here is described as over buffering to both complete the write of the object, and to ensure the shared cursor is not dependent on the transfer rate of the first requester.
   
   The positive effects are at their greatest when:
   * Response size < default_buffer_water_mark
   * Read while writer enabled
   * High request concurrency
   
   RAM cost for little to no benefit:
   * Response size > buffer_water_mark
   
   ----
   
   The suggestion here is to add a new parameter:
     proxy.config.http.high_buffer_water_mark
   
   We should defer increasing the buffer_water_mark above default , and ONLY if:
   `default_buffer_water_mark < "Content Length" < high_buffer_water_mark`
   
   This should have the desired improvement for all responses within the RAM buffering threshold we set, and not incur the cost for larger files outside of that window.


----------------------------------------------------------------
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [trafficserver] github-actions[bot] commented on issue #7504: Optimise default_buffer_water_mark for memory allocation

Posted by GitBox <gi...@apache.org>.
github-actions[bot] commented on issue #7504:
URL: https://github.com/apache/trafficserver/issues/7504#issuecomment-1051437974


   This issue has been automatically marked as stale because it has not had recent activity. Marking it stale to flag it for further consideration by the community.


-- 
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: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org