Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


  Search this Thread
Old 10-10-2009, 12:04 PM   #1
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, 04:48 PM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
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.

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

Rep: Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196Reputation: 1196
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.


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 08:11 AM
To get list of processes runing under a particular processor kauuttt Linux - General 8 02-18-2009 11:36 AM
To get list of processes runing under a particular processor kauuttt Linux - Kernel 5 02-12-2009 05:22 PM
Processor families that Linux runs on s_b Linux - Newbie 5 01-15-2009 02:20 PM
dual processor system=more running processes? plisken Linux - Hardware 0 12-09-2004 03:48 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:11 PM.

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