[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Setup for Real-mode on Solaris2.x

I have a Sparc20 running with solaris 2.5. I have a program
that I like to run in real-mode, which allows the process
to hold up the CPU as long as it goes without releasing the
resource. Is there any possible way or kernel setup?
0
mshim
Asked:
mshim
1 Solution
 
pxhCommented:
There is no real time support for Solaris 2.5. here are alternatives, which might help you:

a) get another OS ;-)

b) try to give that process the highest priority (nice value -20)

c) if you have a two processor machine you can try to dedicate one CPU for your process, while all others can be locked to the second CPU (there is a family of commands and functions to do processor administration, read the man pages for psradm, processor_bind, pbind etc.). I think also the proctool can shuffle processes to processors and/or lock them to one.

d) run the program in the single user mode

Without knowing what your program should do and with what kind of system config your SPARC 20 is setup, or in which environment it is operated, it's hard to give you a more detailed answer.

Hope this help,

Peter (pxh@mpe-garching.mpg.de)

0

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now