[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ocfs2-devel
Subject:    [Ocfs2-devel] [RFD] ocfs2: poor performance on append write/punch hole
From:       Joseph Qi <joseph.qi () huawei ! com>
Date:       2014-01-28 9:53:05
Message-ID: 52E77E01.9010902 () huawei ! com
[Download RAW message or body]

In ocfs2_file_aio_write, it will fall back to buffered IO when cannot
complete direct IO request, e.g. append write and punch hole. And mostly
it should firstly do space allocation and this will make much more
journal to flush.
>From test, we found the above two cases performs almost 70% lower than
normal case(allocate space first and overwrite). Furthermore, it spends
more than 90% time on jbd2_journal_force_commit during aio write.

So if anyone have an idea on how to tune the performance on these two cases?


_______________________________________________
Ocfs2-devel mailing list
Ocfs2-devel@oss.oracle.com
https://oss.oracle.com/mailman/listinfo/ocfs2-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic