Solved

Setup for Real-mode on Solaris2.x

Posted on 1997-02-16
1
218 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?
0
Comment
Question by:mshim
1 Comment
 
LVL 2

Accepted Solution

by:
pxh earned 100 total points
ID: 1811792
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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using libpcap/Jpcap to capture and send packets on Solaris version (10/11) Library used: 1.      Libpcap (http://www.tcpdump.org) Version 1.2 2.      Jpcap(http://netresearch.ics.uci.edu/kfujii/Jpcap/doc/index.html) Version 0.6 Prerequisite: 1.      GCC …
Java performance on Solaris - Managing CPUs There are various resource controls in operating system which directly/indirectly influence the performance of application. one of the most important resource controls is "CPU".   In a multithreaded…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

809 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question