[
https://issues.apache.org/jira/browse/TS-4485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15302369#comment-15302369
]
ASF GitHub Bot commented on TS-4485:
------------------------------------
Github user zwoop commented on the pull request:
https://github.com/apache/trafficserver/pull/670#issuecomment-221925952
Maybe we should make the default in 7.0.0 to not sync HostDB at all. I
don't know about the back port to 6.2.x, that's something for @PSUdaemon to
consider though.
> MultiCache sync causes significant stalls to various in-flight requests
> -----------------------------------------------------------------------
>
> Key: TS-4485
> URL: https://issues.apache.org/jira/browse/TS-4485
> Project: Traffic Server
> Issue Type: Bug
> Reporter: Thomas Jackson
>
> MultiCache's sync to disk currently schedules the syncer task on the ET_NET
> thread that is holding the lock for the partition of hostdb. This is a bit
> unfortunate, as the syncer will actually call `msync` which means its calling
> a blocking write to disk. I'm seeing this cause some fairly large latency
> spikes (~100-300ms) on occasion-- even though the disk IO is completely
> available (since the ET_NET thread gets stalled the entire time, IO that
> needs to happen is also stalled).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)