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

Demotion failed while running application (tested with Liblinear) #8

Open
yulistic opened this issue Jun 19, 2024 · 4 comments
Open

Comments

@yulistic
Copy link
Collaborator

Memtis does not demote pages when the top-tier memory is full. Of course, promotions do not occur.

@yulistic
Copy link
Collaborator Author

meta->idx >= memcg->warm_threshold This condition is always true. It prevents Memtis from adding pages to the demote_pages list.

Here:

if (meta->idx >= memcg->warm_threshold)

and Here:
if (idx >= memcg->warm_threshold)

@yulistic
Copy link
Collaborator Author

Underflow of idx occurs when running liblinear with 8 threads.

image

@yulistic
Copy link
Collaborator Author

The idx value, 4294967295, is 0xffffffff (-1). It may indicate pages not mapped. If so, we don't need to fix it.

@yulistic
Copy link
Collaborator Author

Let's check whether the cooling mechanism works.

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

No branches or pull requests

1 participant