You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kudu.apache.org by "ZhangYao (JIRA)" <ji...@apache.org> on 2019/06/20 12:58:00 UTC

[jira] [Assigned] (KUDU-2847) Optimize iteration over selection vector in SerializeRowBlock

     [ https://issues.apache.org/jira/browse/KUDU-2847?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ZhangYao reassigned KUDU-2847:
------------------------------

    Assignee: ZhangYao

> Optimize iteration over selection vector in SerializeRowBlock
> -------------------------------------------------------------
>
>                 Key: KUDU-2847
>                 URL: https://issues.apache.org/jira/browse/KUDU-2847
>             Project: Kudu
>          Issue Type: Improvement
>          Components: perf, tserver
>            Reporter: Todd Lipcon
>            Assignee: ZhangYao
>            Priority: Major
>
> Currently, SerializeRowBlock operates column-by-column, which means we have to iterate over the selection bitmap once for each column. This code isn't particularly well optimized -- in TPCH Q6, about 10% of CPU is spent in BitmapFindFirst. We should look at alternate implementations here that better amortize the bitmap iteration cost across all of the columns and generally micro-optimize it.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)