Details

    • Type: Task Task
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Fix Version/s: 0.6.3
    • Component/s: Core
    • Labels:
      None

      Description

      I suggested this in a ML thread but it seems that nobody actually tried it. I think it's worth following up on:

      You could try setting the compaction thread to a lower priority. You could add a thread priority to NamedThreadPool, and pass that up from CompactionExecutor constructor. According to http://www.javamex.com/tutorials/threads/priority_what.shtml you have to run as root and add a JVM option to get this to work.

      In particular, Brandon saw stress.py read latencies spike to 100ms during [anti]compaction on a 2 core machine. I'd like to see if this can mitigate that.

      1. stats.txt
        4 kB
        Edward Capriolo
      2. CompactionManager.java
        24 kB
        Edward Capriolo
      3. 1181-trunk.txt
        4 kB
        Brandon Williams
      4. 1181.txt
        3 kB
        Jonathan Ellis

        Activity

        Jonathan Ellis created issue -
        Edward Capriolo made changes -
        Field Original Value New Value
        Attachment CompactionManager.java [ 12447848 ]
        Jonathan Ellis made changes -
        Assignee Brandon Williams [ brandon.williams ] Jonathan Ellis [ jbellis ]
        Jonathan Ellis made changes -
        Attachment 1181.txt [ 12448066 ]
        Jonathan Ellis made changes -
        Fix Version/s 0.6.3 [ 12315056 ]
        Fix Version/s 0.7 [ 12314533 ]
        Component/s Core [ 12312978 ]
        Jonathan Ellis made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Jonathan Ellis made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Edward Capriolo made changes -
        Attachment stats.txt [ 12448908 ]
        Brandon Williams made changes -
        Resolution Fixed [ 1 ]
        Status Resolved [ 5 ] Reopened [ 4 ]
        Assignee Jonathan Ellis [ jbellis ] Brandon Williams [ brandon.williams ]
        Brandon Williams made changes -
        Attachment 1181-trunk.txt [ 12452865 ]
        Brandon Williams made changes -
        Attachment 1181-trunk.txt [ 12452865 ]
        Brandon Williams made changes -
        Attachment 1181-trunk.txt [ 12452875 ]
        Brandon Williams made changes -
        Resolution Fixed [ 1 ]
        Status Reopened [ 4 ] Resolved [ 5 ]
        Reviewer jbellis
        Gavin made changes -
        Workflow no-reopen-closed, patch-avail [ 12513104 ] patch-available, re-open possible [ 12752301 ]
        Gavin made changes -
        Workflow patch-available, re-open possible [ 12752301 ] reopen-resolved, no closed status, patch-avail, testing [ 12758237 ]

          People

          • Assignee:
            Brandon Williams
            Reporter:
            Jonathan Ellis
            Reviewer:
            Jonathan Ellis
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development