comp.lang.ada
 help / color / mirror / Atom feed
From: Lutz Donnerhacke <lutz@iks-jena.de>
Subject: Re: High CPU in tasking
Date: Mon, 28 Jun 2004 08:17:49 +0000 (UTC)
Date: 2004-06-28T08:17:49+00:00	[thread overview]
Message-ID: <slrncdvl1d.nt.lutz@taranis.iks-jena.de> (raw)
In-Reply-To: 5ad0dd8a.0406260001.1d4917b6@posting.google.com

* Wojtek Narczynski wrote:
>> Debugging turned out:
>>   - Every writing to the ringbuffer wakes up all reader tasks.
>
> This sounds like the "thundering herd" problem linux used to have with
> acccept call. This has been fixed, so maybe in this case the problem
> should be reported and eventually fixed, or is it required to wake em
> all for some reason?

No, there is no "thundering herd" problem. Because written data is processed
by all reader tasks, every waked task has work to do.

I only point to the ARM requried behavior of a protected task.



      reply	other threads:[~2004-06-28  8:17 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-24 15:43 High CPU in tasking Lutz Donnerhacke
2004-06-24 17:00 ` Nick Roberts
2004-06-24 20:25   ` Lutz Donnerhacke
2004-06-24 21:56     ` Nick Roberts
2004-06-25  7:34       ` Lutz Donnerhacke
2004-06-25 17:03         ` Nick Roberts
2004-06-28  8:32           ` Lutz Donnerhacke
2004-06-29 17:26             ` Nick Roberts
2004-06-30 12:26               ` Lutz Donnerhacke
2004-06-30 23:39                 ` Randy Brukardt
2004-07-01  7:02                   ` Lutz Donnerhacke
2004-06-25 21:15 ` Mark Lorenzen
2004-06-26  8:01 ` Wojtek Narczynski
2004-06-28  8:17   ` Lutz Donnerhacke [this message]
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox