From: "Shi, Yang" <yang.shi@linaro.org>
To: anton@enomsg.org, ccross@android.com, keescook@chromium.org,
tony.luck@intel.com
Cc: LKML <linux-kernel@vger.kernel.org>, linux-fsdevel@vger.kernel.org
Subject: Very low responsiveness for pstore ftrace
Date: Tue, 9 Feb 2016 14:21:12 -0800 [thread overview]
Message-ID: <56BA6658.2000906@linaro.org> (raw)
Hi folks,
I'm newbie to pstore. I just did a quick try for pstore ftrace. But, I
experience very serious responsiveness problem. When running "echo 1 >
/sys/kernel/debug/pstore/record_ftrace", it took a couple of minutes to
return (here return means to get prompt back) on my arm64 machine (8 A57
cores). time command shows:
# time echo 1 > /sys/kernel/debug/pstore/record_ftrace
hrtimer: interrupt took 17532560 ns
real 7m35.717s
user 0m0.004s
sys 2m25.244s
I had a quick look at the code, it looks there is a long critical
section with irq disabled.
If with CONFIG_PSTORE_CONSOLE enabled, the machine even can't response
interrupts. The pstore console code also need acquire the same lock with
irq disabled.
The low responsiveness sounds not reasonable to me.
Any idea?
Thanks,
Yang
reply other threads:[~2016-02-09 22:21 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=56BA6658.2000906@linaro.org \
--to=yang.shi@linaro.org \
--cc=anton@enomsg.org \
--cc=ccross@android.com \
--cc=keescook@chromium.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=tony.luck@intel.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.