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

Proper values for watermarks? #9

Open
yulistic opened this issue Jun 20, 2024 · 2 comments
Open

Proper values for watermarks? #9

yulistic opened this issue Jun 20, 2024 · 2 comments

Comments

@yulistic
Copy link
Collaborator

What are the proper values of the WATERMARKs in Memtis?

#define MIN_WATERMARK_LOWER_LIMIT   128 * 100 // 50MB
#define MIN_WATERMARK_UPPER_LIMIT   2560 * 100 // 1000MB
#define MAX_WATERMARK_LOWER_LIMIT   256 * 100 // 100MB
#define MAX_WATERMARK_UPPER_LIMIT   3840 * 100 // 1500MB

#define MIN_WATERMARK_LOWER_LIMIT 128 * 100 // 50MB

@yulistic
Copy link
Collaborator Author

We may use 1/10 of the original values. For example, RSS of our Liblinear benchmark is 1/10 of that of the Memtis' experimental setup.

@yulistic
Copy link
Collaborator Author

yulistic commented Jun 20, 2024

For the MIN_WATERMARK 3% of the DRAM (top-tier) capacity is used and For the MAX_WATERMARK, 2% is used.

max_nr_pages = max_nr_pages * 2 / 100; // 2%

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