process priority

New Message Reply Date view Thread view Subject view Author view

Anita Kishore (kishore++at++triavest.com)
Thu, 9 Oct 1997 13:57:24 -0700


Hi :

        In my performer appl. I have a process which collects data
from an external device through the serial port. I have been using
schedctl(NDPRI, 0, NDPNORMMAX) to set this process to have non-degrading
priority in IRIX 5.3. Now I need this to run on 6.4.1, and I didn't see
the NDPRI or NDPNORMMAX in the 6.4 man page of schedctl call. How can this
be done in 6.4? Is NDPRI still the same in 6.4? It compiles fine, but gives
"Operation not permitted" when I run it. This message doesn't come when I
run as root. I am confused as to what is going on. I can see it in the manual
"Topics in IRIX programming". So which doc. (man page or the manual) has not
been updated?

        My second question is also related to the above. I use systune in
a script to set the kernel param ndpri_hilim to the value available in the
file /usr/include/sys/schedctl.h. When I run this script on the Onyx2 (6.4.1),
it says "systune-> symbol:ndpri_hilim not found". What is the equilavalent way
setting this kernel parameter in 6.4?

Thanks for any help.

-anita

kishore++at++triavest.com

-- 
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:56:04 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.