rwatson
fdcdf27f80
Revise locking strategy used for UNIX domain sockets in order to improve
...
concurrency:
- Add per-unpcb mutexes protecting unpcb connection state, fields, etc.
- Replace global UNP mutex with a global UNP rwlock, which will protect the
UNIX domain socket connection topology, v_socket, and be acquired
exclusively before acquiring more than per-unpcb at a time in order to
avoid lock order issues.
In performance measurements involving MySQL, this change has little or no
overhead on UP (+/- 1%), but leads to a significant (5%-30%) improvement in
multi-processor measurements using the sysbench and supersmack benchmarks.
Much testing by: kris
Approved by: re (kensmith)
2007-02-26 20:47:52 +00:00
..
2007-02-23 12:19:07 +00:00
2007-01-17 14:58:53 +00:00
2007-01-23 08:46:51 +00:00
2006-11-03 18:57:49 +00:00
2007-01-08 20:35:13 +00:00
2007-01-12 22:01:03 +00:00
2006-10-22 11:52:19 +00:00
2006-12-15 21:44:49 +00:00
2006-12-16 06:54:09 +00:00
2007-02-02 22:27:45 +00:00
2007-02-15 10:55:43 +00:00
2006-11-06 13:42:10 +00:00
2006-11-20 22:17:50 +00:00
2006-11-06 13:42:10 +00:00
2006-10-25 06:18:04 +00:00
2007-02-26 03:38:09 +00:00
2007-01-23 08:46:51 +00:00
2007-02-23 12:19:07 +00:00
2007-02-20 00:12:52 +00:00
2007-01-23 08:46:51 +00:00
2007-01-23 08:46:51 +00:00
2006-09-09 16:09:01 +00:00
2007-02-13 00:20:13 +00:00
2007-02-26 16:36:48 +00:00
2007-02-26 08:26:44 +00:00
2006-10-26 10:17:13 +00:00
2007-01-25 01:05:23 +00:00
2006-06-26 18:34:45 +00:00
2007-02-26 08:26:44 +00:00
2007-01-12 07:40:30 +00:00
2006-12-06 06:34:57 +00:00
2006-11-06 13:37:19 +00:00
2006-12-06 06:34:57 +00:00
2007-01-08 20:37:02 +00:00
2007-02-26 03:38:09 +00:00
2007-02-26 19:05:13 +00:00
2006-11-06 13:42:10 +00:00
2007-02-09 17:48:28 +00:00
2007-01-16 11:40:55 +00:00
2007-02-08 01:52:25 +00:00
2007-02-26 08:26:44 +00:00
2007-02-23 16:22:09 +00:00
2006-08-01 16:32:20 +00:00
2006-11-06 13:42:10 +00:00
2006-08-04 07:56:35 +00:00
2007-01-23 08:46:51 +00:00
2006-12-31 15:56:04 +00:00
2006-11-28 03:24:34 +00:00
2006-10-11 14:57:03 +00:00
2006-12-20 04:40:39 +00:00
2006-07-17 21:00:42 +00:00
2006-11-06 13:42:10 +00:00
2006-12-06 06:34:57 +00:00
2006-11-30 10:50:29 +00:00
2007-02-26 16:48:14 +00:00
2007-02-11 14:01:32 +00:00
2006-08-05 19:25:14 +00:00
2006-11-11 16:26:58 +00:00
2006-11-11 16:19:12 +00:00
2006-11-12 03:34:03 +00:00
2007-02-02 05:14:22 +00:00
2007-01-23 08:46:51 +00:00
2007-02-26 08:26:44 +00:00
2006-11-06 13:42:10 +00:00
2006-07-19 18:53:56 +00:00
2007-02-26 19:28:18 +00:00
2006-10-02 18:23:37 +00:00
2006-10-31 21:11:21 +00:00
2006-10-24 10:27:23 +00:00
2007-02-15 17:21:31 +00:00
2006-07-09 21:42:58 +00:00
2006-06-18 12:27:59 +00:00
2007-02-26 08:26:44 +00:00
2006-11-30 07:25:52 +00:00
2007-02-23 22:53:56 +00:00
2006-10-02 18:23:37 +00:00
2006-12-17 00:14:20 +00:00
2006-05-28 22:15:28 +00:00
2007-01-23 08:46:51 +00:00
2006-12-06 06:34:57 +00:00
2007-01-23 08:46:51 +00:00
2007-02-20 23:49:31 +00:00
2006-10-14 19:01:55 +00:00
2006-12-19 12:52:22 +00:00
2006-10-26 21:42:22 +00:00
2006-10-22 11:52:19 +00:00
2006-11-03 18:57:49 +00:00
2006-11-03 15:23:16 +00:00
2006-11-03 15:23:16 +00:00
2007-02-20 00:06:59 +00:00
2007-02-19 13:23:45 +00:00
2006-10-22 11:52:19 +00:00
2007-02-19 22:56:10 +00:00
2006-11-06 13:42:10 +00:00
2007-01-08 17:49:59 +00:00
2006-11-06 13:42:10 +00:00
2006-09-27 16:41:15 +00:00
2006-12-20 02:49:59 +00:00
2007-02-15 01:28:22 +00:00
2006-07-24 15:20:08 +00:00
2006-10-22 11:52:19 +00:00
2007-01-22 14:50:28 +00:00
2006-11-11 16:26:58 +00:00
2006-11-11 16:26:58 +00:00
2006-09-06 21:59:36 +00:00
2006-08-02 16:23:52 +00:00
2007-02-26 10:45:21 +00:00
2007-01-24 12:59:56 +00:00
2007-02-26 20:47:52 +00:00
2007-01-12 22:01:03 +00:00
2006-11-11 16:26:58 +00:00
2007-02-22 14:52:59 +00:00
2006-06-16 05:09:28 +00:00
2006-10-22 04:28:14 +00:00
2007-02-16 17:32:41 +00:00
2007-02-15 22:08:35 +00:00
2006-12-23 00:30:03 +00:00
2007-02-16 17:32:41 +00:00
2007-02-15 09:53:49 +00:00
2007-02-13 01:28:48 +00:00
2006-11-13 05:51:22 +00:00
2007-02-19 10:56:09 +00:00
2007-02-12 22:53:01 +00:00
2007-02-15 22:08:35 +00:00