[
https://issues.apache.org/jira/browse/HBASE-5945?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13824271#comment-13824271
]
stack commented on HBASE-5945:
------------------------------
[~devaraj] Just saw your comment. Thanks for review. Rough numbers attached.
If hadoopqa passes I'll commit. There is more to be had here I'd say but will
do in new issue -- then go read-side. Different approach on read-side I'd say
--- look at keeping the request off-heap as long as possible.. we'll see.
> Reduce buffer copies in IPC server response path
> ------------------------------------------------
>
> Key: HBASE-5945
> URL: https://issues.apache.org/jira/browse/HBASE-5945
> Project: HBase
> Issue Type: Improvement
> Components: IPC/RPC
> Affects Versions: 0.95.2
> Reporter: Todd Lipcon
> Assignee: stack
> Fix For: 0.96.1
>
> Attachments: 5945-in-progress.2.1.patch, 5945-in-progress.2.patch,
> 5945-in-progress.patch, 5945v2.txt, 5945v4.txt, 5945v4.txt,
> buffer-copies.txt, even-fewer-copies.txt, hbase-5495.txt, with_patch.png,
> without_patch.png
>
>
> The new PB code is sloppy with buffers and makes several needless copies.
> This increases GC time a lot. A few simple changes can cut this back down.
--
This message was sent by Atlassian JIRA
(v6.1#6144)