Testpack for testing scheduler, memory manager etc.
Posted: Sat Jan 26, 2008 8:30 am
I have an idea... (dont know if its good though.. )
Many of you probably would like to have a set of benchmars for how good your sheduler, memory manager etc is working.
I have developed a few test myself for my kernel. I was thinking maby.
What about developing a set of processes to be executed. Each task is defined with same inner loop code and os specific calls are created in MACRO's. So that you need to customize one .h file with macros for accessing the kernels functions and then just compile and start running.
Tests i would like to do:
- Scheduler time
- Task Priority
- Task Starvation
- Priority inheritence problems
- Syscall performance
- Memory allocation performance
All of these could be defined in loops and structures defined as a plain c code just calling of macros in the places needed.
Then after all tests a performance report could be created and we could compare..
Anyone want to join in on this creating some test?
-
Thomas
Many of you probably would like to have a set of benchmars for how good your sheduler, memory manager etc is working.
I have developed a few test myself for my kernel. I was thinking maby.
What about developing a set of processes to be executed. Each task is defined with same inner loop code and os specific calls are created in MACRO's. So that you need to customize one .h file with macros for accessing the kernels functions and then just compile and start running.
Tests i would like to do:
- Scheduler time
- Task Priority
- Task Starvation
- Priority inheritence problems
- Syscall performance
- Memory allocation performance
All of these could be defined in loops and structures defined as a plain c code just calling of macros in the places needed.
Then after all tests a performance report could be created and we could compare..
Anyone want to join in on this creating some test?
-
Thomas