<poll>
Defines the polling behaviour of an I/O thread.
Text content
None.Selected attributes
- max
- Specifies the maximum time (in nanoseconds) that the I/O thread is allowed to poll before it stops and blocks.
- grow
- Controls how quickly the polling interval increases when polling is effective. A higher value results in faster duration increases.
- shrink
- Controls how quickly the polling interval decreases when polling is not effective. A higher value results in faster duration reductions.
- weight=[0-63]
- Specifies the weight (valid range=0-63, where
weight="0"uses the default value of 3) of how recent I/O activity influences polling intervals to balance CPU efficiency and I/O performance. Lower values increase the weight of recent I/O activity which results in faster adaptations. The default value is 3.
Usage
Configuring I/O thread polling parametersParent elements
<iothread>Child elements
None.Example
<iothread id="1">
<poll max="32768" grow="2" shrink="2" weight="3"/>
</iothread>