Open wlandau-lilly opened 6 years ago
I forgot: $list()
is an important one too.
I believe that the disk I/O is the bottleneck for most of these and I'd be shocked if process level parallelism could speed that up
The gpfs file system I'm on seems to have speed benefits for I/O heavy jobs up to around 100 workers.
Even personal hard drives have more than one read/write point I thought?
For cache-wide methods such as
$clear()
and especially$gc()
, it would be handy to have some low-overheadmclapply()
-powered parallel processing. I am sure @kendonB would appreciate this too.You would need to demote
workers
to 1 for Windows, but I think it is still worth it.parLapply()
is platform-independent, but I personally do not like the overhead.In drake, I use an internal
lightly_parallelize()
function quite a lot.