linux-trace-users.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Naruto Nguyen <narutonguyen2018@gmail.com>
To: linux-trace-users@vger.kernel.org
Subject: How to find out which process cause a strange increasing cpu load on a certain core?
Date: Tue, 18 Jun 2019 18:40:13 +0700	[thread overview]
Message-ID: <CANpxKHEMjWRSbV8fq_iSR5XAzy7oMuht0xfRTeLtBxajxtW2eg@mail.gmail.com> (raw)

Hello everyone,

I have a kvm hypervisor and setup some VMs running OpenSUSE kernel
4.0. After some reboot, I saw that sometime there is a VM that a
certain core has higher %usr and %sys than other cores. The system is
in ide state. I have some applications running on this VM, but there
is no issue in other VMs.

If I enable ftrace in kernel or load any debug jprobe, the load is
back to normal. The pidstat command output does not show the high load
on one core like the "top" command. Could you please let me know if it
is the problem of "top' report higher usage? Any commands that can
help to troubleshoot this issue? I tried "perf" but most of the time
the perf output does not show any function that cause the increase as
well? Not sure, if the malfunction of top or anything else can add
more work load?

Thanks,
Brs,
Naruto

             reply	other threads:[~2019-06-18 11:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-06-18 11:40 Naruto Nguyen [this message]
2019-06-18 13:02 ` How to find out which process cause a strange increasing cpu load on a certain core? Steven Rostedt
2019-06-18 16:28   ` Naruto Nguyen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANpxKHEMjWRSbV8fq_iSR5XAzy7oMuht0xfRTeLtBxajxtW2eg@mail.gmail.com \
    --to=narutonguyen2018@gmail.com \
    --cc=linux-trace-users@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).