You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using pigz to speed up transfer of large files from embedded device to server. It goes like this:
pigz -1 -p2 -c | curl -T - $url
My goal is to minimize total time of file compression&transmission. Problem is that I don't know beforehand what bandwidth is available for upload, and it can be quite small (e.g., 1 Mbit/sec). In this case it would be beneficial to use higher compression level.
Would it make sense if pigz supported adaptive compression level based on average write speed (in this case, to stdout)? E.g., start with 1 and increase it if write throughput is lower than compression throughput.
The text was updated successfully, but these errors were encountered:
I'm using pigz to speed up transfer of large files from embedded device to server. It goes like this:
My goal is to minimize total time of file compression&transmission. Problem is that I don't know beforehand what bandwidth is available for upload, and it can be quite small (e.g., 1 Mbit/sec). In this case it would be beneficial to use higher compression level.
Would it make sense if pigz supported adaptive compression level based on average write speed (in this case, to stdout)? E.g., start with 1 and increase it if write throughput is lower than compression throughput.
The text was updated successfully, but these errors were encountered: