[tahoe-lafs-trac-stream] [Tahoe-LAFS] #3952: Benchmarks for basic immutable Tahoe operations (upload and download)

Tahoe-LAFS trac at tahoe-lafs.org
Mon Dec 12 20:01:04 UTC 2022


#3952: Benchmarks for basic immutable Tahoe operations (upload and download)
-----------------------------+-----------------------------------
     Reporter:  itamarst     |      Owner:
         Type:  enhancement  |     Status:  new
     Priority:  normal       |  Milestone:  HTTP Storage Protocol
    Component:  unknown      |    Version:  n/a
   Resolution:               |   Keywords:
Launchpad Bug:               |
-----------------------------+-----------------------------------

Comment (by itamarst):

 For a small 2000 byte file with a single share uploaded to a single node,
 an upload is 3 sequential HTTP requests, and a download is 4 sequential
 HTTP requests. So with high latency this gets quite slow.

 Next, I tested over loopback, but with RTT latency of 60ms (30ms one way)
 artificially added. Bandwidth is quite high, so not likely to be a
 bottleneck.

 * When uploading the 2000 byte file, upload time was 300ms, and download
 was 300ms.
 * When uploading a 2MB file, upload time was 300ms, and download time was
 3200ms.

 Thus:

 * Immutable uploads use parallelism, and main bottleneck is latency, which
 only impacts small files. However, sequential uploads will have minimal
 time no matter what the bandwidth.
 * Immutable downloads have a latency hit, but even worse are not utilizing
 parallelism well, so large files suffer from latency hit even when
 bandwidth is not a bottleneck.

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/3952#comment:2>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list