Skip to content

Commit 048d059

Browse files
committed
docs: Clarify who dispatches I/O events in motorz PollersPerChild (bz 70105)
The existing wording used "a single child can...dispatch I/O events" which was ambiguous when the preceding paragraph already said pollers do the dispatching. Reword to make the subject explicit: each poller thread independently accepts and dispatches to the worker pool, so adding pollers parallelizes those operations within a child process. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1935433 13f79535-47bb-0310-9956-ffa450edef68
1 parent 2e49924 commit 048d059

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

‎docs/manual/mod/motorz.xml‎

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -235,9 +235,11 @@ LoadModule mpm_motorz_module modules/mod_mpm_motorz.so
235235
<p>The <directive>PollersPerChild</directive> directive sets the number of
236236
poller threads created in each child process. Each poller owns its own
237237
pollset, timer ring and connection-recycle list, and handles a shard of
238-
the child's connections, so adding pollers raises the rate at which a
239-
single child can accept connections and dispatch I/O events and timer
240-
expiries.</p>
238+
the child's connections. Because each poller thread independently
239+
accepts connections and dispatches ready I/O events and timer
240+
expiries to the worker pool, adding pollers raises the rate at which a
241+
single child process can handle these operations in parallel rather than
242+
serializing them on one poll thread.</p>
241243

242244
<p>A value of <code>0</code> (the default) means <em>auto</em>: the number
243245
of pollers is derived from the number of online CPUs, capped at a built-in

0 commit comments

Comments
 (0)