X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fthreads.texi;h=c9094bc2d073ddd5642aad218fc82465ecabdc5c;hb=9f013d0930202eea99c21083b71098a0df64be0d;hp=5a18ec49d9fa2a59b88710121204d7adc63a4833;hpb=bffccc54acc0560186b8c38bc4a66897de5158eb;p=pintos-anon diff --git a/doc/threads.texi b/doc/threads.texi index 5a18ec4..c9094bc 100644 --- a/doc/threads.texi +++ b/doc/threads.texi @@ -643,6 +643,18 @@ to cause many of the tests to fail. @xref{Testing}. +@item Should I try running the tests with jitter? + +Using the jitter feature in Bochs (@pxref{Debugging versus Testing}) +is a great way to discover bugs that are timing dependent. However, +the following tests are known to +fail with jitter even if your code is correct: @code{alarm-priority}, +@code{alarm-simultaneous}, +@code{mlfqs-recent-1}, @code{mlfqs-fair-2}, @code{mlfqs-fair-20}, +@code{mlfqs-nice-2}, @code{mlfqs-nice-10}, and @code{priority-fifo}. +The behavior of these tests can sometimes vary based on timing (e.g., +if a timer interrupt arrives at an inconvenient time). + @item Why do I get a test failure in @func{pass}? @anchor{The pass function fails}