I am working with Rclone to list and copy millions of objects from Azure Blob Storage to AWS S3, but when I run the rclone lsl or rclone copy command I found that it creates 4 or 5 processes on my machine. Is there a way to increase the number of processes my instance will use?
The above in order to finish the activity faster.
Run the command 'rclone version' and share the full output of the command.
rclone v1.57.0
os/version: amazon 2 (64 bit)
os/kernel: 4.14.252-195.483.amzn2.x86_64 (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.17.2
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Azure blob storage
AWS S3
The command you were trying to run (eg rclone copy /tmp remote:tmp)
You'd have to share what you run, how are you identifying 'threads' and a debug log.
You have a snippet of a log above, no command, output, a barely legible htop (I think) screenshot which might be reporting threads or not. I have no idea.
I want to run my command but I would like it to use more threads, in my case both commands use 5 threads, I want to run my command with 10 o more threads.
Perhaps lets take a step back as I think there is still some confusion.
If you want more parallelism for a copy, that's the initial question you posed, which I answered.
If you are trying to get more parallelism for a "ls" command, there isn't any magic there as in API call happens, it asks for a directory, it get results.
If you split that into 100 "threads", it would be god awful slow (not that you can anyway).
So back to my question, what problem are we trying to solve?
Slow speeds on a copyto command? That's more checkers/transfers.
Yep and that'll give you performance improvements.
Trying to compare two different systems for thread count on a process isn't thing I'd go down. I'd imagine my remote was doing some recursion maybe or I took it at a different time than yours and it was listing / printing out and doing another directory or something.
Dropbox could be more chatty with DNS or something and could be quite a number of different factors. If your goal is performance, just work through checkers/transfers as you really can do nothing to influence number of threads as that's well under neath the covers other than increasing the flags I've shared.