Skip to contentSkip to conversation

strange getrusage timer problem with rt-kernel

DISCUSSION [email protected] 1 participant 2 messages Nov 26, 2008

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw
Quoted 31 lines

From: [email protected]
To: [email protected]
Subject: 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.
Aborted

real8m35.086s
user0m2.080s
sys0m7.000s

Not always, just few times, you can view the tiotest.c code from:
http://tiobench.cvs.sourceforge.net/viewvc/tiobench/tiobench/tiotest.c?revision=1.20&view=markup

when add_timer called, 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, China

EOF