Is it possible on Linux kernel 3.0+ to increase thread’s quantum from user-mode? How?
Is it possible on Linux kernel 3.0+ to increase thread’s quantum from user-mode? How?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I doubt it’s possible. I quickly found this page ( http://www.javamex.com/tutorials/threads/thread_scheduling_2.shtml ) which suggests that a thread’s quanta length is variable anyway, and subject to many attributes of the execution environment.
I suppose if you really needed to it should be possible to write a kernel module that alters it, but then you’re entering painful territory.
What are you doing that needs longer quanta lengths anyway? Maybe there’s an alternative approach.