put more DYHBs into flight at once when K is larger #1180
Labels
No Label
0.2.0
0.3.0
0.4.0
0.5.0
0.5.1
0.6.0
0.6.1
0.7.0
0.8.0
0.9.0
1.0.0
1.1.0
1.10.0
1.10.1
1.10.2
1.10a2
1.11.0
1.12.0
1.12.1
1.13.0
1.14.0
1.15.0
1.15.1
1.2.0
1.3.0
1.4.1
1.5.0
1.6.0
1.6.1
1.7.0
1.7.1
1.7β
1.8.0
1.8.1
1.8.2
1.8.3
1.8β
1.9.0
1.9.0-s3branch
1.9.0a1
1.9.0a2
1.9.0b1
1.9.1
1.9.2
1.9.2a1
LeastAuthority.com automation
blocker
cannot reproduce
cloud-branch
code
code-dirnodes
code-encoding
code-frontend
code-frontend-cli
code-frontend-ftp-sftp
code-frontend-magic-folder
code-frontend-web
code-mutable
code-network
code-nodeadmin
code-peerselection
code-storage
contrib
critical
defect
dev-infrastructure
documentation
duplicate
enhancement
fixed
invalid
major
minor
n/a
normal
operational
packaging
somebody else's problem
supercritical
task
trivial
unknown
was already fixed
website
wontfix
worksforme
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Reference: tahoe-lafs/trac-2024-07-25#1180
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As mentioned in comment:66846, the new downloader code in v1.8.0 will put at most 10 DYHBs into flight at once. This is perfect when
K=3
, but asK
gets larger it is increasingly likely that the hardcoded limit of10
will induce delay at the beginning of a download or cause the downloader to overlook a better-performing server. As Brian suggested on #448, a better limit would be something likeK * 3
.(Note: everyone that I know of uses the default settings of
K=3, M=10
. The theoretical maximum value ofK
is 256. Since nobody has tried it, we don't know if there are other problems with usingK
greater than about100
.)Hm, did I mark this as "regression" because this makes v1.8.0 perform noticeably worse than v1.7.1 for cases when
K >> 3
? Because that case is increasingly interesting to me nowadays since (as mentioned in this mail to tahoe-dev), I think people should probably start settingK
at least as large as the number of servers on their grid. Perhaps we should even make the default value ofK
be 30 in future releases of Tahoe-LAFS instead of 3, and make the default value ofM
be 100. Oh, but what would that mean for the default value ofH
?In any case, nobody to my knowledge has measured v1.8.0 to see if it actually performs worse than v1.7.1 does due to this issue about v1.8.0 keeping at most 10 DYHB's in flight at once.
It would be great if someone would benchmark larger
K
's.Replying to zooko:
Set
K
to the number of servers in the grid? The e-mail you reference (and the analysis that I've done) recommends settingM
to the number of servers in the grid and scalingK
to achieve the desired level of redundancy.Intuition says that setting
K=N
andM=K*3.33
should achieve roughly the same level of reliability for an expansion factor of 3.33 as settingM=N
andK=M/3.33
, but I haven't done the math to verify it.In any case, I think larger values of
K
andM
are definitely a good idea, and getting good performance with larger values is important if we want to encourage people to use them. I'd certainly use them if I had access to a large-enough grid to make it worthwhile.In comment:2:ticket1264 François posted that with 71 servers, raising the DYHB limit from 10 to 60 made only a 1-second difference in the total download speed. This may indicate that this ticket is not very important for downloading larger files but is important for downloading smaller files.