Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

In linux ( fedora ) , is there any limit on the number of instances of the same program that can be run simultaneously ? I am using libsvm , and want to run ./svm-train simultaneously for 9 different files < in 9 different terminals > .. Will this cause any problem ?

share|improve this question

migrated from Mar 10 '10 at 16:38

This question came from our site for professional and enthusiast programmers.

up vote 1 down vote accepted

The limit will be, most likely, memory. SVM training uses a lot. If you run many, you will thrash unless you have a large quantity of RAM.

share|improve this answer
oh , the system has 1 GB RAM , and it took me more than 12 hours when i ran 4 instances simultaneously .. Will it have taken lesser time if i had run one process at a time ? – trinity Mar 10 '10 at 13:53
How much memory was in use ? if > 1Gb, yes you would get significant speedup. If < 1Gb, no speedup. Also, you will likely not get any speedup if you run nr of instances > nr of processors – nos Mar 10 '10 at 13:55
is it possible to find the memory used ? How to do that.. – trinity Mar 10 '10 at 14:08
You can get an idea how much memory each process uses with htop or top, but multiple instances of the same program will add up to a falsely high number because they're using the same instance of libraries. It would be pretty simple to just watch swapping using top and see whether your RAM is overloaded. – CarlF Sep 30 '10 at 19:07
Training a discriminative model like an SVM involves a gigantic quantity of data. – bmargulies Oct 1 '10 at 1:45

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.