linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] psi: reduce min window size to 50ms
@ 2023-02-10 22:31 Sudarshan Rajagopalan
  2023-02-10 22:31 ` Sudarshan Rajagopalan
  2023-02-10 23:03 ` Suren Baghdasaryan
  0 siblings, 2 replies; 20+ messages in thread
From: Sudarshan Rajagopalan @ 2023-02-10 22:31 UTC (permalink / raw)
  To: David Hildenbrand, Johannes Weiner, Suren Baghdasaryan,
	Mike Rapoport, Oscar Salvador, Anshuman Khandual, mark.rutland,
	will, virtualization, linux-mm, linux-kernel, linux-arm-kernel,
	linux-arm-msm
  Cc: Sudarshan Rajagopalan, Trilok Soni, Sukadev Bhattiprolu,
	Srivatsa Vaddagiri, Patrick Daly

The PSI mechanism is useful tool to monitor pressure stall
information in the system. Currently, the minimum window size
is set to 500ms. May we know what is the rationale for this?

For lightweight systems such as Linux Embedded Systems, PSI
can be used to monitor and track memory pressure building up
in the system and respond quickly to such memory demands.
Example, the Linux Embedded Systems could be a secondary VM
system which requests for memory from Primary host. With 500ms
window size, the sampling period is 50ms (one-tenth of windwo
size). So the minimum amount of time the process needs to stall,
so that a PSI event can be generated and actions can be done
is 50ms. This reaction time can be much reduced by reducing the
sampling time (by reducing window size), so that responses to
such memory pressures in system can be serviced much quicker.

Please let us know your thoughts on reducing window size to 50ms.

Sudarshan Rajagopalan (1):
  psi: reduce min window size to 50ms

 kernel/sched/psi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

-- 
2.7.4



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2023-03-01  1:49 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-10 22:31 [PATCH] psi: reduce min window size to 50ms Sudarshan Rajagopalan
2023-02-10 22:31 ` Sudarshan Rajagopalan
2023-02-10 23:03 ` Suren Baghdasaryan
2023-02-11  0:44   ` Sudarshan Rajagopalan
2023-02-11  1:09     ` Suren Baghdasaryan
2023-02-11  1:46       ` Sudarshan Rajagopalan
2023-02-11  2:13         ` Suren Baghdasaryan
2023-02-14  2:12           ` Sudarshan Rajagopalan
2023-02-14 19:34             ` Suren Baghdasaryan
2023-02-24 12:47               ` Michal Hocko
2023-02-24 21:07                 ` Suren Baghdasaryan
2023-02-27 13:34                   ` Michal Hocko
2023-02-27 17:49                     ` Suren Baghdasaryan
2023-02-27 19:11                       ` Michal Hocko
2023-02-27 19:50                         ` Suren Baghdasaryan
2023-02-28 13:50                           ` Michal Hocko
2023-02-28 18:18                             ` Suren Baghdasaryan
2023-03-01  1:49                               ` Suren Baghdasaryan
2023-02-27 19:19                       ` Josh Hunt
2023-02-27 19:51                         ` Suren Baghdasaryan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).