<div dir="ltr">Hi,<div><br></div><div>I'm a super newbie, I had done very very simple parallel processing using erlang. I experimenting with my database containing about hundreds of thousands rows. I split the rows into different offsets then assign each worker-processes different rows based on offsets. For each row i doing simple similar text calculation using binary:longest_common_prefix/1</div><div><br></div><div>Let's assume my total rows is 200,000 rows of data.</div><div>At first, i try to create 10 worker-processes, i assign 20,000 rows at each worker-process.</div><div>Second, i try to create 20 worker-processes, i assign 10,000 rows at each worker-process.</div><div>Third, i try to create 40 worker-processes, i assign 5000 rows at each worker-process.</div><div><br></div><div>My machine specs:<br>- MacBook Pro (13-inch, 2017, Four Thunderbolt 3 Ports)</div><div>- Processor 3,1 GHz Intel Core i5 ( 2 physical cores, with HT )</div><div>- RAM 8 GB 2133 MHz LPDDR3</div><div><br></div><div>My questions is</div><div><br></div><div>1. How to quick calculation / dumb / simple calculation max Erlang's processes based on above machine specs?<br><br>2. The running time when doing similar text processing with 10 worker, or 20 worker or 40 worker was very blazingly fast. So i cannot feel, i cannot see the difference. How to measure or something like printing total minutes out? So i can see the difference.</div><div><br></div><div>3. How many scheduler need to active / available when i create 10 processes? or 20 processes? 40 processes? and so on..</div><div><br></div><div>Please enlightenment</div><div><br></div><div>Thank you super much </div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>