New issue
Advanced search Search tips

Issue 807909 link

Starred by 1 user

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: ----
Pri: 3
Type: Bug



Sign in to add a comment

debugd: Collect memory fragmentation info

Project Member Reported by vovoy@chromium.org, Feb 1 2018

Issue description

Recently, there are some sluggish issue on chromebox.
https://listnr.corp.google.com/product/208/report/84996226959

One potential cause is the system memory is fragmented.
To check memory fragmentation status, add buddyinfo to system_log.
 
Project Member

Comment 1 by bugdroid1@chromium.org, Feb 6 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/c45e630ecc0007e1a5ba83d92bb3cfd0fe909fc7

commit c45e630ecc0007e1a5ba83d92bb3cfd0fe909fc7
Author: Kuo-Hsin Yang <vovoy@chromium.org>
Date: Tue Feb 06 12:55:44 2018

debugd: Add reading of /proc/buddyinfo to log_tool

buddyinfo provides the memory fragmentation status.

BUG=chromium:807909
TEST=Run from command line: dbus-send --type=method_call --system \
  --print-reply --dest=org.chromium.debugd /org/chromium/debugd \
    org.chromium.debugd.GetLog string:buddyinfo

Change-Id: Iddb92b8e417c066f276ab03051b63ad46312ef60
Reviewed-on: https://chromium-review.googlesource.com/896741
Commit-Ready: Vovo Yang <vovoy@chromium.org>
Tested-by: Vovo Yang <vovoy@chromium.org>
Reviewed-by: Luigi Semenzato <semenzato@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/c45e630ecc0007e1a5ba83d92bb3cfd0fe909fc7/debugd/src/log_tool.cc

Comment 2 by vovoy@chromium.org, Feb 26 2018

Summary: debugd: Collect memory fragmentation info (was: debugd: Add buddyinfo to log_tool)
Project Member

Comment 3 by bugdroid1@chromium.org, Feb 28 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/e1611f690582d74044373ee124b290151a974080

commit e1611f690582d74044373ee124b290151a974080
Author: Kuo-Hsin Yang <vovoy@chromium.org>
Date: Wed Feb 28 04:17:34 2018

debugd: Add reading of /proc/vmstat to log_tool

vmstat provides memory subsystem statistics.

BUG=chromium:807909
TEST=Run from command line: dbus-send --type=method_call --system \
  --print-reply --dest=org.chromium.debugd /org/chromium/debugd \
    org.chromium.debugd.GetLog string:vmstat

Change-Id: I3f0f5231b408f854d2653572dc99ef33f2029d05
Reviewed-on: https://chromium-review.googlesource.com/937001
Commit-Ready: ChromeOS CL Exonerator Bot <chromiumos-cl-exonerator@appspot.gserviceaccount.com>
Tested-by: Vovo Yang <vovoy@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/e1611f690582d74044373ee124b290151a974080/debugd/src/log_tool.cc

Project Member

Comment 4 by bugdroid1@chromium.org, Apr 19 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromiumos/platform2/+/d774798bb5f86f927351c4e595280736262893c6

commit d774798bb5f86f927351c4e595280736262893c6
Author: Kuo-Hsin Yang <vovoy@chromium.org>
Date: Thu Apr 19 05:31:08 2018

debugd: Add reading of /proc/pagetypeinfo to log_tool

pagetypeinfo provides more detailed memory fragmentation status than
buddyinfo.

BUG=chromium:807909
TEST=Run from command line: dbus-send --type=method_call --system \
  --print-reply --dest=org.chromium.debugd /org/chromium/debugd \
    org.chromium.debugd.GetLog string:pagetypeinfo

Change-Id: I82195f16a837abcd7694b95d801902fde9844411
Reviewed-on: https://chromium-review.googlesource.com/1016448
Commit-Ready: Vovo Yang <vovoy@chromium.org>
Tested-by: Vovo Yang <vovoy@chromium.org>
Reviewed-by: Mike Frysinger <vapier@chromium.org>

[modify] https://crrev.com/d774798bb5f86f927351c4e595280736262893c6/debugd/src/log_tool.cc

Components: OS>Performance>Memory

Sign in to add a comment