Files
mirror_zfs/include/sys
Alexander Motin e16b3fcc61 Illumos 5008 - lock contention (rrw_exit) while running a read only load
5008 lock contention (rrw_exit) while running a read only load
Reviewed by: Matthew Ahrens <matthew.ahrens@delphix.com>
Reviewed by: George Wilson <george.wilson@delphix.com>
Reviewed by: Alex Reece <alex.reece@delphix.com>
Reviewed by: Christopher Siden <christopher.siden@delphix.com>
Reviewed by: Richard Yao <ryao@gentoo.org>
Reviewed by: Saso Kiselkov <skiselkov.ml@gmail.com>
Approved by: Garrett D'Amore <garrett@damore.org>

Porting notes:

This patch ported perfectly cleanly to ZoL.  During testing 100% cached
small-block reads, extreme contention was noticed on rrl->rr_lock from
rrw_exit() due to the frequent entering and leaving ZPL.  Illumos picked
up this patch from FreeBSD and it also helps under Linux.

On a 1-minute 4K cached read test with 10 fio processes pinned to a single
socket on a 4-socket (10 thread per socket) NUMA system, contentions on
rrl->rr_lock were reduced from 508799 to 43085.

Ported-by: Tim Chase <tim@chase2k.com>
Signed-off-by: Brian Behlendorf <behlendorf1@llnl.gov>
Closes #3555
2015-07-06 09:34:13 -07:00
..
2015-05-11 12:23:16 -07:00
2015-06-11 10:27:25 -07:00
2014-08-01 14:28:05 -07:00
2014-01-07 10:33:11 -08:00
2014-08-01 14:28:05 -07:00
2015-06-09 13:48:02 -07:00
2014-03-04 12:22:24 -08:00
2013-12-10 10:09:27 -08:00
2014-07-29 10:55:29 -07:00
2014-07-29 10:55:29 -07:00
2013-11-04 11:18:14 -08:00
2013-09-04 16:01:24 -07:00
2013-11-04 11:17:48 -08:00
2014-08-13 10:35:00 -07:00
2014-07-30 09:20:35 -07:00
2013-09-04 16:01:24 -07:00
2015-05-11 12:23:16 -07:00
2015-01-06 16:53:24 -08:00
2011-02-10 09:21:43 -08:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2015-06-25 08:58:16 -07:00
2015-06-09 13:48:02 -07:00
2011-03-02 11:43:50 -08:00
2015-05-04 09:41:09 -07:00
2014-07-28 14:29:58 -07:00
2013-11-04 10:55:25 -08:00
2013-12-18 16:46:35 -08:00
2011-02-10 09:27:21 -08:00
2013-11-04 10:55:25 -08:00
2014-08-11 16:11:43 -07:00
2015-06-09 13:48:02 -07:00
2013-11-04 10:55:25 -08:00
2013-11-05 12:14:56 -08:00
2015-03-20 10:35:20 -07:00
2013-12-16 09:15:57 -08:00