Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1277293

Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value
Date 2015-11-25 13:10 +0100
Message-ID <qyH3A-67h-29@gated-at.bofh.it> (permalink)
References <qyfh0-4q8-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue 24-11-15 15:22:03, Joonsoo Kim wrote:
> When I tested compaction in low memory condition, I found that
> my benchmark is stuck in congestion_wait() at shrink_inactive_list().
> This stuck last for 1 sec and after then it can escape. More investigation
> shows that it is due to stale vmstat value. vmstat is updated every 1 sec
> so it is stuck for 1 sec.

Wouldn't it be sufficient to use zone_page_state_snapshot in
too_many_isolated?
-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <js1304@gmail.com> - 2015-11-24 07:30 +0100
  Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Christoph Lameter <cl@linux.com> - 2015-11-24 16:40 +0100
    Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-25 04:00 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Christoph Lameter <cl@linux.com> - 2015-11-25 17:10 +0100
        Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-25 19:10 +0100
          Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Christoph Lameter <cl@linux.com> - 2015-11-25 19:30 +0100
        Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-26 03:00 +0100
  Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-25 13:10 +0100
    Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Vlastimil Babka <vbabka@suse.cz> - 2015-11-25 14:50 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-25 14:50 +0100
    Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Joonsoo Kim <iamjoonsoo.kim@lge.com> - 2015-11-26 03:00 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value vinayak menon <vinayakm.list@gmail.com> - 2015-11-26 06:10 +0100
      Re: [PATCH] mm/vmstat: retrieve more accurate vmstat value Michal Hocko <mhocko@kernel.org> - 2015-11-26 16:10 +0100

csiph-web