orientdb icon indicating copy to clipboard operation
orientdb copied to clipboard

Check that all operations in pages operate with addresses aligned by size of data units they operate on

Open andrii0lomakin opened this issue 1 year ago • 0 comments

Not-aligned data accesses dramatically decrease the speed of CPU operations, so:

  1. Ensure that the addresses of all allocated pages are aligned by 4K (to ensure that we can use direct memory access if provided by JVM).
  2. Ensure that all operations on all pages use addresses aligned by the size of their data units.

Create new versions of data structures in case of problems are found during the investigation and ensure binary compatibility. We already have the means inside storage to achieve such binary compatibility.

andrii0lomakin avatar Jan 28 '24 13:01 andrii0lomakin