Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-15675

Avoid mutex in lazy file IO implementation, that causes io serialization over threads

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.0
    • Component/s: Thor
    • Labels:

      Description

      Thor use a IFileIO implementation that allows file opens to be delayed and closed by LRU when a limit is exceeded.
      The i/o operations, e.g. read/write ad protected by a critical section currently, in order that the open and close operations are thread safe.
      This should be reworked to avoid holding the critical section for the duration of the i/o operation, which causes threads to in effect serialize io operations that share the same same ILazyFileIO.

      Roxie had the same issue (shared very similar code), but this is being address by a separate JIRA.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                jakesmith Jake Smith
                Reporter:
                jakesmith Jake Smith
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: