You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Christopher Tubbs (JIRA)" <ji...@apache.org> on 2014/07/09 22:29:04 UTC

[jira] [Resolved] (ACCUMULO-2762) Use better compiler optimizations by default for native maps

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

Christopher Tubbs resolved ACCUMULO-2762.
-----------------------------------------

    Resolution: Fixed

Okay. Re-closing this. It seems like it should be fine for us to not exclude this optimization, based on the following assumptions:

# Our native code is small, depending mostly on STL stuffs, and we don't do crazy stuff that risks these sorts of bugs.
# Risk of buggy code is small, because the code paths are thoroughly exercised and we'd catch them in testing.
# If this optimization does cause problems due to buggy code, we'd rather fix the bug rather than avoid the optimization.

> Use better compiler optimizations by default for native maps
> ------------------------------------------------------------
>
>                 Key: ACCUMULO-2762
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2762
>             Project: Accumulo
>          Issue Type: Improvement
>          Components: native
>    Affects Versions: 1.5.1, 1.6.0
>            Reporter: Christopher Tubbs
>            Assignee: Christopher Tubbs
>            Priority: Minor
>              Labels: newbie
>             Fix For: 1.5.2, 1.6.1, 1.7.0
>
>         Attachments: ACCUMULO-2762.v1.patch
>
>
> [A comment|https://issues.apache.org/jira/browse/ACCUMULO-2749?focusedCommentId=13985780&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13985780] on ACCUMULO-2749 identified improved performance with better compiler optimizations for native maps (-O3 instead of -O2).
> The native shared library is small, and enabling these additional optimizations will not result in a significantly slower build, so I don't see any reason why we should not enable better optimizations by default in the Makefile, if we can identify them.



--
This message was sent by Atlassian JIRA
(v6.2#6252)