We help IT Professionals succeed at work.

Setup for Real-mode on Solaris2.x

mshim
mshim asked
on
Medium Priority
242 Views
Last Modified: 2013-12-16
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?
Comment
Watch Question

Commented:
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)

Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.