LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Kernel (https://www.linuxquestions.org/questions/linux-kernel-70/)
-   -   Help, please.. experts (https://www.linuxquestions.org/questions/linux-kernel-70/help-please-experts-905368/)

bestyharis 09-28-2011 03:33 AM

Help, please.. experts
 
I need to modify the kernel scheduler code in 2.6.32 kernel. How can I evaluate the new kernel performance with reference to the actual 2.6.32 kernel? any tools?

sundialsvcs 09-28-2011 08:21 AM

:eek: You "need" to do what?! :eek:

bestyharis 09-28-2011 08:33 AM

reply..
 
Quote:

Originally Posted by sundialsvcs (Post 4484453)
:eek: You "need" to do what?! :eek:


I am trying to modify the redblack tree datastructure used in 2.6.24 and above kernels to some radix tree, for my university project. I dont have a proper guidance, and therefore stuck and dont know where to start. I dont know how to solve the dependencies if I change the datastructure. Anyone with suggestions??? please??

bsat 09-29-2011 12:28 AM

I don't think you will find a step by step guide to do that, you will have to understand the working of kernel and will need to have a little experience in kernel programming.
These books might help you get started
http://www.amazon.com/Linux-Kernel-D.../dp/0672329468
http://www.amazon.com/Understanding-...7274034&sr=1-1

syg00 09-29-2011 12:51 AM

This would be a duplicate - reported.

ISTR the last fella that something like that got very disillusioned with the whole kernel dev community. His latest effort is BFS - I'll let you track down what that means for yourselves ...

salasi 09-29-2011 04:31 AM

Quote:

Originally Posted by syg00 (Post 4485129)
This would be a duplicate - reported.

But this is the 'better' of the two - the other should be closed and merged into this.

Quote:

Originally Posted by syg00 (Post 4485129)
ISTR the last fella that something like that got very disillusioned with the whole kernel dev community. His latest effort is BFS - I'll let you track down what that means for yourselves ...

Con Kolivas, IIRQ. Good for a search, anyway...

@bestyharis
Quote:

How can I evaluate the new kernel performance with reference to the actual 2.6.32 kernel? any tools?
The OP is asking about tools to evaluate kernel performance. While I honestly have doubts whether that is what is required (or, maybe, all that is required) I'll have a go at it, anyway.
  • Define what constitutes performance. (memory usage, execution time, latency, power consumption, 'smooth' multitasking (however you measure that), task switching efficiency and processor utilisation in a queued task environment...)
  • Is it the case that certain applications are more important to you than others? The consideration on the desktop are probably quite different from the consideration running a LAMP stack, so you'd want to know if you have a restricted area of application.
  • Have a look at Phoronix. They have a test suite and look at what they do. I'm not suggesting that you copy them, but you can understand what they do and learn from them, and a subset of their test suite might be quite useful to you. Or not, potentially, depending on the answers to the previous questions.


All times are GMT -5. The time now is 10:57 PM.