SSV-25461 High latency due to ZFSin driver#111
Merged
datacore-PankajSharma merged 18 commits intoMay 22, 2026
Conversation
Registry 'zfs_abd_prealloc_percent' can be used to set the percent of prealloc wrt zfs_arc_max
…oc_percent Setting zfs_prealloc_percent=0 will disable the prealloc feature
arun-kv
reviewed
Apr 30, 2026
b175f78 to
df12a2a
Compare
Collaborator
|
Approved |
datacore-senthil
approved these changes
May 22, 2026
datacore-PankajSharma
added a commit
that referenced
this pull request
May 22, 2026
* Added support to prealloc the abd cache * Registry 'zfs_abd_prealloc_percent' can be used to set the percent of prealloc wrt zfs_arc_max * Disabled memory pressure thread * Changed abd_cache alloc size * skip source free when the reserved memory is not crossing arc_max * skip source free when the reserved memory is not crossing arc_max * skip source free when the reserved memory is not crossing arc_max * Changed the registry name from zfs_abd_prealloc_percent to zfs_prealloc_percent Setting zfs_prealloc_percent=0 will disable the prealloc feature * Reverted zfs_abd_chunk_size from 65536 to 4096 which was causing read performace issue * Fix spl_thread_create not setting thread priority * Change memory available logic and manual pressure * Add dynamic zfs_dirty_data_max adjustments * Memory consumption crossing zfs_total_memory_limit * change spl_free_wrapper and spl_free_manual_pressure_wrapper logic for prealloc --------- Co-authored-by: Arun KV <arun.kv@datacore.com>
datacore-PankajSharma
added a commit
that referenced
this pull request
May 22, 2026
* Added support to prealloc the abd cache * Registry 'zfs_abd_prealloc_percent' can be used to set the percent of prealloc wrt zfs_arc_max * Disabled memory pressure thread * Changed abd_cache alloc size * skip source free when the reserved memory is not crossing arc_max * skip source free when the reserved memory is not crossing arc_max * skip source free when the reserved memory is not crossing arc_max * Changed the registry name from zfs_abd_prealloc_percent to zfs_prealloc_percent Setting zfs_prealloc_percent=0 will disable the prealloc feature * Reverted zfs_abd_chunk_size from 65536 to 4096 which was causing read performace issue * Fix spl_thread_create not setting thread priority * Change memory available logic and manual pressure * Add dynamic zfs_dirty_data_max adjustments * Memory consumption crossing zfs_total_memory_limit * change spl_free_wrapper and spl_free_manual_pressure_wrapper logic for prealloc --------- Co-authored-by: Arun KV <arun.kv@datacore.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation and Context
This change addresses the SSV-25461 ZFSin high latency issue after restart
Description
Here is the detailed list of changes that were added to address the issue
How Has This Been Tested?
Testing has been done in two phases
Types of changes
Checklist:
Signed-off-by.