From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
To: Austin Schuh <austin@peloton-tech.com>
Cc: Clark Williams <williams@redhat.com>,
RT <linux-rt-users@vger.kernel.org>,
John Kacur <jkacur@redhat.com>
Subject: Re: cyclictest usage
Date: Thu, 8 Jun 2017 10:46:43 +0200 [thread overview]
Message-ID: <20170608084643.xanjpluaxvexa2pv@linutronix.de> (raw)
In-Reply-To: <CANGgnMayznQDLuR++ZoQVVJfTCK-tjRk1-HLakSdsQU7eb7EGg@mail.gmail.com>
On 2017-06-02 09:54:16 [-0700], Austin Schuh wrote:
> On Fri, Jun 2, 2017 at 7:26 AM, Clark Williams <williams@redhat.com> wrote:
> > Regarding periodic updates, what do you think about providing a way for an app to query the current state of a run? Possibly a memory region that can be mmapped by a process? Or possibly a UNIX domain socket? I'm thinking of the case where you're doing a 48 hour test run on a box where you don't have easy access to the console and would just like to know if a) the box is alive and b) is still showing reasonable values for max latency and jitter.
> >
> > I kinda like the memory region since that's how cyclictest handles output: the measurement threads all dump their data into a cpu-specific memory area and a display thread (running at a low priority) is the one that wakes up, reads the update and printf's to the screen. If we exported that region so that another process could mmap it read-only, that would provide a way to get a snapshot of the run, without actually depending on cyclictest to *do* anything out of the ordinary.
>
> I might be missing something, but if you want to be able to view the
> status remotely, why not tee the output to a file and tail that from
> the remote session, or use screen/tmux/etc? That would stay aligned
> with Sebastian's goal of keeping it small and simple.
This works in general for you as a person. But if you want to have the
output read by a machine/script then this won't work.
> Austin
Sebastian
next prev parent reply other threads:[~2017-06-08 8:46 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-26 16:25 cyclictest usage Clark Williams
2017-06-02 9:59 ` Sebastian Andrzej Siewior
2017-06-02 14:26 ` Clark Williams
2017-06-02 16:54 ` Austin Schuh
2017-06-08 8:46 ` Sebastian Andrzej Siewior [this message]
2017-06-08 8:40 ` Sebastian Andrzej Siewior
-- strict thread matches above, loose matches on Subject: below --
2008-08-11 9:00 Cyclictest usage Tobias Knutsson
2008-08-11 12:48 ` Gregory Haskins
[not found] ` <ccb913ac0808110638v79283450j8d4953bc0820e747@mail.gmail.com>
2008-08-11 13:55 ` Gregory Haskins
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=20170608084643.xanjpluaxvexa2pv@linutronix.de \
--to=bigeasy@linutronix.de \
--cc=austin@peloton-tech.com \
--cc=jkacur@redhat.com \
--cc=linux-rt-users@vger.kernel.org \
--cc=williams@redhat.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 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).