[
https://issues.apache.org/jira/browse/TS-2182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14017350#comment-14017350
]
Leif Hedstrom commented on TS-2182:
-----------------------------------
So, I can not make it perform as poorly as I saw before. However, trying many
combinations of
{code}
CONFIG proxy.config.net.sock_send_buffer_size_in INT 16M
CONFIG proxy.config.net.sock_recv_buffer_size_in INT 16M
CONFIG proxy.config.net.sock_recv_buffer_size_out INT 16M
CONFIG proxy.config.net.sock_recv_buffer_size_out INT 16M
{code}
with sizes from 0 (default) up to 16M, shows noticeable worse performance to
origin. I tested all 4 settings, but it's the
proxy.config.net.sock_recv_buffer_size_out that's the primary culprit. With
values from 0 - 16MB in this single setting (leaving the others at default 0),
I measure 50% slowdown compared to the default of 0. On a 70MB file fetched
over ~40ms latency, the download time went from 10s (avg) to 15s (avg).
Maybe it's something I don't understand re: to how this affects the Linux
kernel, but it seems counterintuitive that trying to modify these settings can
make it worse.
> Setting proxy.config.net.sock_recv_buffer_size_out seriously affects
> performance
> --------------------------------------------------------------------------------
>
> Key: TS-2182
> URL: https://issues.apache.org/jira/browse/TS-2182
> Project: Traffic Server
> Issue Type: Bug
> Components: Configuration, Network
> Reporter: Leif Hedstrom
> Assignee: Leif Hedstrom
> Fix For: sometime
>
>
> I still need to do some more testing, but setting
> {code}
> CONFIG proxy.config.net.sock_recv_buffer_size_out INT 256K
> {code}
> on my box reduces throughput to a (fast, local) Origin by about 1000x.
> Throughput went from 18MB/sec to 15KB/sec. Removing this setting, restored
> normal performance.
--
This message was sent by Atlassian JIRA
(v6.2#6252)