I used a modified version of the ThreadSchedulerTest.cpp that kills the initial timeout. And a dd to simulate high IO loads.
First hypothesis seesm to be broken. High IO loads does not seem affect processing much.
------------------------------------------------------------------
./kernel-test.sh
Using current dir to do IO tests
First Test: How much gets to run the CPU intensive task?
We have Burning CPU with 3362
min:0.008ms|avg:0.010-0.011ms|mid:0.000ms|max:0.000ms|duration:19.791s
Break!
We have Burning CPU with 4855
min:0.006ms|avg:0.010-0.011ms|mid:0.000ms|max:0.000ms|duration:18.754s
Second Test: Does the process queue get blocked because high IO?
Starting
We have High IO PID 6211
We have Burning CPU with 6212
min:0.007ms|avg:0.010-0.011ms|mid:0.000ms|max:0.000ms|duration:20.265s
DD Finished
--- Finish ---
Kernel tested: 2.6.28.7-level2crm i686
Results says that it takes 2 segs more to complete (Is this relevant for a process that takes ~18-19s to complete).
A curious thing is that I observed no IO Wait was present while doing processing in test 2. Only system processor time.
This also seem to be strange as it should be 100% USER time. System time (correct me if I'm wrong) means that OS is taking lot of time doing scheduling of the threads...
Anyway, I will try to reproduce high iowait times before starting the CPU intensive program to see if we are right.
I will post the test suite in bash. Feel free to add more tests.
Ok. Here are my firsts tests with 2.6.28.7:
I used a modified version of the ThreadScheduler Test.cpp that kills the initial timeout. And a dd to simulate high IO loads.
First hypothesis seesm to be broken. High IO loads does not seem affect processing much.
------- ------- ------- ------- ------- ------- ------- ------- ------- --- avg:0.010- 0.011ms| mid:0.000ms| max:0.000ms| duration: 19.791s avg:0.010- 0.011ms| mid:0.000ms| max:0.000ms| duration: 18.754s avg:0.010- 0.011ms| mid:0.000ms| max:0.000ms| duration: 20.265s
./kernel-test.sh
Using current dir to do IO tests
First Test: How much gets to run the CPU intensive task?
We have Burning CPU with 3362
min:0.008ms|
Break!
We have Burning CPU with 4855
min:0.006ms|
Second Test: Does the process queue get blocked because high IO?
Starting
We have High IO PID 6211
We have Burning CPU with 6212
min:0.007ms|
DD Finished
--- Finish ---
Kernel tested: 2.6.28.7-level2crm i686
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- -
Results says that it takes 2 segs more to complete (Is this relevant for a process that takes ~18-19s to complete).
A curious thing is that I observed no IO Wait was present while doing processing in test 2. Only system processor time.
This also seem to be strange as it should be 100% USER time. System time (correct me if I'm wrong) means that OS is taking lot of time doing scheduling of the threads...
Anyway, I will try to reproduce high iowait times before starting the CPU intensive program to see if we are right.
I will post the test suite in bash. Feel free to add more tests.