GitHub user jacksontj opened a pull request:

    https://github.com/apache/trafficserver/pull/670

    TS-4485 schedule HostDBSyncer in ET_TASK threads instead of ET_NET threads

    Since the syncer is on ET_NET threads this effectively means every sync 
interval an ET_NET thread is blocked however long it takes to msync() your 
partition to disk (meaning we are doing blocking IO in the ET_NET threads!!!).
    
    What I'm seeing is in-flight requests and intercepts are stalled out 
waiting on the ET_NET. This simply schedules the syncer on an ET_TASK thread, 
although this make make syncs to disk slower (waiting longer on the lock) it 
will mean we don't have to stall 1/nth of ET_NET threads waiting on a disk.
    
    cc @SolidWallOfCode 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jacksontj/trafficserver TS-4485

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/trafficserver/pull/670.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #670
    
----
commit be315479d3d33d7452a90ecc1aa2f9f7664d443d
Author: Thomas Jackson <jacksontj...@gmail.com>
Date:   2016-05-26T05:36:21Z

    TS-4485 schedule HostDBSyncer in ET_TASK threads instead of ET_NET threads

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to