LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-10-2009, 01:04 PM   #1
shaiva
LQ Newbie
 
Registered: Sep 2009
Posts: 15

Rep: Reputation: 0
Question how many processes can we create in an application which runs with one processor ?


Hi all,

If an application or device has some processes running .If I want to introduce one more process what is the criteria? How to introduce that new process?On what factors these new process creation depend.
Ex: I have a powerpc which has some 10 processes.I want to introduce a new process.What is the criteria.Can I do that ?Can you help please.
 
Old 10-10-2009, 05:48 PM   #2
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
How long is a piece of string?

There are many (potentially) limiting factors. Memory size, ulimit values, system
hard limits in respect to numbers of processes, CPU usage, memory usage, ...

The most sensible approach for you would have to be to just go and try, and see
what happens. That's about all I (or anyone else who doesn't have all the details
of your application and/or environment) can suggest. With your input not even a
very general hand-waving is going to be possible.


Cheers,
Tink
 
Old 10-10-2009, 05:58 PM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
What Tinkster said. If you know what the next process you want to launch uses in terms of memory, CPU and disk I/O and there is enough of all of those free for it to run then launching it will not slow down the others and you can squeeze more throughput out of the system. If there is not enough of all those free then adding another process will cause resource contention and the system will spend more time swapping resources between processes and the overall throughput will be reduced. If you have CPU-intensive, I/O-intensive and memory-intensive processes to run then a judicious mixing can achieve the best throughput. Again, as Tinkster said, some experiments with plenty of measurements are the best way to optimise.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Licq 1.3.6 runs as too many processes bhy Linux - Software 1 04-01-2009 09:11 AM
To get list of processes runing under a particular processor kauuttt Linux - General 8 02-18-2009 12:36 PM
To get list of processes runing under a particular processor kauuttt Linux - Kernel 5 02-12-2009 06:22 PM
Processor families that Linux runs on s_b Linux - Newbie 5 01-15-2009 03:20 PM
dual processor system=more running processes? plisken Linux - Hardware 0 12-09-2004 04:48 PM


All times are GMT -5. The time now is 08:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration