diff options
author | Eric Wong <e@80x24.org> | 2016-02-21 07:03:57 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2016-02-21 07:14:53 +0000 |
commit | c3b628c5446853e9c16d7f8ebffd6a48343bab33 (patch) | |
tree | da7b63976021852d81549bfb22db4c5a416d0f73 /Documentation/yahns_config.pod | |
parent | ac7503210f55272e0d841a754a991fa96d665a46 (diff) | |
download | yahns-c3b628c5446853e9c16d7f8ebffd6a48343bab33.tar.gz |
epoll and kqueue are similar and we use them in a similar way; so mention kqueue alongside epoll for users who may already be familiar with kqueue on *BSD but not epoll under Linux. epoll is a queue, too!
Diffstat (limited to 'Documentation/yahns_config.pod')
-rw-r--r-- | Documentation/yahns_config.pod | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Documentation/yahns_config.pod b/Documentation/yahns_config.pod index cc1ea71..3b1f2e4 100644 --- a/Documentation/yahns_config.pod +++ b/Documentation/yahns_config.pod @@ -110,7 +110,7 @@ be given without a block to associate an app block with a named queue. Usually, only one queue is necessary. Each queue corresponds to -an epoll descriptor and worker thread pool. +an epoll or kqueue descriptor and worker thread pool. Default: NAME defaults to :default @@ -161,9 +161,10 @@ Default: / if daemonized, current working directory if not =item max_events INTEGER This controls the number of events a worker thread will fetch at -once via L<epoll_wait(2)>. There is no good reason to change this +once via L<epoll_wait(2)> or L<kevent(2)>. +There is no good reason to change this unless you use very few (e.g. 1) worker_threads. Leaving this at -1 will give the fairest load balancing behavior with epoll. +1 will give the fairest load balancing behavior with epoll or kqueue. Default: 1 |