Matthew Ahrens
45579c9515
Reduce taskq and context-switch cost of zio pipe
...
When doing a read from disk, ZFS creates 3 ZIO's: a zio_null(), the
logical zio_read(), and then a physical zio. Currently, each of these
results in a separate taskq_dispatch(zio_execute).
On high-read-iops workloads, this causes a significant performance
impact. By processing all 3 ZIO's in a single taskq entry, we reduce the
overhead on taskq locking and context switching. We accomplish this by
allowing zio_done() to return a "next zio to execute" to zio_execute().
This results in a ~12% performance increase for random reads, from
96,000 iops to 108,000 iops (with recordsize=8k, on SSD's).
Reviewed by: Pavel Zakharov <pavel.zakharov@delphix.com >
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov >
Reviewed by: George Wilson <george.wilson@delphix.com >
Signed-off-by: Matthew Ahrens <mahrens@delphix.com >
External-issue: DLPX-59292
Closes #7736
2018-11-08 14:38:28 -08:00
..
2018-01-30 10:27:31 -06:00
2018-05-07 17:19:57 -07:00
2017-07-07 11:28:01 -07:00
2015-01-16 14:41:26 -08:00
2017-05-26 11:42:10 -07:00
2017-01-17 14:49:24 -08:00
2017-06-26 14:36:49 -07:00
2017-09-13 15:46:15 -07:00
2018-11-08 14:38:28 -08:00
2015-01-16 14:41:26 -08:00
2016-12-02 16:59:35 -07:00
2016-09-13 09:58:33 -07:00
2018-07-06 02:46:51 -07:00
2018-11-08 14:38:28 -08:00
2018-07-06 02:46:51 -07:00
2018-05-07 17:19:57 -07:00
2018-07-06 02:46:51 -07:00
2018-01-30 10:27:31 -06:00
2018-11-08 14:38:28 -08:00
2018-07-06 02:46:51 -07:00
2018-11-08 14:38:28 -08:00
2017-06-30 11:11:01 -07:00
2017-07-04 15:29:52 -07:00
2017-07-08 20:35:35 -07:00
2016-08-31 14:35:34 -07:00
2017-01-27 11:43:42 -08:00
2018-07-06 02:46:51 -07:00
2017-07-13 13:54:00 -04:00
2016-12-20 18:46:59 -08:00
2017-07-12 21:28:13 -07:00
2015-05-04 09:41:10 -07:00
2017-07-08 20:35:35 -07:00
2016-11-29 14:34:27 -08:00
2018-07-06 02:46:51 -07:00
2017-03-22 17:58:47 -07:00
2017-05-19 13:45:46 -07:00
2015-01-16 14:41:26 -08:00
2017-07-13 13:54:00 -04:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2017-03-20 18:36:00 -07:00
2016-04-21 09:49:25 -07:00
2018-03-14 16:10:38 -07:00
2018-03-14 16:10:36 -07:00
2017-03-22 17:58:47 -07:00
2016-08-31 14:35:34 -07:00
2017-02-28 16:10:18 -08:00
2017-01-03 11:31:18 -06:00
2018-07-06 02:46:51 -07:00
2016-11-29 14:34:27 -08:00
2016-11-29 14:34:27 -08:00
2010-08-31 13:41:58 -07:00
2018-03-14 16:10:36 -07:00
2017-07-08 20:35:35 -07:00
2017-12-04 17:21:03 -08:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2018-05-07 17:19:57 -07:00
2017-04-09 16:12:35 -07:00
2017-01-12 09:42:11 -08:00
2016-05-26 10:11:51 -07:00
2017-05-10 13:52:22 -04:00
2017-07-13 13:54:00 -04:00
2016-08-31 14:35:34 -07:00
2017-03-28 11:06:22 -07:00
2018-09-13 10:11:42 -07:00
2017-05-12 17:28:03 -07:00
2018-05-07 17:19:57 -07:00
2018-01-30 10:27:30 -06:00
2017-05-12 17:28:03 -07:00
2018-01-30 10:27:30 -06:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2016-12-15 17:31:33 -08:00
2016-12-12 10:46:26 -08:00
2017-01-22 13:25:40 -08:00
2016-11-29 14:34:33 -08:00
2016-11-29 14:34:33 -08:00
2017-01-22 13:25:40 -08:00
2017-01-22 13:25:40 -08:00
2017-12-04 17:21:39 -08:00
2017-05-12 17:28:03 -07:00
2018-09-13 10:11:42 -07:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2017-04-10 10:24:17 -07:00
2017-01-12 09:42:11 -08:00
2018-03-14 16:10:36 -07:00
2010-08-31 13:41:58 -07:00
2018-07-06 02:46:51 -07:00
2017-07-25 23:09:48 -07:00
2018-07-06 02:46:51 -07:00
2017-07-12 21:28:13 -07:00
2017-03-10 09:51:33 -08:00
2018-07-06 02:46:51 -07:00
2017-06-09 09:15:37 -07:00
2015-06-22 17:02:13 -07:00
2017-03-10 09:51:33 -08:00
2017-01-03 11:31:18 -06:00
2017-09-13 16:05:18 -07:00
2017-12-06 13:25:40 -06:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2017-03-29 12:24:51 -07:00
2016-11-29 14:34:27 -08:00
2017-06-16 17:21:11 -07:00
2018-11-08 14:38:28 -08:00
2018-03-14 16:10:36 -07:00
2018-05-07 17:19:57 -07:00
2016-12-12 10:46:26 -08:00
2018-05-07 17:19:57 -07:00
2018-07-06 02:46:51 -07:00
2018-07-06 02:46:51 -07:00
2018-01-30 10:27:31 -06:00
2017-01-23 10:35:58 -08:00
2018-07-06 02:46:51 -07:00