> -----Original Message----- > From: Jan Stancek [mailto:[email protected]] > Sent: Friday, October 11, 2013 6:35 PM > To: Zeng Linggang > Cc: [email protected] > Subject: Re: [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = 1 -> > factor_nr = 5 > > > > > > ----- Original Message ----- > > From: "Zeng Linggang" <[email protected]> > > To: "Jan Stancek" <[email protected]> > > Cc: [email protected] > > Sent: Friday, 11 October, 2013 12:19:19 PM > > Subject: RE: [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = 1 -> > factor_nr = 5 > > > > > > > > > -----Original Message----- > > > From: 曾令钢 [mailto:[email protected]] > > > Sent: Thursday, October 10, 2013 4:16 PM > > > To: 'Jan Stancek' > > > Cc: '[email protected]' > > > Subject: 答复: [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = > > > 1 -> factor_nr = 5 > > > > > > > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "曾令钢" <[email protected]> > > > > > To: [email protected] > > > > > Sent: Thursday, 10 October, 2013 7:56:05 AM > > > > > Subject: [LTP] [PATCH] getrusage/getrusage04.c: Fix factor_nr = > > > > > 1 -> > > > > factor_nr = 5 > > > > > > > > > > To make udelta or sdelta's values isnot great than expected, we > > > > > change the factor_nr to 5. > > > > > > > > Note, that there is already a parameter -m to set factor_nr. > > > > > > > > Can you share more details why this should be the default? > > > > On which system/architecture do you see it failing? > > > > > > Yes. We have some problems in RHEL5.10GA. > > > It could not work as we expected. And I will be more careful. > > > Thanks. > > > > > > > Maybe the case is not suit for xen kernel. > > When kernel is vmlinuz-2.6.18-371.el5xen, the case will fail. > > But with vmlinuz-2.6.18-371.el5, it works well. > > Can you send the output from failed run?
<<<test_start>>> tag=getrusage04 stime=1381285379 cmdline="getrusage04" contacts="" analysis=exit <<<test_output>>> getrusage04 0 TINFO : CLOCK_REALTIME_COARSE not supported, using 4000 us getrusage04 0 TINFO : Using 1 as multiply factor for max [us]time increment (1000+4000us)! getrusage04 0 TINFO : utime: 0us; stime: 4000us getrusage04 0 TINFO : utime: 0us; stime: 16001us getrusage04 1 TFAIL : stime increased > 5000us: <<<execution_status>>> initiation_status="ok" duration=0 termination_type=exited termination_id=1 corefile=no cutime=0 cstime=2 <<<test_end>>> Regards, Zeng > > > > > > Regards, > > Zeng > > > > > > > > > > Regards, > > > > Jan > > > > > > > > > > > > > > Signed-off-by: Zeng Linggang <[email protected]> > > > > > --- > > > > > testcases/kernel/syscalls/getrusage/getrusage04.c | 2 +- > > > > > 1 files changed, 1 insertions(+), 1 deletions(-) > > > > > > > > > > diff --git a/testcases/kernel/syscalls/getrusage/getrusage04.c > > > > > b/testcases/kernel/syscalls/getrusage/getrusage04.c > > > > > index 96e24a4..41d0052 100644 > > > > > --- a/testcases/kernel/syscalls/getrusage/getrusage04.c > > > > > +++ b/testcases/kernel/syscalls/getrusage/getrusage04.c > > > > > @@ -67,7 +67,7 @@ static long BIAS_MAX; > > > > > > > > > > static int opt_factor; > > > > > static char *factor_str; > > > > > -static long factor_nr = 1; > > > > > +static long factor_nr = 5; > > > > > > > > > > option_t child_options[] = { > > > > > {"m:", &opt_factor, &factor_str}, > > > > > -- > > > > > 1.7.1 > > > > > > > > > > > > > > > > > > > > > > > > > ---------------------------------------------------------------- > > > > > ---- > > > > > -- > > > > > -------- October Webinars: Code for Performance Free Intel > > > > > webinars can help you accelerate application performance. > > > > > Explore tips for MPI, OpenMP, advanced profiling, and more. Get > > > > > the most from the latest Intel processors and coprocessors. See > > > > > abstracts and register > > > > > > > > > > > > > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg > > > .c > > > > > lktrk _______________________________________________ > > > > > Ltp-list mailing list > > > > > [email protected] > > > > > https://lists.sourceforge.net/lists/listinfo/ltp-list > > > > > > > > > > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
