All of lore.kernel.org
 help / color / mirror / Atom feed
From: Dan Williams <dan.j.williams@intel.com>
To: Jeff Moyer <jmoyer@redhat.com>
Cc: Yasunori Goto <y-goto@jp.fujitsu.com>,
	"linux-nvdimm@lists.01.org" <linux-nvdimm@lists.01.org>
Subject: Re: Daemon of NVDIMM event notification/monitoring(Re: Standardization of ACPI NVDIMM DSMs)
Date: Wed, 9 Aug 2017 11:30:43 -0700	[thread overview]
Message-ID: <CAPcyv4gg6xXY9c8iNccVQCr-OUqWgBDqKsj=VEuAig=g_QtxBQ@mail.gmail.com> (raw)
In-Reply-To: <x49wp6cbz8a.fsf@segfault.boston.devel.redhat.com>

On Wed, Aug 9, 2017 at 7:19 AM, Jeff Moyer <jmoyer@redhat.com> wrote:
> Yasunori Goto <y-goto@jp.fujitsu.com> writes:
>
>> Hi,
>>
>>> >   Another approach could be to integrate NVDIMM event
>>> > monitoring into some other utility, like the rasdaemon.  I'm interested in
>>> > your thoughts.
>>>
>>> Though I'm not sure which (existing or new) utility is appropriate yet.
>>> I prefer this way. So, I'll think about it.
>>
>> I investigated the issue that notification/monitoring feature of over-
>> threshold event with my co-worker. Here is current our understandings.
>>
>>
>> a) rasdaemon
>>   It is good tools for machine check error, and if machine check occurs on
>>   NVDIMM, I suppose it will work not only traditional RAM but also NVDIMM.
>>   But, it may not fit the purpose of notification/monitoring threshold event.
>>
>>
>> b) smartmontools (https://www.smartmontools.org/)
>>   This tool may fit the purpose of notification/monitoring of health of NVDIMMs.
>>   However, it may a bit troublesome due to the followings.
>>
>>     - The smartd seems to check smart values of each devices with
>>       ioctl() periodically (In other words, "polling").
>>       Probably, other devices does not have the
>>       notification interface like "ndctl_dimm_get_health_eventfd()
>>       and poll()/select()".
>>
>>     - smartmontools supports many OSs (Windows, darwin, xxxBSDs, os2(!)).
>>       I'm not sure other OSs have similar notification interface like Linux.
>>       So, it may need to "polling" like other devices.
>>
>> c) udev
>>    Udev can kick any programs if udev.rules is created.
>>    However, there is no uevent for the event of over-threshold currently.
>>    In addition, I'm not sure that udev fits this type of event notification.
>>
>>
>> d) make a new tiny daemon in ndctl tree
>>    This may be simpler way.
>>    It can use ndctl_dimm_get_health_eventfd() and poll()/select().
>>
>>    But, ndctl may be included in kernel source,
>>    and I don't know whether kernel includes other daemon tools or not.
>
> e) acpid

Except acpid is ACPI specific, and the event sources that libnvdimm
generates are generic. For example, we may be getting an Open Firmware
libnvdimm bus in the next merge window.
_______________________________________________
Linux-nvdimm mailing list
Linux-nvdimm@lists.01.org
https://lists.01.org/mailman/listinfo/linux-nvdimm

  reply	other threads:[~2017-08-09 18:28 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-28 15:40 Standardization of ACPI NVDIMM DSMs Rebecca Cran
2017-06-28 15:59 ` Linda Knippers
2017-06-28 18:46   ` Rebecca Cran
2017-06-30  1:18   ` Yasunori Goto
2017-06-30 15:19     ` Linda Knippers
2017-07-03  4:53       ` Yasunori Goto
2017-07-06 14:22         ` Linda Knippers
2017-07-10  8:16           ` Yasunori Goto
2017-07-24  5:50             ` Daemon of NVDIMM event notification/monitoring(Re: Standardization of ACPI NVDIMM DSMs) Yasunori Goto
2017-07-24 16:11               ` Dan Williams
2017-07-26 17:45                 ` Dan Williams
2017-07-27  1:52                   ` Yasunori Goto
2017-07-26 17:51                 ` Christoph Hellwig
2017-07-26 19:34                   ` Dan Williams
2017-08-09 14:19               ` Jeff Moyer
2017-08-09 18:30                 ` Dan Williams [this message]
2017-08-09 19:00                   ` Linda Knippers
2017-08-09 20:49                     ` Dan Williams
2017-08-16  2:25                       ` Yasunori Goto
2017-07-08  4:10         ` Standardization of ACPI NVDIMM DSMs Dan Williams
2017-07-10  8:51           ` Yasunori Goto

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='CAPcyv4gg6xXY9c8iNccVQCr-OUqWgBDqKsj=VEuAig=g_QtxBQ@mail.gmail.com' \
    --to=dan.j.williams@intel.com \
    --cc=jmoyer@redhat.com \
    --cc=linux-nvdimm@lists.01.org \
    --cc=y-goto@jp.fujitsu.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.