OS: Cent-OS
I have some 30,000
jobs(or Scripts) to run. Each job takes 3-5 Min. I have 48 CPUs(nproc = 48)
. I can use 40 CPUs to run 40 Jobs
parallelly. please suggest some script or tools can handle 30,000 Jobs by running each 40 Jobs parallely.
What I had done:
I created 40 Different folders and executed the jobs parallely by creating a shell script for each directory.
I want to know better ways to handle this kind of jobs next time.