comp.lang.ada
 help / color / mirror / Atom feed
From: "Rego, P." <pvrego@gmail.com>
Subject: Re: Raspberry Pi, Real-Time and Ada
Date: Fri, 7 Feb 2014 04:09:26 -0800 (PST)
Date: 2014-02-07T04:09:26-08:00	[thread overview]
Message-ID: <aeef3e8b-1b60-43f8-b0c4-71279e70a478@googlegroups.com> (raw)
In-Reply-To: <85d2iz1g48.fsf@stephe-leake.org>

On Friday, February 7, 2014 6:28:23 AM UTC-2, Stephen Leake wrote:
> Ok, good.
> What is your application?

In short, drones. 

> What are your timing requirements?
For the next application I think I will need achieve 1 ms for I/O access in hard RT, and up to 100 us for pure computation for soft RT.

> I think you are asking:
> "How do you know the RPi can meet 0.1 second tolerances?"
> I've seen one running Emacs, and it responds well to keyboard commands.
> Humans notice delays longer than 0.1 seconds, so that's my metric.

Ok, it makes sense. In this case, I also get to run GPS on it, and I cannot feel any delay to the keyboard.

> Why do you think 0.1 seconds is "slow"?
> If the application is flying a spacecraft to Jupiter, then 1 day is
> "fast" during the coast phase, when nothing much is happening.
> "fast" and "slow" are totally determined by the application.

Indeed. Yes, I will need much faster.

> That's heavily application dependent.
> If your application is some sort of control system, then it reads
> inputs, computes, and writes outputs.
> Using an oscilloscope, measure the time from an input signal to a
> related output signal.

I was thinking more on some sw tools made for measuring hw performance. A time ago I used some tools for evaluating performance of parallel machines with MPI and OpenMP (I don't remember the names now), thought it could have some of these in RPi. Anyway measuring the outputs would be a very good starting point.

--
Rego.

  reply	other threads:[~2014-02-07 12:09 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-06  0:53 Raspberry Pi, Real-Time and Ada Rego, P.
2014-02-06  7:50 ` Stephen Leake
2014-02-06  8:44   ` Dmitry A. Kazakov
2014-02-06 13:16     ` Simon Clubley
2014-02-06 21:12       ` Rego, P.
2014-02-07  0:26         ` Simon Clubley
2014-02-07 11:44           ` Rego, P.
2014-02-06 21:09     ` Rego, P.
2014-02-06 21:04   ` Rego, P.
2014-02-07  8:28     ` Stephen Leake
2014-02-07 12:09       ` Rego, P. [this message]
2014-02-08  8:28         ` Stephen Leake
2014-02-08  9:06           ` Dmitry A. Kazakov
2014-02-10 18:18           ` Rego, P.
2014-02-13 15:23             ` Stephen Leake
2014-02-07  8:42     ` Dmitry A. Kazakov
2014-02-07 12:34       ` Rego, P.
2014-02-07 12:59         ` Dmitry A. Kazakov
2014-02-07 13:25           ` Rego, P.
2014-02-07 23:11       ` Rego, P.
2014-02-08  8:56         ` Dmitry A. Kazakov
2014-02-10 18:29           ` Rego, P.
2014-02-10 20:38             ` Dmitry A. Kazakov
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox