Skip to content

Reduce memory footprint#936

Merged
robertbaldyga merged 5 commits intoOpen-CAS:masterfrom
robertbaldyga:reduce-memory-footprint
Mar 5, 2026
Merged

Reduce memory footprint#936
robertbaldyga merged 5 commits intoOpen-CAS:masterfrom
robertbaldyga:reduce-memory-footprint

Conversation

@robertbaldyga
Copy link
Member

No description provided.

Reduce metadata collision section size by 20%.

Signed-off-by: Michael Lyulko <michael.lyulko@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga force-pushed the reduce-memory-footprint branch 2 times, most recently from c946d5e to c70777d Compare March 5, 2026 20:40
Use smaller number of bits to reduce memory footprint.

Now the maximum cache size is from 2TiB for 4kiB cache line
up to 32TiB for 64kiB cache line size.

Signed-off-by: Michael Lyulko <michael.lyulko@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga force-pushed the reduce-memory-footprint branch from c70777d to e6bb441 Compare March 5, 2026 21:31
Moses Reuben added 3 commits March 5, 2026 22:51
Reduce memory metadata footprint (40B per hash bucket).

Signed-off-by: Moses Reuben <moses.reuben@huawei.com>
Signed-off-by: Shai Fultheim <shai.fultheim@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Signed-off-by: Moses Reuben <moses.reuben@huawei.com>
Signed-off-by: Gal Hammer <gal.hammer@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Reduce memory footprint. This change effectively reduces number of
concurrent read locks to 254, which is still more than enough.

Signed-off-by: Moses Reuben <moses.reuben@huawei.com>
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
@robertbaldyga robertbaldyga force-pushed the reduce-memory-footprint branch from e6bb441 to 8e28976 Compare March 5, 2026 21:52
@robertbaldyga robertbaldyga merged commit d92770f into Open-CAS:master Mar 5, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants