Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce async_destroy_001_pos memory requirements #6192

Merged
merged 1 commit into from
Jun 6, 2017

Conversation

behlendorf
Copy link
Contributor

Description

The number of blocks which can be freed per TXG is controlled by the zfs_free_max_blocks module option (defaults to 100,000). Both speed up this test case and reduce the memory requirements by only creating 4 TXGs worth of blocks to be freed.

Motivation and Context

Resolve occasional OOM events during automated testing due to the relatively little memory allocated to the VMs. Additionally, enable these test cases for the 32-bit and kmemleak builders.

How Has This Been Tested?

Locally tested.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • 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)

Checklist:

  • My code follows the ZFS on Linux code style requirements.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.
  • All commit messages are properly formatted and contain Signed-off-by.
  • Change has been approved by a ZFS on Linux member.

The number of blocks which can be freed per TXG is controlled
by the zfs_free_max_blocks module option (defaults to 100,000).
Both speed up this test case and reduce the memory requirements
by only creating 4 TXGs worth of blocks to be freed.

Signed-off-by: Brian Behlendorf <[email protected]>
Issue openzfs#5479
@behlendorf behlendorf requested a review from dinatale2 June 5, 2017 20:15
@behlendorf behlendorf merged commit ca8b210 into openzfs:master Jun 6, 2017
@behlendorf behlendorf deleted the issue-5479 branch April 19, 2021 19:32
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.

3 participants