You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Time to do select:
- Fragment size = 5 MB, Read ahead = 0 : 35 seconds
- Fragment size = 5 MB, Read ahead = 32 : 212 seconds
This shows that in certain situations, read ahead can actually lead to additional delays and more timeouts.
As part of this issue, we should investigate it further and experiment with some heuristic approach, like, turning off read ahead when we have already used 90% of the memory.
Some potential ideas would be to develop heuristics around com.sun.management.GarbageCollectionNotificationInfo and package it in a common library that others could easily poll. Or, some sort of gauge on how many read ahead requests are created, but unable to be fulfilled later bc GC freed the SoftReference.
Consider the following experiment,
select
:- Fragment size = 5 MB, Read ahead = 0 : 35 seconds
- Fragment size = 5 MB, Read ahead = 32 : 212 seconds
This shows that in certain situations, read ahead can actually lead to additional delays and more timeouts.
As part of this issue, we should investigate it further and experiment with some heuristic approach, like, turning off read ahead when we have already used 90% of the memory.
Detected during #5613
The text was updated successfully, but these errors were encountered: