linux-nvdimm.lists.01.org archive mirror
 help / color / mirror / Atom feed
* Question about using NVDIMM for Linux Kernel debugging
@ 2019-03-25 20:36 Dru Nelson
  2019-03-25 20:56 ` Dan Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Dru Nelson @ 2019-03-25 20:36 UTC (permalink / raw)
  To: linux-nvdimm

Hello,

I am doing Linux kernel work on an AMD Ryzen desktop PC.
In particular, I'm trying to debug some hardware driver issues.
The challenging aspect is that they that pop up daily and (of course...)
randomly.
As you are well aware, this can be painful in a production environment on
actual hardware.
Sometimes the computer just reboots or locks up, so having something
persistent would be ideal.
I would like to track down the issue by having some basic instrumentation
of the kernel.

After doing a little research, this looks like a great application for an
NVDIMM.

I would probably divide the nvdimm with ring buffers for each core of the
CPU to avoid locks. The logging would just be simple fixed size records
with a timestamp.

Does this look doable for a reasonably priced NVDIMM?
Or is there a better solution?

Dru, Redwood City, California
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-03-25 20:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-25 20:36 Question about using NVDIMM for Linux Kernel debugging Dru Nelson
2019-03-25 20:56 ` Dan Williams

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).