Open Bug 1649553 Opened 4 months ago Updated 4 months ago

Improvement for dynamic chunk size adjustment

Categories

(MailNews Core :: Networking: IMAP, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: gds, Unassigned)

References

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1580480 +++

In Bug 1580480 comment 25 I list some issues with the current dynamic chunk size adjustment method. The attached diff shows the suggested improvements to address them that I have tested.

This enables dynamic adjustment for all possible chunking conditions. It also converges faster on the optimal chunk size by doubling or halving the current chunks size instead of just adding or subtracting 8192.

Note: To slow down the network interface so that decrease in chunk size occurs dynamically, a script such as this is helpful: https://github.com/ModusCreateOrg/slow. Also, the primary slowdown needs to occur at the server (in my case Dovecot) so that fetched data is slowed down.

Summary: IMAP fetch chunk size is always 65536 bytes → Improvement for dynamic chunk size adjustment
Keywords: perf, regression
No longer regressed by: 773782
Whiteboard: [regression:TB17]
You need to log in before you can comment on or make changes to this bug.