I have a Linux box with 4 CPUs, and when I run a process on it, it processes 1.5 million records in 30 mins. Here processing means reading from oracle DB, deriving some stuff and writing 1.5 records to the file system in a file.
We were now planning to run multiple separate instances (20) of this process on this server.
Does this mean, I would process 20 x 1.5 = 20 million records in 30 mins? I see the Thread(s) per core = 1 (lscpu command). So I believe this is not a correct assumption. What all factors are considered when comparing number of CPUs with number of processes?
Actually, we have received a request saying that with the 20 process instances the system should process atleast 20 million records per hour per core.
I don't think these requested numbers can be met with this linux system.