xen-orchestra icon indicating copy to clipboard operation
xen-orchestra copied to clipboard

S3 Remote: Use Multiple Connections

Open michaelkoetter opened this issue 2 years ago • 2 comments

Is your feature request related to a problem? Please describe. Some S3 compatible services like Backblaze are rather slow on a single connection. To speed them up, they require using multiple concurrent connections / transfers (like rclone --transfers ... flag).

Describe the solution you'd like The S3 remote should support using multiple connections. The number of connections should be configurable.

Describe alternatives you've considered Live with painfully slow S3 backups :)

Additional info Example Backup Job from Hetzner (Falkenstein, Germany FSN1) to Backblaze EU (Amsterdam) shows approximately 50 Megabit/s upload bandwidth, whereas the link should be capable of 1 Gigabit/s and I have seen rclone transfers to Backblaze achieving almost 100% link saturation.

Bildschirmfoto 2022-08-13 um 09 50 35

Bildschirmfoto 2022-08-13 um 09 49 51

michaelkoetter avatar Aug 12 '22 20:08 michaelkoetter

It should already be using multiple connections, I'll discuss this with @fbeauchamp next week and will keep you posted.

julien-f avatar Aug 25 '22 09:08 julien-f

the link from XO to the S3 sotrage should use 16 concurrent connections. What is sthe real export speed of your XCP/Xen host ? for example with a local backup Also, the block are compressed with brotli before being sent. Is the CPU usage of the XO VM too high during backup ?

fbeauchamp avatar Aug 31 '22 07:08 fbeauchamp