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

Switch spinlock for critical section

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.4.2
    • Component/s: Memory Manager
    • Labels:
      None

      Description

      Currently a spinlock (heapletLock) is used to protect access to each heaplet. It would really be better using a critical section, but on one test (04dd) that added approximately 20% to the execution time.

      It would be worth delving deeper into why it is slower, and what can be done to improve it.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              ghalliday Gavin Halliday
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: