Skip to content

SSV-25461 High latency after restart due to ZFSin#110

Draft
datacore-PankajSharma wants to merge 13 commits intodatacore-windowsfrom
MemAvailManPressChanges
Draft

SSV-25461 High latency after restart due to ZFSin#110
datacore-PankajSharma wants to merge 13 commits intodatacore-windowsfrom
MemAvailManPressChanges

Conversation

@datacore-PankajSharma
Copy link
Copy Markdown
Collaborator

Motivation and Context

Description

We have added three key changes for this bug first one is prealloc thread which allocates memory upto zfs_arc_max and prewarm the kmem cache, Second is redefining the memory available byte and manual pressure logic and third is adding dynamic dirty data max logic for stable throughput.

How Has This Been Tested?

The change was manually tested using FIO with 1mb block size for latency and parallel vdbench threads for stable throughput

Types of changes

  • [Yes ] Bug fix (non-breaking change which fixes an issue)
  • [ Yes] New feature (non-breaking change which adds functionality)
  • [ Yes] Performance enhancement (non-breaking change which improves efficiency)
  • Code cleanup (non-breaking change which makes code smaller or more readable)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Library ABI change (libzfs, libzfs_core, libnvpair, libuutil and libzfsbootenv)
  • Documentation (a change to man pages or other documentation)

Checklist:

arun-kv and others added 13 commits May 14, 2025 09:24
…er (#101)

* Create MSVC-specific wrapper library for reading CR8 register

Added a new C file that defines read_cr8_msvc(), which wraps the MSVC intrinsic __readcr8()
to read the CR8 register, since Clang and GCC do not provide __readcr8().

This function is now compiled into a separate library spl_cr_wrappers,
allowing Clang projects to call read_cr8_msvc() without directly depending
on MSVC-specific intrinsics in Clang code.
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
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