Re: [PATCH 1/4] per-task-delay-accounting: add memory reclaim delay

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Hiroshi Shimamoto
Date: Thursday, June 5, 2008 - 11:56 am

KOSAKI Motohiro wrote:

thanks, and playing with this is good too.
I see it's easy to use this feature :)


I see the point that, on memcgroup enabled system, there are
memcgroup memory reclaim points and try_to_free_mem_cgroup_pages()
is called when the page charge reach the limit.
So if we want to account delay for memory reclaim, we should
account at both of try_to_free_pages() and try_to_free_mem_cgroup_pages().
Accounting at do_try_to_free_pages() covers this case.


Ah, sure.
We have an issue that a process which accesses a DB sometime slows down.
We want to know what causes it, without the reproducer.
We have only the report of the problem, memory usage, vmstat...
And, I don't know the memory reclaim really causes the problem.

If we can see what kind of delay is the matter in the test bed, it will
help us to take a next action.

Thanks,
Hiroshi Shimamoto

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/4] per-task-delay-accounting: add memory recl ..., KAMEZAWA Hiroyuki, (Tue Jun 3, 11:00 pm)
Re: [PATCH 4/4] per-task-delay-accounting: /proc export fo ..., Hiroshi Shimamoto, (Wed Jun 4, 10:47 am)
Re: [PATCH 1/4] per-task-delay-accounting: add memory recl ..., Hiroshi Shimamoto, (Wed Jun 4, 10:51 am)
Re: [PATCH 1/4] per-task-delay-accounting: add memory recl ..., Hiroshi Shimamoto, (Thu Jun 5, 11:56 am)