collections: find why five IoError, Path and encoding programs allocate more with the 48 byte inline limit (follow-up of #566) #842
Labels
No labels
loop
queue/failed
queue/queued
ready
status/parked
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
torbscript/language#842
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
Observed
Five conformance programs allocate more blocks after #566 raised
inlineSizeLimitfrom 32 to 48 than their budget from #529 allowed, so their.allocationsfiles had to go up by 143 blocks in total:All five work with
IoError,Pathor the encoding problem records. The other 180 programs fell by 8570 blocks in total, so the net effect is -8427 blocks against the +8514 of #529, but the acceptance of #566 says no budget may rise above the value #529 set.Expected
When the cause is isolated, either those five programs allocate no more than their #529 budget again, or each rise is a
decided by the loopparagraph indocs/design/COLLECTION-STORAGE.mdsection 6 naming the value that is now copied or boxed and why that is right.Notes
The probable cause, not proven: a value of 33 to 48 bytes that used to be a counted block (and so was shared by a count bump) is now copied inline, and a path that held it in a list or a result copies it where it used to retain it, and the copy owns a
Textthat is retained. Measure with the tier B log of the PR that closes #566 and compare the blocks of each of the five with the limit at 32 and at 48.Requirements:
long-paths,non-ascii-paths,file-values,encoding-decode-errorsandencoding-decode-problemsrun, the allocations of each source shall be attributed in a CI log.std/or the lowering, the change shall remove it without a new native or syntax form.[loop:torbscript] wait: the cause is measured against the limit of 48 bytes, which is in PR #841 (the PR that closes #566) and not yet on main; the tier B log of that PR is the measurement the issue asks for. Implementation starts when #841 is merged. next: waiting (PR #841 merge)
[loop:torbscript] parked: the cause can only be measured against the 48 byte inline limit, which lives in draft PR #841 (the PR that closes #566) and is not on main yet; a worker started now would have nothing to measure. Remove the label
status/parkedonce #841 has landed, the item is ready again then (it keepsready). next: waiting (PR #841 merge)PR #841 measured a sixth program above its #529 value:
network-lookupallocates 46742 blocks with the limit at 48 (the #529 value was 46213, main holds 47365 becausefeat(dns)11fe42c9added 1152 on top, so the limit lowers main's budget by 623). The 529 above the #529 value cannot be split between the limit and the dns code without a probe, so it joins the scope of this issue: R1 covers the five programs above andnetwork-lookup, compared with the dns commit alone at limit 32 and at 48.