[GH-ISSUE #423] Slow download of zipped folders #231

Closed
opened 2026-04-08 16:51:20 +03:00 by zhus · 1 comment
Owner

Originally created by @ghost on GitHub (Jul 23, 2024).
Original GitHub issue: https://github.com/sigoden/dufs/issues/423

Problem

When downloading large folders (~2GB) as zip file, the download process is unexpectedly slow (around 6-8 MB/s compared to 100+ MB/s of unzipped, raw files). When using Filebrowser on the same system, the download speed of zipped folders is on par with raw downloads.

Configuration

I used Docker with the following command:
docker run --rm -v /mydata:/data -p 5000:5000 sigoden/dufs /data -A

Log

Listening on:
http://127.0.0.1:5000/
http://172.17.0.9:5000/
http://[::1]:5000/

2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /" 200
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /dufs_v0.41.0/index.css" 200
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /dufs_v0.41.0/index.js" 200
2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /dufs_v0.41.0/favicon.ico" 200
2024-07-23T17:00:25Z INFO - 192.168.0.10 "GET /test%20data/?zip" 200

Environment:

  • Dufs version: v0.41.0
  • Browser/Webdav info: Firefox 128
  • OS info: Ubuntu Server 24.04
  • Proxy server: N/A
Originally created by @ghost on GitHub (Jul 23, 2024). Original GitHub issue: https://github.com/sigoden/dufs/issues/423 **Problem** When downloading large folders (~2GB) as zip file, the download process is unexpectedly slow (around 6-8 MB/s compared to 100+ MB/s of unzipped, raw files). When using [Filebrowser](https://github.com/filebrowser/filebrowser) on the same system, the download speed of zipped folders is on par with raw downloads. **Configuration** I used Docker with the following command: docker run --rm -v /mydata:/data -p 5000:5000 sigoden/dufs /data -A **Log** Listening on: http://127.0.0.1:5000/ http://172.17.0.9:5000/ http://[::1]:5000/ 2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /" 200 2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /__dufs_v0.41.0__/index.css" 200 2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /__dufs_v0.41.0__/index.js" 200 2024-07-23T17:00:16Z INFO - 192.168.0.10 "GET /__dufs_v0.41.0__/favicon.ico" 200 2024-07-23T17:00:25Z INFO - 192.168.0.10 "GET /test%20data/?zip" 200 **Environment:** - Dufs version: v0.41.0 - Browser/Webdav info: Firefox 128 - OS info: Ubuntu Server 24.04 - Proxy server: N/A
zhus closed this issue 2026-04-08 16:51:20 +03:00
Author
Owner

@sigoden commented on GitHub (Jul 24, 2024):

The compress algorithm will limit the zip download rate.

--compress <level>     Set zip compress level [default: low] [possible values: none, low, medium, high]

You could try --compress none

<!-- gh-comment-id:2246357176 --> @sigoden commented on GitHub (Jul 24, 2024): The compress algorithm will limit the zip download rate. ``` --compress <level> Set zip compress level [default: low] [possible values: none, low, medium, high] ``` You could try `--compress none`
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sigoden/dufs#231