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

Add shrinklat and xfs_reclaim examples #40

Merged
merged 1 commit into from Nov 28, 2018
Merged

Add shrinklat and xfs_reclaim examples #40

merged 1 commit into from Nov 28, 2018

Conversation

bobrik
Copy link
Contributor

@bobrik bobrik commented Nov 28, 2018

This is quite eye opening in terms of how bad page allocation slow path can be:

image

Multiple XFS filesystem in turn show this picture:

image

The culprit appears to be the desire to flush as many inodes from cache as possible, not matter if they are dirty or clean. This doesn't play very well when a system has 100GB of page cache and 1GB of dirty pages that can be flushed on disk. Kernel opts into flushing pages on (potentially very slow) storage, while page cache can be reclaimed at near zero cost.

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.

None yet

1 participant