[MDEV-29432] innodb huge pages reclaim Created: 2022-09-01  Updated: 2022-09-02

Status: Open
Project: MariaDB Server
Component/s: Storage Engine - InnoDB
Fix Version/s: None

Type: Task Priority: Major
Reporter: Daniel Black Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: energy

Issue Links:
Relates
relates to MDEV-24670 avoid OOM by linux kernel co-operativ... Closed
relates to MDEV-25341 innodb buffer pool soft decommit of m... Closed
relates to MDEV-29445 reorganise innodb buffer pool (and re... Stalled

 Description   

MDEV-25341 added some memory reclaim however large page places the kernel in a difficult predicament unless the entire page is freed. While madvise(MADV_FREE) succeeds and VirtualAlloc(MEM_RESET) doesn't explicitly prohibit large pages.

This task serves to act as a defrag.

In MDEV-25342 the chunk (as a collection of pages) sizes are a multiple of a large page size. If pages are re-organised to allow for a chunk to be freed that provides a defrag mechanism.


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