From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: *** X-Spam-Status: No, score=3.8 required=5.0 tests=BAYES_00,INVALID_MSGID, RATWARE_MS_HASH,RATWARE_OUTLOOK_NONAME autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1356f4179c1e4ef4 X-Google-Attributes: gid103376,public From: "David C. Hoos, Sr." Subject: Re: ADA task Date: 1996/09/15 Message-ID: <01bba2f7$aa439c00$3c8371a5@dhoossr.iquest.com>#1/1 X-Deja-AN: 180904761 distribution: world references: <5174qu$o1p@nr1.ottawa.istar.net> <51cjp0$q7k@watnews1.watson.ibm.com> <323A1FF2.2781@gsde.hso.link.com> <323B1F23.2781@gsde.hso.link.com> content-type: text/plain; charset=ISO-8859-1 organization: DBH Enterprises, Inc. mime-version: 1.0 newsgroups: comp.lang.ada Date: 1996-09-15T00:00:00+00:00 List-Id: Samuel T. Harris 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