What is kswapd_low_wmark_hit_quickly from /proc/vmstat2019 Community Moderator ElectionHow proc gets updated about the devicesWhat is using memory?/proc/config.gz is of 0 bytesWhich lines do change after a sync in /proc/meminfo ?Finding vmstat's swap (si/so) data anywhere in /procMemory usage of a given process (using Linux proc filesystem)proc system interrupts information“swap cache” of vmstat vs. “SwapCached” of /proc/meminfoGet IP address of socket used by process
Is there a nicer/politer/more positive alternative for "negates"?
How do you make your own symbol when Detexify fails?
Why is the "ls" command showing permissions of files in a FAT32 partition?
"It doesn't matter" or "it won't matter"?
Which was the first story featuring espers?
What kind of floor tile is this?
Why can't the Brexit deadlock in the UK parliament be solved with a plurality vote?
What is the difference between lands and mana?
Is there a RAID 0 Equivalent for RAM?
How much theory knowledge is actually used while playing?
What does Apple's new App Store requirement mean
Why do some congregations only make noise at certain occasions of Haman?
Giving feedback to someone without sounding prejudiced
The IT department bottlenecks progress, how should I handle this?
Pre-mixing cryogenic fuels and using only one fuel tank
What is going on with gets(stdin) on the site coderbyte?
"Oh no!" in Latin
Biological Blimps: Propulsion
Why is it that I can sometimes guess the next note?
How to get directions in deep space?
How to convince somebody that he is fit for something else, but not this job?
Which Article Helped Get Rid of Technobabble in RPGs?
Strong empirical falsification of quantum mechanics based on vacuum energy density?
What features enable the Su-25 Frogfoot to operate with such a wide variety of fuels?
What is kswapd_low_wmark_hit_quickly from /proc/vmstat
2019 Community Moderator ElectionHow proc gets updated about the devicesWhat is using memory?/proc/config.gz is of 0 bytesWhich lines do change after a sync in /proc/meminfo ?Finding vmstat's swap (si/so) data anywhere in /procMemory usage of a given process (using Linux proc filesystem)proc system interrupts information“swap cache” of vmstat vs. “SwapCached” of /proc/meminfoGet IP address of socket used by process
What does this parameter mean?
# cat /proc/vmstat | grep low
kswapd_low_wmark_hit_quickly 2
memory swap proc
add a comment |
What does this parameter mean?
# cat /proc/vmstat | grep low
kswapd_low_wmark_hit_quickly 2
memory swap proc
add a comment |
What does this parameter mean?
# cat /proc/vmstat | grep low
kswapd_low_wmark_hit_quickly 2
memory swap proc
What does this parameter mean?
# cat /proc/vmstat | grep low
kswapd_low_wmark_hit_quickly 2
memory swap proc
memory swap proc
asked Jun 23 '15 at 17:46
user920391user920391
1083
1083
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
After kswapd has reclaimed enough pages for free pages to be above the high watermark, it attempts to sleep for 100ms. One of three things happens next:
- The number of free pages is still above the high watermark after 100ms. This causes kswapd to go back to sleep indefinitely without incrementing any stat.
- The number of free pages drops below the high watermark after 100ms. This causes kswapd to keep running and increment the
kswapd_high_wmark_hit_quickly
stat. - The number of free pages drops below the low watermark before this 100ms sleep finishes. This causes kswapd to keep running and increment the
kswapd_low_wmark_hit_quickly
stat.
It's a little more complicated than that since there are other conditions besides watermarks that may cause kswapd to wake up or continue running, but that is the basic idea.
Sources:
- https://elixir.bootlin.com/linux/v5.0.3/source/mm/vmscan.c#L3805
- https://www.kernel.org/doc/gorman/html/understand/understand005.html#sec:%20Zone%20Watermarks
New contributor
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "106"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f211646%2fwhat-is-kswapd-low-wmark-hit-quickly-from-proc-vmstat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
After kswapd has reclaimed enough pages for free pages to be above the high watermark, it attempts to sleep for 100ms. One of three things happens next:
- The number of free pages is still above the high watermark after 100ms. This causes kswapd to go back to sleep indefinitely without incrementing any stat.
- The number of free pages drops below the high watermark after 100ms. This causes kswapd to keep running and increment the
kswapd_high_wmark_hit_quickly
stat. - The number of free pages drops below the low watermark before this 100ms sleep finishes. This causes kswapd to keep running and increment the
kswapd_low_wmark_hit_quickly
stat.
It's a little more complicated than that since there are other conditions besides watermarks that may cause kswapd to wake up or continue running, but that is the basic idea.
Sources:
- https://elixir.bootlin.com/linux/v5.0.3/source/mm/vmscan.c#L3805
- https://www.kernel.org/doc/gorman/html/understand/understand005.html#sec:%20Zone%20Watermarks
New contributor
add a comment |
After kswapd has reclaimed enough pages for free pages to be above the high watermark, it attempts to sleep for 100ms. One of three things happens next:
- The number of free pages is still above the high watermark after 100ms. This causes kswapd to go back to sleep indefinitely without incrementing any stat.
- The number of free pages drops below the high watermark after 100ms. This causes kswapd to keep running and increment the
kswapd_high_wmark_hit_quickly
stat. - The number of free pages drops below the low watermark before this 100ms sleep finishes. This causes kswapd to keep running and increment the
kswapd_low_wmark_hit_quickly
stat.
It's a little more complicated than that since there are other conditions besides watermarks that may cause kswapd to wake up or continue running, but that is the basic idea.
Sources:
- https://elixir.bootlin.com/linux/v5.0.3/source/mm/vmscan.c#L3805
- https://www.kernel.org/doc/gorman/html/understand/understand005.html#sec:%20Zone%20Watermarks
New contributor
add a comment |
After kswapd has reclaimed enough pages for free pages to be above the high watermark, it attempts to sleep for 100ms. One of three things happens next:
- The number of free pages is still above the high watermark after 100ms. This causes kswapd to go back to sleep indefinitely without incrementing any stat.
- The number of free pages drops below the high watermark after 100ms. This causes kswapd to keep running and increment the
kswapd_high_wmark_hit_quickly
stat. - The number of free pages drops below the low watermark before this 100ms sleep finishes. This causes kswapd to keep running and increment the
kswapd_low_wmark_hit_quickly
stat.
It's a little more complicated than that since there are other conditions besides watermarks that may cause kswapd to wake up or continue running, but that is the basic idea.
Sources:
- https://elixir.bootlin.com/linux/v5.0.3/source/mm/vmscan.c#L3805
- https://www.kernel.org/doc/gorman/html/understand/understand005.html#sec:%20Zone%20Watermarks
New contributor
After kswapd has reclaimed enough pages for free pages to be above the high watermark, it attempts to sleep for 100ms. One of three things happens next:
- The number of free pages is still above the high watermark after 100ms. This causes kswapd to go back to sleep indefinitely without incrementing any stat.
- The number of free pages drops below the high watermark after 100ms. This causes kswapd to keep running and increment the
kswapd_high_wmark_hit_quickly
stat. - The number of free pages drops below the low watermark before this 100ms sleep finishes. This causes kswapd to keep running and increment the
kswapd_low_wmark_hit_quickly
stat.
It's a little more complicated than that since there are other conditions besides watermarks that may cause kswapd to wake up or continue running, but that is the basic idea.
Sources:
- https://elixir.bootlin.com/linux/v5.0.3/source/mm/vmscan.c#L3805
- https://www.kernel.org/doc/gorman/html/understand/understand005.html#sec:%20Zone%20Watermarks
New contributor
New contributor
answered yesterday
Matt CowellMatt Cowell
111
111
New contributor
New contributor
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f211646%2fwhat-is-kswapd-low-wmark-hit-quickly-from-proc-vmstat%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown