All of lore.kernel.org
 help / color / mirror / Atom feed
* Very low responsiveness for pstore ftrace
@ 2016-02-09 22:21 Shi, Yang
  0 siblings, 0 replies; only message in thread
From: Shi, Yang @ 2016-02-09 22:21 UTC (permalink / raw)
  To: anton, ccross, keescook, tony.luck; +Cc: LKML, linux-fsdevel

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-02-09 22:21 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-02-09 22:21 Very low responsiveness for pstore ftrace Shi, Yang

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.