accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Tubbs (JIRA)" <>
Subject [jira] [Resolved] (ACCUMULO-2762) Use better compiler optimizations by default for native maps
Date Wed, 09 Jul 2014 20:29:04 GMT


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:
>             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|]
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

View raw message