You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2020/06/21 07:27:00 UTC

[jira] [Commented] (HDDS-3842) Cache firstNonFullIndex in IncrementalChunkBuffer

    [ https://issues.apache.org/jira/browse/HDDS-3842?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17141331#comment-17141331 ] 

Tsz-wo Sze commented on HDDS-3842:
----------------------------------

o3842_20200621.patch: 1st patch.

> Cache firstNonFullIndex in IncrementalChunkBuffer
> -------------------------------------------------
>
>                 Key: HDDS-3842
>                 URL: https://issues.apache.org/jira/browse/HDDS-3842
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Client
>            Reporter: Tsz-wo Sze
>            Assignee: Tsz-wo Sze
>            Priority: Major
>         Attachments: o3842_20200621.patch
>
>
> Thanks [~msingh] for notifying me that the firstNonFullIndex() method in IncrementalChunkBuffer unnecessarily uses a lot of cpu.  We may cache the previous value so that the loop does not have to start at 0 every time.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: ozone-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: ozone-issues-help@hadoop.apache.org