[
https://issues.apache.org/jira/browse/TS-4324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15312899#comment-15312899
]
ASF GitHub Bot commented on TS-4324:
------------------------------------
GitHub user masaori335 opened a pull request:
https://github.com/apache/trafficserver/pull/693
TS-4324: Buffer responses to not send small size DATA frames
If body_done flag is not marked and read available size is smaller
than 16KB in Http2ConnectionState::send_a_data_frame(), wait until
body_done flag is marked or read available size is over 16KB.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/masaori335/trafficserver ts-4324
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/trafficserver/pull/693.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #693
----
commit 5f6987bca382ffbdb7eb87497d2ec56be268b5b7
Author: Masaori Koshiba <[email protected]>
Date: 2016-05-24T21:26:58Z
TS-4324: Buffer responses to not send small size DATA frames
If body_done flag is not marked and read available size is smaller
than 16KB in Http2ConnectionState::send_a_data_frame(), wait until
body_done flag is marked or read available size is over 16KB.
----
> Inefficient way of transferring data frames
> -------------------------------------------
>
> Key: TS-4324
> URL: https://issues.apache.org/jira/browse/TS-4324
> Project: Traffic Server
> Issue Type: Improvement
> Components: HTTP/2
> Reporter: Bryan Call
> Assignee: Masaori Koshiba
> Fix For: 7.0.0
>
>
> ATS transfers data 8K - 9 bytes (http/2 header size) and then sends the 9
> bytes is couldn't write in a new frame that only has 9 bytes. This also
> happens if you bump up the buffer size to 16K.
> {code}
> [ 1.036] recv DATA frame <length=8183, flags=0x00, stream_id=13>
> [ 1.036] recv DATA frame <length=9, flags=0x00, stream_id=13>
> [ 1.259] recv DATA frame <length=8183, flags=0x00, stream_id=13>
> [ 1.259] recv DATA frame <length=9, flags=0x00, stream_id=13>
> [ 1.259] recv DATA frame <length=8183, flags=0x00, stream_id=13>
> [ 1.259] recv DATA frame <length=9, flags=0x00, stream_id=13>
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)