Replies: 1 comment 3 replies
-
This is explained in the video. Do let me know if something specific you didn't understand, I will try to explain it better.
Priorities are brought in to give responsive user experience. So FOPs like LOOKUP/STAT etc get HIGH priority.
At the moment fop priorities are defined in the source file. So if you want to change them, you will have to modify source and re-compile and build new packages for yourself.
Once the FOP comes to io-threads, they will get priority. Until then they won't have any priority.
iot_worker is the function each io-thread executes. This is a thread-pool implementation. Roughly this is the work:
If you want self-heal, rebalance to work similar to any other clients, you can disable it. At the moment user/application I/O is given more priority than the internal client I/O.
|
Beta Was this translation helpful? Give feedback.
-
hi , I saw the video dev-session 8 , there were some questions about
io-threads
how does the
io-thread priority
works ? I don't know why we should consider the fop priority and Can we change the fop priority ? I found that the code set the pri in conf , but when we create the thread, Will tasks be created first based on priority ?I don't know the
iot_worker
, what is this and how does it work ? In code function , it has a conf paramidle_time
, it is contained in paramenable-least-priority
, I don't know how to use this param .thanks
Beta Was this translation helpful? Give feedback.
All reactions