comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: ADA task
Date: 1996/09/15
Date: 1996-09-15T00:00:00+00:00	[thread overview]
Message-ID: <01bba2f7$aa439c00$3c8371a5@dhoossr.iquest.com> (raw)
In-Reply-To: 323B1F23.2781@gsde.hso.link.com



Samuel T. Harris <u61783@gsde.hso.link.com> wrote in article
<323B1F23.2781@gsde.hso.link.com>...

> Every compiler will have a fidelity of delay it can support.
> On our SGI systems, both VADS and GNAT support a 0.01 second delay
> fidelity. Delays command to be less than 0.01 seconds are actually
> 0.01 seconds. This is not acceptable to high fidelity harmonic
> simulations involving a least common multiple rate of greater
> than 100 hertz. If no compiler supports the required fidelity,
> then replacing the compiler is not really a viable option.
> 
You're right about VADS on SGI "out of the box".  However, we (Hughes
Aircraft -- Huntsville, AL) run our process which needs higher-fidelity
delays at non-degrading priority 39 (IRIX 5 & 6), with the fast_Hz clock
set to 2 KHz.  You may also need to change v_usr_conf_b.a (I don't remember
off the top of my head) to reduce that 10 ms. fudge factor to 0.  We have
found worst-case infidelity of 2-3 ms. on a heavily-loaded (development)
machine, but typically under 500 micro-sec., as would be expected.  The Ada
run time gets to check for expired delays usually every 500 micro-sec.
Normally to get priority 39, you have to run with super-user privileges,
but we reconfigured the kernel to allow just the one priority level (the
lowest level using the Fast_Hz clock instead of the 10 ms. sginap) to be
run by users.  Since most don't care enough to find out how to run at that
priority, generally only the "official" executables needing RT priority run
this way.
-- 
David C. Hoos, Sr.,
http://www.dbhwww.com
http://www.ada95.com






  reply	other threads:[~1996-09-15  0:00 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-09-11  0:00 ADA task Roumen Roupski
1996-09-12  0:00 ` Philip Brashear
1996-09-13  0:00 ` Norman H. Cohen
1996-09-13  0:00   ` Samuel T. Harris
1996-09-14  0:00     ` Robert Dewar
1996-09-14  0:00       ` Samuel T. Harris
1996-09-15  0:00         ` David C. Hoos, Sr. [this message]
1996-09-16  0:00           ` Samuel T. Harris
1996-09-16  0:00     ` Norman H. Cohen
1996-09-14  0:00   ` Ken Garlington
1996-09-14  0:00   ` Roumen Roupski
1996-09-16  0:00     ` Norman H. Cohen
1996-09-16  0:00   ` Robert I. Eachus
  -- strict thread matches above, loose matches on Subject: below --
1996-09-17  0:00 Marin David Condic, 407.796.8997, M/S 731-93
1996-09-20  0:00 ` Robert A Duff
1996-09-17  0:00 Marin David Condic, 407.796.8997, M/S 731-93
1996-09-19  0:00 ` Norman H. Cohen
1996-09-20  0:00   ` Robert A Duff
1996-09-18  0:00 tmoran
replies disabled

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