strange getrusage timer problem with rt-kernel
I'm testing 2.6.26.6-rt11 (is that the latest?) kernel, using tiotest from tiobench
(http://sourceforge.net/projects/tiobench/), a classic multi-thread IO stress tool,
it reported a strange problem, with:
root:~/tiobench# time ./tiotest -R -d /dev/mapper/dg5-lv2 -t 1 -f 1000 -r 102400 tiotest: tiotest.c:609: add_timer: Assertion end_time->tv_sec >= start_time->tv_sec' failed.?
this problem never happened in mainstream kernels.
Regards,
--
Cheng Renquan, Shenzhen, China
Quoted 31 lines
From: [email protected]
To: [email protected]
Subject: strange getrusage timer problem with rt-kernelI'm testing 2.6.26.6-rt11 (is that the latest?) kernel, using tiotest from tiobench
(http://sourceforge.net/projects/tiobench/), a classic multi-thread IO stress tool,it reported a strange problem, with:
root:~/tiobench# time ./tiotest -R -d /dev/mapper/dg5-lv2 -t 1 -f 1000 -r 102400 tiotest: tiotest.c:609: add_timer: Assertion `end_time->tv_sec >= start_time->tv_sec' failed. Abortedreal8m35.086s
user0m2.080s
sys0m7.000sNot always, just few times, you can view the
tiotest.ccode from:
http://tiobench.cvs.sourceforge.net/viewvc/tiobench/tiobench/tiotest.c?revision=1.20&view=markupwhen
add_timercalled, it's passed with two timers, one before the io test, and the other is after the io tests, why the Assertion `end_time->tv_sec >=start_time->tv_sec' failed.?this problem never happened in mainstream kernels.
Regards,
--
Cheng Renquan, Shenzhen, ChinaEOF