Feature #22707
closed
Check performance of file uploads after deploying #22321 to test cluster
Added by Tom Clegg 24 days ago.
Updated 2 days ago.
- Target version changed from Development 2025-04-16 to Development 2025-04-30
- Status changed from New to In Progress
I tried uploading an arvados git repo checkout (3646 files in 979 dirs) to tordo from a shell node, using a one-liner with curl and xargs.
version |
concurrency |
clock time |
blocks in final manifest |
3.1.1 |
6 |
26m24s |
6930 |
main |
6 |
23m47s |
164 |
main |
2 |
24m58s |
108 |
Admittedly the testing plan adds a lot of overhead, which would tend to mask performance issues. But the new version (with repacking) finishes faster than the old version. So it feels pretty safe to say we haven't introduced any significant performance problems.
time find arvados -type d | while read f; do echo curl -f -X MKCOL -H "'Authorization: Bearer $ARVADOS_API_TOKEN'" "'https://download.tordo.arvadosapi.com/c=$uuid/${f#arvados/}'"; done | xargs -n1 -d \\n bash -c
time find arvados -type f | while read f; do echo curl -f -X PUT -H "'Authorization: Bearer $ARVADOS_API_TOKEN'" -H "'Content-Type: application/octet-stream'" -T "'$f'" "'https://download.tordo.arvadosapi.com/c=$uuid/${f#arvados/}'" "|| echo $f"; done | xargs -n1 -d \\n -P6 bash -c
Tom Clegg wrote in #note-4:
I tried uploading an arvados git repo checkout (3646 files in 979 dirs) to tordo from a shell node, using a one-liner with curl and xargs. … it feels pretty safe to say we haven't introduced any significant performance problems.
Agreed, lgtm, thanks.
- Status changed from In Progress to Resolved
Also available in: Atom
PDF