Re: question about parallelism in cp command

2019-06-28 Thread L A Walsh
On 2019/06/06 09:25, Marc Roos wrote: > > Hmmm without being a maintainer. I would say cp -r is most used on > single disk, so one thread is using the maximum disk iops taking y time > to copy. --- not exactly true, if the 1 disk as a 20 disk raid10. You can target 10 areas at a time and g

RE: question about parallelism in cp command

2019-06-28 Thread Marc Roos
There are always exceptions like with clustered filesystem etc etc. That is why I wrote 'most used'. If you take all the issued 'cp' commands of today in the world. I would bet 80%-95% of them would not benefit from some sort of parallel processing. -Original Message- From: L A Walsh

Re: question about parallelism in cp command

2019-06-28 Thread Michael Stone
On Fri, Jun 28, 2019 at 04:15:22AM -0700, L A Walsh wrote: You can target 10 areas at a time and get considerable benefit if they are spread across multiple disks in the raid. Alternatively, the kernel can hide this behind readahead.

Re: question about parallelism in cp command

2019-06-28 Thread L A Walsh
On 2019/06/28 04:52, Marc Roos wrote: > > There are always exceptions like with clustered filesystem etc etc. That > is why I wrote 'most used'. If you take all the issued 'cp' commands of > today in the world. I would bet 80%-95% of them would not benefit from > some sort of parallel proce