This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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]

[RFC] Test time/tst-cpuclock1.c intermitent failures


The time/tst-cpuclock1.c test fails if running with a high "nice" value
and there are other loads competing for CPU.

First of all, I fail to understand the purpose of this test.  It seems
to me that it's a realtime test as It expects times that are reasonable
for realtime applications. Indeed it was moved from rt/ to time/.  So,
What is this testing?  And why was it moved to time/?

Following, In my attempted to fix it I tried to amortize the fail rate.
So, I tried running the sensible code multiple times and look for 70%
success rate.  However this completely failed as well.  In my first test
with some CPU load it failed.  I will appreciate suggestions of
solution.


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