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

OS-682: ARC minimum is set too high, potentially blocking VM creation #651

Closed
wants to merge 1 commit into from

Conversation

ryao
Copy link
Contributor

@ryao ryao commented Apr 8, 2012

The lines that this commit deletes caused issues for adeel when he tried using ZFS on 32-bit Linux. If I recall correctly, he had to comment them out. Upon seeing that SmartOS has removed them, it might be wise to follow suit.

@ryao
Copy link
Contributor Author

ryao commented Apr 9, 2012

This change appears to be exclusive to SmartOS. It is not present in illumos-gate.

@behlendorf
Copy link
Contributor

We've seen similar issue but expect them to be resolved when the pending VM change is merged. By chance has he tried that patch on his 32-bit systems with VMs?

@ryao
Copy link
Contributor Author

ryao commented Apr 10, 2012

He tried your patch, but if I recall, he was unable to increase the memory available to ARC without patching this code.

At this point, he has switched to FreeNAS, so he is unable to do further testing at this time. I need to review his mailing list posts from that time to double check that this patch in particular would have been helpful to him.

@behlendorf
Copy link
Contributor

OK, In that case I'm going to hold of merging this particular change until we have a specific use/test case which shows it's a good idea.

@ryao
Copy link
Contributor Author

ryao commented Apr 10, 2012

I have no plans to work on 32-bit support for the foreseeable future, so I will close this pull request for now. I will revisit this if any users contact me for help getting things work on 32-bit.

@ryao ryao closed this Apr 10, 2012
@ryao
Copy link
Contributor Author

ryao commented Apr 11, 2012

dawid in #gentoo-chat on freenode has informed me that applying this patch along with setting vmalloc=256M fixed issues for him on a Pentium 4 system running Gentoo Linux.

He sent an email to the zfs-devel list so that people can ask questions regarding his configuration. I am reopening this pull request.

@ryao ryao reopened this Apr 11, 2012
@ryao
Copy link
Contributor Author

ryao commented Apr 17, 2012

@behlendorf I do not think that this pull request is appropriate to merge, but I am leaving it open as a place for discussion of how to fix the excessive reclaim issue on 32-bit.

I have asked dawid to try recompiling the latest GIT code with the spl_register_shrinker and spl_unregister_shrinker lines disabled. Hopefully, that will enable us to narrow the cause of the problem.

@behlendorf
Copy link
Contributor

If we believe it will help 32-bit systems, and it seems to, we could just wrap this chunk of code in a conditional so it's only applied to 32-bit builds.

#if !defined(__i386)
...
#endif

@behlendorf behlendorf closed this Jun 14, 2012
behlendorf pushed a commit to behlendorf/zfs that referenced this pull request May 21, 2018
Reviewed-by: Tim Chase <[email protected]>
Reviewed-by: George Melikov <[email protected]>
Reviewed-by: Giuseppe Di Natale <[email protected]>
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: Richard Elling <[email protected]>
Closes openzfs#652 
Closes openzfs#651
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