This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to add timeout to Ada tests on Linux/ia64?


On Thu, 2004-03-25 at 21:16, Chris Proctor wrote:
> On Thu, Mar 25, 2004 at 01:43:46PM +0100, Arnaud Charlet wrote:
> > > I tried 0.01 but still basicly got the same intermittant failures.
> > 
> > Please tell us which failures you're seeing, because we're discussing
> > in the dark otherwise.
> > 
> > Arno
> 
> I believe from memory the main test I was seeing problems with
> was C954025.  This test has delays of 0.5, 1.0 and 2.0 seconds.
> When these are multiplied by 0.001 the resultant delays become
> much less that the HZ(100) scheduling of a loaded Linux machine.

Funny I never see this one failing but it tests order of
operations and delays and can deadlock in some cases,eg: 

main: Launch_Control.Enable_Launch_Control;
Launch_Control:Enable_Launch_Control
main:Mission_Control.Do_Launch;
Mission_Control:Launch_Control.Start_Countdown
Launch_Control:Start_Countdown, delay too small, select on null, loop back to top 
Mission_Control:requeue hangs

I guess it's more visible on loaded multiprocessors.

So it's safer to remove all Impdef.One_Second
for this test and document why. Arnaud, do you agree with my
analysis?

Laurent



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]