[Bug 223059] [patch] consider skipped 2 pages in sw_nblks and add size check before blist_alloc
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Oct 20 02:52:59 UTC 2017
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223059
--- Comment #2 from ota at j.email.ne.jp ---
(In reply to Alan Cox from comment #1)
I've seen 2 conditions when blist_alloc() failed massively.
One case is when sizes of swap devices are imbalanced especially when one of
them are significantly small or large, one or some of others gets filled.
The other case is when more devices are added to avoid swap space exhaustion.
As soon as all existing devices are fulled, new ones will pick up all I/Os.
In any cases, if a machine is busy swapping out pages, I also agree that
failures of blist_alloc() are minor in performance as well.
Also, blist_alloc needs to find a contentious region. Even if remaining blocks
is more than requested, blist_alloc can fail due to fragmentation.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list