GNU Parallel: Difference between revisions

Jump to navigation Jump to search
no edit summary
(Marked this version for translation)
No edit summary
Line 123: Line 123:
| 0m1.734s
| 0m1.734s
|}
|}
The table above shows that choosing the right block size has a real impact on the efficiency and the number of core actually used.
This table shows that choosing the right block size has a real impact on the efficiency and the number of cores actually used.
The first line shows that the block size is too small, resulting in many jobs dispatched over the available cores.  
The first line shows that the block size is too small, resulting in many jobs dispatched over the available cores.  
The second line is a better block size, since it results in a number of jobs close to the number of available cores.  
The second line is a better block size, since it results in a number of jobs close to the number of available cores.  
While the third line shows that the block size is too big and that we are only using 1 core out of 8, therefore inefficiently processing chunks.  
The third line shows that the block size is too big and that we are only using 1 core out of 8, therefore inefficiently processing chunks.  
Finally, the last line shows that in many cases, letting GNU Parallel adapt and decide the block size is often faster.
Finally, the last line shows that in many cases, letting GNU Parallel adapt and decide on the block size is often faster.


==Related topics== <!--T:14-->
==Related topics== <!--T:14-->
rsnt_translations
56,420

edits

Navigation menu