Konstantin Belousov
daee0f0b0b
Schedule garbage collection run for the in-flight rights passed over
...
the unix domain sockets to the next tick, coalescing the serial calls
until the collection fires. The thought is that more work for the
collector could arise in the near time, allowing to clean more and not
spend too much CPU on repeated collection when there is no garbage.
Currently the collection task is fired immediately upon unix domain
socket close if there are any rights in flight, which caused excessive
CPU usage and too long blocking of the threads waiting for
unp_list_lock and unp_link_rwlock in write mode.
Robert noted that it would be nice if we could find some heuristic by
which we decide whether to run GC a bit more quickly. E.g., if the
number of UNIX domain sockets is close to its resource limit, but not
quite.
Reported and tested by: Markus Gebert <markus.gebert@hostpoint.ch>
Reviewed by: rwatson
MFC after: 2 weeks
2012-11-20 15:45:48 +00:00
..
2012-08-21 18:13:09 +00:00
2012-05-31 19:32:37 +00:00
2012-08-15 15:42:57 +00:00
2012-09-25 19:16:28 +00:00
2012-07-22 13:41:45 +00:00
2012-10-22 17:50:54 +00:00
2012-06-28 07:33:43 +00:00
2011-03-06 22:59:30 +00:00
2012-08-16 13:01:56 +00:00
2012-11-13 12:53:41 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-05-15 01:30:25 +00:00
2012-10-10 19:46:46 +00:00
2012-09-13 22:26:22 +00:00
2012-08-28 19:30:29 +00:00
2012-10-06 19:50:23 +00:00
2011-09-16 13:58:51 +00:00
2012-03-10 18:56:16 +00:00
2012-08-30 21:22:47 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2011-11-07 06:44:47 +00:00
2012-08-14 19:16:30 +00:00
2011-11-07 15:43:11 +00:00
2012-07-13 13:24:33 +00:00
2012-11-02 13:56:36 +00:00
2012-11-16 06:32:38 +00:00
2011-11-07 06:44:47 +00:00
2011-12-01 07:19:13 +00:00
2012-09-08 18:27:11 +00:00
2012-10-22 17:50:54 +00:00
2011-04-13 11:28:46 +00:00
2011-05-31 15:11:43 +00:00
2012-09-25 14:55:46 +00:00
2012-10-22 17:50:54 +00:00
2011-04-12 08:13:18 +00:00
2012-05-26 20:03:47 +00:00
2012-11-15 00:51:57 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-09-12 22:10:53 +00:00
2011-11-07 06:44:47 +00:00
2011-09-16 13:58:51 +00:00
2012-11-08 08:10:32 +00:00
2012-11-10 02:08:40 +00:00
2012-08-16 13:04:21 +00:00
2012-08-22 20:01:57 +00:00
2012-10-31 13:38:56 +00:00
2012-08-16 02:35:44 +00:00
2010-11-25 20:05:11 +00:00
2012-03-28 20:58:30 +00:00
2011-11-07 15:43:11 +00:00
2012-11-16 08:25:06 +00:00
2012-11-14 10:33:12 +00:00
2012-11-15 15:55:49 +00:00
2012-05-30 16:06:38 +00:00
2012-10-26 16:01:08 +00:00
2012-01-22 20:25:00 +00:00
2012-10-09 14:32:30 +00:00
2012-11-03 15:57:37 +00:00
2012-03-27 15:07:43 +00:00
2012-06-23 10:15:23 +00:00
2012-11-02 18:57:38 +00:00
2012-10-22 17:50:54 +00:00
2011-12-04 21:27:41 +00:00
2012-09-13 22:26:22 +00:00
2012-05-15 01:30:25 +00:00
2010-10-21 20:31:50 +00:00
2012-03-22 04:52:51 +00:00
2012-07-16 20:17:19 +00:00
2012-05-26 20:03:47 +00:00
2012-09-26 09:25:11 +00:00
2012-08-17 02:26:31 +00:00
2012-10-31 18:07:18 +00:00
2012-10-27 23:42:41 +00:00
2012-01-05 19:00:36 +00:00
2012-08-10 18:19:57 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-10-18 12:04:56 +00:00
2011-03-01 13:28:27 +00:00
2011-11-21 01:26:10 +00:00
2011-09-16 13:58:51 +00:00
2011-07-17 23:05:24 +00:00
2012-10-26 16:01:08 +00:00
2012-11-15 14:10:51 +00:00
2012-04-17 14:54:00 +00:00
2012-03-13 20:27:48 +00:00
2011-01-06 22:09:37 +00:00
2011-12-03 15:41:37 +00:00
2012-10-02 03:33:41 +00:00
2011-01-09 14:34:56 +00:00
2012-07-11 18:50:50 +00:00
2012-06-22 07:06:40 +00:00
2012-06-25 05:41:16 +00:00
2012-01-23 16:31:46 +00:00
2012-09-04 23:16:55 +00:00
2012-04-12 17:43:59 +00:00
2011-11-15 20:11:03 +00:00
2012-11-15 00:51:57 +00:00
2012-02-01 14:34:52 +00:00
2012-02-06 06:03:16 +00:00
2011-02-09 19:08:21 +00:00
2012-03-19 00:36:32 +00:00
2012-11-10 02:08:40 +00:00
2011-11-07 06:44:47 +00:00
2011-10-16 14:16:46 +00:00
2011-11-07 15:43:11 +00:00
2012-05-31 17:27:05 +00:00
2011-11-19 14:10:16 +00:00
2011-08-19 08:29:10 +00:00
2012-01-26 16:35:09 +00:00
2012-09-12 22:05:54 +00:00
2012-11-15 00:51:57 +00:00
2011-11-16 19:06:55 +00:00
2012-09-08 18:35:15 +00:00
2012-11-20 15:33:48 +00:00
2012-10-30 15:10:50 +00:00
2012-09-12 22:10:53 +00:00
2012-10-23 14:19:44 +00:00
2012-09-14 21:28:56 +00:00
2012-08-29 16:56:50 +00:00
2012-06-10 20:22:10 +00:00
2012-10-18 12:04:56 +00:00
2012-07-31 05:48:35 +00:00
2012-11-13 12:52:31 +00:00
2012-10-22 17:50:54 +00:00
2011-08-16 20:07:47 +00:00
2012-11-13 12:53:41 +00:00
2012-11-13 12:52:31 +00:00
2012-11-13 12:53:41 +00:00
2011-09-16 13:58:51 +00:00
2011-09-16 13:58:51 +00:00
2012-02-19 00:28:49 +00:00
2012-02-06 18:15:46 +00:00
2012-01-02 12:12:10 +00:00
2011-06-26 18:26:20 +00:00
2012-11-18 15:48:34 +00:00
2011-01-04 10:59:38 +00:00
2012-10-25 09:05:21 +00:00
2012-11-07 07:00:59 +00:00
2011-02-25 10:11:01 +00:00
2012-10-19 10:15:32 +00:00
2012-10-29 10:04:28 +00:00
2012-11-09 18:02:25 +00:00
2011-09-16 13:58:51 +00:00
2012-04-01 18:22:48 +00:00
2011-12-13 00:38:50 +00:00
2012-10-29 12:31:12 +00:00
2012-10-22 17:50:54 +00:00
2012-11-20 15:45:48 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-08-15 22:12:01 +00:00
2012-11-02 13:56:36 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-10-22 17:50:54 +00:00
2012-11-19 20:43:19 +00:00
2012-10-22 21:14:26 +00:00
2012-11-02 13:56:36 +00:00
2012-11-19 11:32:56 +00:00