cc_staff
284
edits
(Marked this version for translation) |
m (Added link to GNU Parallel section on handling large files) |
||
Line 98: | Line 98: | ||
<!--T:27--> | <!--T:27--> | ||
As an example, if your <tt>seq.fa</tt> file is <tt>3MB</tt>, you could read block of <tt>1MB</tt> and GNU Parallel will create 3 jobs, thus using 3 cores. If we would have requested 10 cores in our task, we would be wasting 7 cores. Therefore, '''the block size is important'''. We can also let GNU Parallel decide, as done below. | As an example, if your <tt>seq.fa</tt> file is <tt>3MB</tt>, you could read block of <tt>1MB</tt> and GNU Parallel will create 3 jobs, thus using 3 cores. If we would have requested 10 cores in our task, we would be wasting 7 cores. Therefore, '''the block size is important'''. We can also let GNU Parallel decide, as done below. | ||
See also [[GNU Parallel#Handling_large_files|handling large files]] with GNU Parallel. | |||
<!--T:34--> | <!--T:34--> |