how to study process schedule
Hello Everyone I want to study process schedule.but i don't kown how to begin. and i like to write some kernel modules to learn more about kernel. if i want to write some modules about schedule.what i can write. Thanks a lot for your help! wanny -- ---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009 ----------------------------------------------------------------------------------------------
2012/5/26 王哲 <wangzhe5004@gmail.com>
Hello Everyone I want to study process schedule.but i don't kown how to begin. and i like to write some kernel modules to learn more about kernel. if i want to write some modules about schedule.what i can write.
Thanks a lot for your help! wanny
--
---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009
----------------------------------------------------------------------------------------------
Hi, WANG Zhe, You may want to make some modification on kernel's schedule, like scheduling `idle` even if there are actually some works to do. So you can make your system slow down a bit. Regards, LIU Zhiyou
2012/5/26 刘智猷 <liuzhiyou.cs@gmail.com>
2012/5/26 王哲 <wangzhe5004@gmail.com>
Hello Everyone I want to study process schedule.but i don't kown how to begin. and i like to write some kernel modules to learn more about kernel. if i want to write some modules about schedule.what i can write.
Thanks a lot for your help! wanny
--
---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009
----------------------------------------------------------------------------------------------
Hi, WANG Zhe,
You may want to make some modification on kernel's schedule, like scheduling `idle` even if there are actually some works to do. So you can make your system slow down a bit.
hello,liuzhiyou First thank you for quick reply. Have you ever accomplished the idea you mentioned above? i kown schedule a little.can you describe the idea in detail. 顺便说下,你应该是中国的吧,我英语不是很好就想用汉语和你聊聊。你上面说的是修改schedule函数,让其有任务的时候去调度'idle', 然后把内核重新编译和安装后,就会发现系统变的有些慢。你上面说的是这个意思吗? 这样你应该实验过。你能不能把如何修改schedule 函数说的更详细点。
Regards, LIU Zhiyou
-- ---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009 ----------------------------------------------------------------------------------------------
Hello, Please ensure you use English as a method of communication when you are sending mail to the list. Thank you. On 26 May 2012 17:42, 王哲 <wangzhe5004@gmail.com> wrote:
2012/5/26 刘智猷 <liuzhiyou.cs@gmail.com>
2012/5/26 王哲 <wangzhe5004@gmail.com>
Hello Everyone I want to study process schedule.but i don't kown how to begin. and i like to write some kernel modules to learn more about kernel. if i want to write some modules about schedule.what i can write.
Thanks a lot for your help! wanny
--
---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009
----------------------------------------------------------------------------------------------
Hi, WANG Zhe,
You may want to make some modification on kernel's schedule, like scheduling `idle` even if there are actually some works to do. So you can make your system slow down a bit.
hello,liuzhiyou
First thank you for quick reply. Have you ever accomplished the idea you mentioned above? i kown schedule a little.can you describe the idea in detail. 顺便说下,你应该是中国的吧,我英语不是很好就想用汉语和你聊聊。你上面说的是修改schedule函数,让其有任务的时候去调度'idle', 然后把内核重新编译和安装后,就会发现系统变的有些慢。你上面说的是这个意思吗? 这样你应该实验过。你能不能把如何修改schedule 函数说的更详细点。
Regards, LIU Zhiyou
-- ---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009 ----------------------------------------------------------------------------------------------
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
2012/5/26 Sarbojit Ganguly <unixman.linuxboy@gmail.com>
Hello,
Please ensure you use English as a method of communication when you are sending mail to the list.
I am so sorry for that. I kown it.
Thank you.
On 26 May 2012 17:42, 王哲 <wangzhe5004@gmail.com> wrote:
2012/5/26 刘智猷 <liuzhiyou.cs@gmail.com>
2012/5/26 王哲 <wangzhe5004@gmail.com>
Hello Everyone I want to study process schedule.but i don't kown how to begin. and i like to write some kernel modules to learn more about kernel. if i want to write some modules about schedule.what i can write.
Thanks a lot for your help! wanny
--
----------------------------------------------------------------------------------------------
WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009
Hi, WANG Zhe,
You may want to make some modification on kernel's schedule, like scheduling `idle` even if there are actually some works to do. So you
can
make your system slow down a bit.
hello,liuzhiyou
First thank you for quick reply. Have you ever accomplished the idea you mentioned above? i kown schedule a little.can you describe the idea in detail. 顺便说下,你应该是中国的吧,我英语不是很好就想用汉语和你聊聊。你上面说的是修改schedule函数,让其有任务的时候去调度'idle', 然后把内核重新编译和安装后,就会发现系统变的有些慢。你上面说的是这个意思吗? 这样你应该实验过。你能不能把如何修改schedule 函数说的更详细点。
Regards, LIU Zhiyou
--
----------------------------------------------------------------------------------------------
WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009
----------------------------------------------------------------------------------------------
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- ---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009 ----------------------------------------------------------------------------------------------
Generally, to learn linux kernel: a. read a lot and google a lot: https://www.google.com.sg/search?sourceid=chrome&ie=UTF-8&q=linux+kernel+pro... b. try to do some kernel-related tracing: strace, stap, and ftrace. learning how to read the trace really give a c. generally compiling the kernel and writing kernel module should come later - not for the faint-hearted, and when u crash your program, u either crashed your entire OS, or cannot bootup using the new kernel image. Best is to all these inside a virtual machine (like VirtualBox). just some readings: http://kernel.org/pub/linux/kernel/people/jwessel/dbg_webinar/kernel_debuggi... http://kernel.org/pub/linux/kernel/people/jwessel/dbg_webinar/State_Of_kerne... https://kgdb.wiki.kernel.org/index.php/Main_Page#KGDB_Development On Sat, May 26, 2012 at 10:20 AM, 王哲 <wangzhe5004@gmail.com> wrote:
Hello Everyone I want to study process schedule.but i don't kown how to begin. and i like to write some kernel modules to learn more about kernel. if i want to write some modules about schedule.what i can write.
Thanks a lot for your help! wanny
-- ---------------------------------------------------------------------------------------------- WangZhe Xi'an Shanxi CHINA qq 785924174 blog blog.163.com/zhe_wang_2009 ----------------------------------------------------------------------------------------------
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Regards, Peter Teoh
participants (4)
-
Peter Teoh -
Sarbojit Ganguly -
刘智猷 -
王哲