[LU-13104] Automatically adjust block allocator tuning on ldiskfs file systems Created: 27/Dec/19  Updated: 30/Oct/20

Status: Open
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major
Reporter: Artem Blagodarenko (Inactive) Assignee: WC Triage
Resolution: Unresolved Votes: 0
Labels: None

Attachments: File tune_prealloc_table.sh    
Rank (Obsolete): 9223372036854775807

 Description   

As part of the allocator improvement work, it has been determined that the default block allocator tuning is not optimal once the file system begins to fill and fragment.

The proposal is to automatically adjust the block allocator tuning parameters.

The targeted parameter here is

 /proc/fs/ldiskfs/<disk>/prealloc_table

Default value is

256 512 1024 2048 4096 8096

But for full disk this table need to be shorter. "256 512 1024" or less.

I don't know exactly there is can be landed for Lustre FS usage. I mentioned this idea during LAD2019 and somebody asked to share the script. Chris Walker wrote the script based on my draft. I have attached it to the issue.


Generated at Sat Feb 10 02:58:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.