Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1321630
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds |
| Date | 2016-01-29 11:20 +0100 |
| Message-ID | <qWejL-1ff-7@gated-at.bofh.it> (permalink) |
| References | <qVzJE-4Zj-9@gated-at.bofh.it> <qVX9g-5Ao-13@gated-at.bofh.it> <qVYRI-6R2-33@gated-at.bofh.it> <qVZXs-7BG-15@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, Jan 28, 2016 at 01:43:13PM -0500, Jan Stancek wrote: > > How long should I have to wait for a fail? > > It's about 1000-2000 iterations for me, which I think you covered > by now in those 2 hours. So I've been running: while ! ./pthread_cond_wait_1 ; do sleep 1; done overnight on the machine, and have yet to hit a wobbly -- that is, its still running. Also note that I don't think failing this test is a bug per se. Undesirable maybe, but within spec, since SIGALRM is process wide, so it being delivered to the SCHED_OTHER task is accepted, and SCHED_OTHER has no timeliness guarantees. That said; if I could reliably reproduce I'd have a go at fixing this, I suspect there's a 'fun' problem at the bottom of this.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds Jan Stancek <jstancek@redhat.com> - 2016-01-28 17:00 +0100
Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds Peter Zijlstra <peterz@infradead.org> - 2016-01-28 18:50 +0100
Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds Jan Stancek <jstancek@redhat.com> - 2016-01-28 20:00 +0100
Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds Peter Zijlstra <peterz@infradead.org> - 2016-01-29 11:20 +0100
Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds Jan Stancek <jstancek@redhat.com> - 2016-01-29 11:40 +0100
Re: [BUG] scheduler doesn't balance thread to idle cpu for 3 seconds Jan Stancek <jstancek@redhat.com> - 2016-02-08 14:50 +0100
csiph-web