mjg
2eae2c18c9
sx: port over writer starvation prevention measures from rwlock
...
A constant stream of readers could completely starve writers and this is not
a hypothetical scenario.
The 'poll2_threads' test from the will-it-scale suite reliably starves writers
even with concurrency < 10 threads.
The problem was run into and diagnosed by dillon@backplane.com
There was next to no change in lock contention profile during -j 128 pkg build,
despite an sx lock being at the top.
Tested by: pho
2018-05-22 07:20:22 +00:00
..
2018-04-13 20:30:49 +00:00
2018-05-18 17:58:09 +00:00
2018-04-06 17:35:35 +00:00
2018-03-13 13:09:10 +00:00
2018-03-13 13:09:10 +00:00
2018-05-17 23:07:51 +00:00
2018-04-06 17:35:35 +00:00
2018-05-17 21:39:15 +00:00
2018-05-21 20:23:04 +00:00
2018-05-19 05:07:03 +00:00
2018-05-07 15:24:03 +00:00
2018-05-19 05:07:31 +00:00
2018-05-19 05:14:05 +00:00
2018-04-27 15:16:34 +00:00
2018-05-01 17:32:43 +00:00
2018-04-10 22:57:56 +00:00
2018-05-19 05:06:18 +00:00
2018-05-09 18:47:24 +00:00
2018-04-18 21:31:13 +00:00
2018-02-20 02:18:30 +00:00
2018-05-19 07:04:43 +00:00
2018-05-04 20:54:27 +00:00
2018-03-29 02:54:50 +00:00
2018-05-09 00:00:47 +00:00
2018-05-18 17:58:09 +00:00
2018-05-19 03:58:40 +00:00
2018-05-19 05:04:38 +00:00
2018-04-24 01:04:10 +00:00
2018-04-20 13:08:04 +00:00
2018-05-19 04:43:49 +00:00
2018-05-06 00:19:48 +00:00
2018-04-27 00:12:00 +00:00
2018-05-18 17:58:09 +00:00
2018-03-20 15:51:05 +00:00
2018-03-27 18:05:51 +00:00
2018-05-19 04:09:58 +00:00
2018-05-14 00:21:04 +00:00
2018-04-06 17:35:35 +00:00
2018-04-20 15:19:27 +00:00
2018-04-20 13:08:04 +00:00
2018-04-20 13:08:04 +00:00
2018-04-20 13:08:04 +00:00
2018-04-06 17:35:35 +00:00
2018-05-11 06:59:54 +00:00
2018-05-22 07:16:39 +00:00
2018-05-19 05:10:51 +00:00
2018-04-06 17:35:35 +00:00
2018-05-19 03:55:42 +00:00
2018-05-19 03:57:41 +00:00
2018-05-22 07:20:22 +00:00
2018-05-18 17:58:09 +00:00
2018-05-07 22:29:32 +00:00
2018-05-18 17:58:09 +00:00
2018-05-04 22:48:10 +00:00
2018-05-16 22:29:20 +00:00
2018-05-16 22:29:20 +00:00
2018-05-19 05:09:10 +00:00
2018-04-06 17:35:35 +00:00
2018-05-18 17:58:09 +00:00
2018-05-18 17:58:09 +00:00
2018-04-06 17:35:35 +00:00
2018-05-18 17:58:09 +00:00
2018-05-07 23:36:16 +00:00
2018-05-07 23:36:16 +00:00
2018-05-07 21:09:08 +00:00
2018-05-20 05:13:12 +00:00
2018-04-06 17:35:35 +00:00
2018-05-21 16:03:51 +00:00
2018-03-19 22:43:27 +00:00
2018-05-09 18:51:35 +00:00
2018-04-08 16:34:10 +00:00
2018-05-18 17:58:09 +00:00
2018-05-19 02:17:18 +00:00
2018-05-19 03:49:36 +00:00
2018-04-17 16:36:53 +00:00
2018-05-19 05:00:16 +00:00
2018-04-27 15:16:34 +00:00
2018-05-16 09:01:02 +00:00
2018-05-22 07:20:22 +00:00
2018-05-19 05:00:16 +00:00
2018-05-19 04:04:44 +00:00
2018-05-18 20:13:34 +00:00
2018-05-19 05:14:05 +00:00
2018-05-10 13:19:42 +00:00
2018-04-06 17:35:35 +00:00
2018-04-06 17:35:35 +00:00
2018-05-09 18:47:24 +00:00
2018-05-19 03:48:35 +00:00
2018-03-21 01:17:01 +00:00
2018-04-05 20:31:45 +00:00
2018-03-21 01:17:01 +00:00
2018-04-06 17:35:35 +00:00
2018-05-19 03:56:39 +00:00
2018-04-06 17:35:35 +00:00
2018-04-06 17:35:35 +00:00
2018-04-06 17:35:35 +00:00
2018-05-19 04:48:26 +00:00
2018-05-19 04:48:26 +00:00
2018-03-27 15:20:03 +00:00
2018-04-06 17:35:35 +00:00
2018-04-24 19:55:12 +00:00
2018-05-19 04:10:53 +00:00
2018-05-09 18:47:24 +00:00
2018-05-19 03:49:36 +00:00
2018-04-24 19:55:12 +00:00
2018-05-09 18:47:24 +00:00
2018-05-20 21:37:34 +00:00
2018-05-09 18:47:24 +00:00
2018-05-19 04:59:39 +00:00
2018-05-19 04:08:11 +00:00
2018-05-13 09:47:28 +00:00
2018-05-20 04:45:05 +00:00
2018-05-04 20:54:27 +00:00
2018-05-19 04:59:39 +00:00
2018-05-04 20:54:27 +00:00
2018-03-21 14:46:54 +00:00
2018-05-19 04:59:39 +00:00
2018-05-20 05:13:12 +00:00
2018-03-24 13:13:52 +00:00