Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Process vs Thread in Performance on RS6000

Status
Not open for further replies.

HarpreetSachdeva

Programmer
Apr 11, 2003
25
GB
Hi,
On AIX 5.1 with RS6000 m/c out of threading or multi processing which one is recomemded.

I mean to launch a new process is less time consuming and fast or launching a new thread.

As I had to write an application tha will keep on recieving the messages from a comm link at the rate of thousands of messages per min and the application will have to process them and respond to them as fast as possible.

So in such case is the multithreaded application or multiprocessed application which is desirable.

please advice.
 
Any OS with real threads will create quicker threads than fork processes anytime.


I hope it works...
Unix was made by and for smart people.
 
A thread is the scheduling entity for AIX version 4. For AIX v3, the scheduling entity is the process which the fork system call creates.

The scheduler chooses the thread from a list of eligible threads that wait in the run queue. The run queue is sorted in priority order, and the top priority runnable threads get to use the CPUs.

Thread priorities can be either fixed or changed as a function of time spent using the CPU.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top