-
Notifications
You must be signed in to change notification settings - Fork 11
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
Question about the Purpose of DAMOS_FILTER_TYPE_YOUNG #3
Comments
Hello Jongmin, thank you for your questions.
The purpose of
As far as I know, the config file generated by |
I mistook the concept of the filter. |
Hi @JongminKim-KU, I've also mentioned that the way young filter works with Especially, I've drawn some ascii art in the following post. But the major misconception between @sjp38 and I was about the concept of filter. His concept of filter excludes things, but my concept of filter is applying something to the matched items by filter. DAMON uses excluding filter concept. I hope this explanation is helpful to you. |
Thank you for the kind explanation of the concept. Obviously the filter concept is not very straightforward to understand 😅 I'm thinking about making |
Hi SeongJae, thanks for participating the discussion in our project!
That could be feasible options but I would like to make it much simpler by adding The way it works is as follows.
Unlike This can be reused for
Maybe the name |
By reading the explanation at https://docs.kernel.org/mm/damon/design.html#damon-design-damos-filters, the option names could be |
The usage can be simpler as follows.
|
I'm a bit worrying that the discussion for making DAMOS filter easier to use is out of the scope of this issue. What about continuing the discussion on damonitor/damo#1? |
I've just left a comment based on your comment. My simple summary is as follows.
So I would like to make the usage as follows.
|
Hello, I'm Jongmin Kim from Korea University.
I have a question about the purpose of DAMOS_FILTER_TYPE_YOUNG.
From the discussion between HMSDK and DAMON developers, I understand that a new page-granular filter was suggested because DAMON's dynamic region-granularity monitoring might not be accurate [1].
However, there are already page-granular filters such as DAMON_FILTER_TYPE_ANON and DAMON_FILTER_TYPE_MEMCG [2].
Is it insufficient to apply these filters to pages in some cases?
Additionally, in the latest HMSDKv2.0, I'm wondering about the reason for using DAMON_FILTER_TYPE_YOUNG only with the "migrate_hot" action to improve accuracy and eventually avoid performance degradation, assuming high memory pressure in the high-tier node [3].
I would appreciate it if you could clarify any parts that I have misunderstood.
[1] https://lore.kernel.org/damon/[email protected]/
[2] https://lore.kernel.org/lkml/[email protected]/
[3] 82634e8
The text was updated successfully, but these errors were encountered: