forked from reverbrain/elliptics
-
Notifications
You must be signed in to change notification settings - Fork 9
Server configuration
Kirill Smorodinnikov edited this page Nov 7, 2017
·
2 revisions
Starting from v2.27.4.1 ioprio
for background threads like defrag, periodic etc. can be specified via backends' config section by two parameters:
-
bg_ioprio_class
- one of:-
0
—IOPRIO_CLASS_NONE
-
1
—IOPRIO_CLASS_RT
-
2
—IOPRIO_CLASS_BE
-
3
—IOPRIO_CLASS_IDLE
-
-
bg_ioprio_data
- priority level within class specified inbg_ioprio_class
For more details, please read http://man7.org/linux/man-pages/man2/ioprio_set.2.html
If bg_ioprio_*
parameters aren't specified, background threads will inherit them from dnet_ioserv
process.
NB! ioprio
will have no effect if underlying devices isn't configured with CFQ io scheduler