[
https://issues.apache.org/jira/browse/CASSANDRA-13031?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15779823#comment-15779823
]
Corentin Chary commented on CASSANDRA-13031:
--------------------------------------------
Ok, back on the machine with a 2 HDD + RAID-0 (wich is not that uncommon): a
single flush takes ~500ms.
Boot time with the patch is 6 seconds with a single flush for the new
generation number.
Boot time without that is 22 seconds (and that would be worse if we had views
or peers).
I atteched both debug.log which contains detailed timing information.
> Speed-up start-up sequence by avoiding un-needed flushes
> --------------------------------------------------------
>
> Key: CASSANDRA-13031
> URL: https://issues.apache.org/jira/browse/CASSANDRA-13031
> Project: Cassandra
> Issue Type: Bug
> Reporter: Corentin Chary
> Priority: Minor
> Fix For: 3.x
>
> Attachments: 0001-Avoid-un-needed-system-flushes-on-startup.patch,
> debug-fast.log, debug.log, debug_130131.diff, debug_130131_2.diff
>
>
> Similar to CASSANDRA-12969, do a conditional update for all functions
> with a forced blocking flush to avoid slowed-down boot sequences. The
> small performance hit of doing a read is always smaller than the one
> associated with a fsync().
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)