You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bookkeeper.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2017/05/03 07:56:04 UTC

[jira] [Commented] (BOOKKEEPER-816) use native fallocate & sync_file_range to improve journal allocation

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

ASF GitHub Bot commented on BOOKKEEPER-816:
-------------------------------------------

Github user jiazhai commented on the issue:

    https://github.com/apache/bookkeeper/pull/80
  
    build success on ubuntu 16.04.
    ```
    [INFO] bookkeeper ......................................... SUCCESS [  0.836 s]
    [INFO] compability dependencies ........................... SUCCESS [  0.014 s]
    [INFO] bookkeeper-server-compat400 ........................ SUCCESS [  9.552 s]
    [INFO] bookkeeper-server-compat410 ........................ SUCCESS [  7.361 s]
    [INFO] bookkeeper-server-compat420 ........................ SUCCESS [  8.026 s]
    [INFO] Stats API for bookkeeper ........................... SUCCESS [  0.189 s]
    [INFO] bookkeeper-server .................................. SUCCESS [ 12.366 s]
    [INFO] bookkeeper-benchmark ............................... SUCCESS [  1.108 s]
    [INFO] Stats provider for twitter-stats package ........... SUCCESS [  0.627 s]
    [INFO] Stats provider for twitter-ostrich package ......... SUCCESS [  1.415 s]
    [INFO] Stats provider for codahale metrics ................ SUCCESS [ 17.862 s]
    [INFO] bookkeeper-stats-providers ......................... SUCCESS [  0.011 s]
    [INFO] ------------------------------------------------------------------------
    [INFO] BUILD SUCCESS
    [INFO] ------------------------------------------------------------------------
    [INFO] Total time: 59.685 s
    [INFO] Finished at: 2017-05-03T15:49:41+08:00
    [INFO] Final Memory: 48M/715M
    [INFO] ------------------------------------------------------------------------
    
    jia@x-ubuntu:~/ws/code/bookkeeper-95028b9d85f6e0dbc932f44b440798ea4fb49d02$ uname -a
    Linux x-ubuntu 4.8.0-49-generic #52~16.04.1-Ubuntu SMP Thu Apr 20 10:55:59 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
    ```
    
    @eolivelli Is the build error related to this change?
    It seems  not finding file <asm-x86_64/unistd.h> while make.
    ```
    [exec] #include <asm-x86_64/unistd.h>
    [exec] ^
    [exec] compilation terminated.
    ```


> use native fallocate & sync_file_range to improve journal allocation
> --------------------------------------------------------------------
>
>                 Key: BOOKKEEPER-816
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-816
>             Project: Bookkeeper
>          Issue Type: Improvement
>          Components: bookkeeper-server
>            Reporter: Sijie Guo
>            Assignee: Sijie Guo
>             Fix For: 4.5.0
>
>
> it'd better to leverage filesystem fallocate & sync_file_range for journal performance.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)