Tweak the Kindle startup script.
Not a huge fan of negative nice values, you're screwed if it chokes @ 100% CPU on UP systems. Besides, AFAICT, neither awesome nor the Booklet thread runs at negative values.
This commit is contained in:
1 parent
788018cb4f
commit
94130bb994
1 file changed
+2
-2
+2
-2
@@ -62,9 +62,9 @@ if [ "$(nice)" == "5" ] ; then
|
||||
usleep 250000
|
||||
fi
|
||||
|
||||
# Kindlet threads spawn with a nice value of 5, we aim for the same -2 as the KF8 reader
|
||||
# Kindlet threads spawn with a nice value of 5, go back to a neutral value
|
||||
logmsg "Be nice!"
|
||||
renice -n -7 $$
|
||||
renice -n -5 $$
|
||||
fi
|
||||
|
||||
# we're always starting from our working directory
|
||||
|
||||
Reference in new issue
Block a user