Open
Conversation
alexshi
commented
Dec 24, 2020
| Linux 内核使用lru 来管理页,目前系统内存5个lru lists 还在共享一把锁来管理,这造成了不必要的锁冲突,是否可以对不同的lru list使用不同的锁来管理,来降低锁冲突,提高页使用的性能。 | ||
|
|
||
| 题目 2, | ||
| Linux 内核使用lru 算法来管理页,lru本身的特点使其并不合适超大的页管理, 对于媒体播放,垃圾收集和其他大地址范围的应用并不合适。 尝试使用现代页管理算法 CAR Clock with Adaptive Replacement在内核中代替LRU算法,并比较与LRU 算法的优劣。 |
Author
There was a problem hiding this comment.
附加题,
其他页管理算法原理和实现的探讨, 例如, https://lwn.net/Articles/753058/
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.
This is the Alibaba topic Linux内核页平衡优化 by Alex Shi (时奎亮)
Thanks