[MDEV-18233] Moving the hash_node_t to improve locality of reference Created: 2019-01-14  Updated: 2019-01-15  Resolved: 2019-01-15

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB
Fix Version/s: 10.4.2, 10.1.38, 10.0.38, 10.2.22, 10.3.13

Type: Task Priority: Major
Reporter: Eugene Kosov (Inactive) Assignee: Marko Mäkelä
Resolution: Fixed Votes: 0
Labels: None


 Description   

While performing a search, hash_table_t reads a key and a pointer to the next node. Code will work faster if both fields reside in the same cache line.

This issue was created to find inefficient hash_table_t usage and fix it by reordering fields in classes.

NFC


Generated at Thu Feb 08 08:42:30 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.