deft icon indicating copy to clipboard operation
deft copied to clipboard

Thread priorities

Open rschildmeijer opened this issue 14 years ago • 1 comments

Its possible to lower the priority (nice level) of a thread without beeing root (thanks to a bug in suns jvm implementation, http://tech.stolsvik.com/2010/01/linux-java-thread-priorities-workaround.html)

Unfortunately its not possible to raise the priority with this "hack". But it would still be interesting so see if we can detect any performance differences when changing the io loops thread priority (to java.lang.Thread.MAX_PRIORITY)

rschildmeijer avatar Sep 17 '10 10:09 rschildmeijer

-XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42

(idea from CASSANDRA-1181)

rschildmeijer avatar Sep 20 '10 15:09 rschildmeijer