Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Feb 2018 23:34:42 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-fs@FreeBSD.org
Subject:   [Bug 209571] NVMe performing poorly. TRIM requests stall I/O activity
Message-ID:  <bug-209571-3630-DlNwm5Q6tP@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209571-3630@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209571-3630@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D209571

--- Comment #8 from Warner Losh <imp@FreeBSD.org> ---
Only if you are using nda, which most people aren't. It doesn't exist in 10=
 or
11 (well, until last week). It's not turned on by default in 12.

So talking about cam_ioschded and nvd in the same breath misunderstands the
problem. nvd doesn't collapse trims and that's the problem there. It doesn't
use CAM at all so no tweaks to cam_iosched is going to help because it's
completely unused. nda, on the other hand, has the collapsing trim issue and
the priority inversion issue cem points out. I've been tweaking the code to
reduce trim priority as well as collapse trims, but that won't help nvd. I =
have
no plans on doing anything with nvd.

So if you are using nvd, the whole problem is lack of trim collapsing. If y=
ou
are using nda, that problem is compounded by the I/O scheduler. I should ha=
ve a
fix for nda by the end of next week.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209571-3630-DlNwm5Q6tP>