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
L2ARC devices of several terabytes filled with 4KB blocks may take 15
minutes to rebuild. Due to the way L2ARC log reading is implemented
it is quite likely that for all that time rebuild thread will never
sleep. At least on FreeBSD kernel threads have absolute priority and
can not be preempted by threads with lower priorities. If some thread
is also bound to that specific CPU it may not get any CPU time for all
the 15 minutes.
This patch adds small throttling to the rebuild process, putting it
into sleep for 1 tick every 10 log block. On my system this means
approximately 1ms every 10ms, reaching the single CPU usage of ~90%.
Signed-off-by: Alexander Motin <[email protected]>
0 commit comments