Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-21379

Investigate whether currently used busyLocks implementation is fast enough

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Motivation

      Seems that our busyLocks (IgniteSpinBusyLock) aren't good enough from the performance perspective. Let's compare current implementation with common RW locks, CheckpointReadWriteLock, etc. Depending on the results it'll be required either to use faster implementation or re-consider busyLock idea itself because currently it brings significant performance drop. Given ticket is only about initial step - busyLock performance investigation.

      Definition of Done

      • Prepare JMH benchmarks for busyLocks performance investigation.
      • Compare IgniteSpinBusyLock, common RW lock, CheckpointReadWriteLock, etc in order to understand whether IgniteSpinBusyLock is fast enough.

      Attachments

        1. BusyLockTest.java
          9 kB
          Vladislav Pyatkov

        Issue Links

          Activity

            People

              v.pyatkov Vladislav Pyatkov
              alapin Alexander Lapin
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: