From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,3e3949298ed3b36 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news2.google.com!proxad.net!213.200.89.82.MISMATCH!tiscali!newsfeed1.ip.tiscali.net!feed.news.tiscali.de!newsfeed.vmunix.org!news-FFM2.ecrc.net!news.iks-jena.de!not-for-mail From: Lutz Donnerhacke Newsgroups: comp.lang.ada Subject: Re: High CPU in tasking Date: Mon, 28 Jun 2004 08:17:49 +0000 (UTC) Organization: IKS GmbH Jena Message-ID: References: <5ad0dd8a.0406260001.1d4917b6@posting.google.com> NNTP-Posting-Host: taranis.iks-jena.de X-Trace: branwen.iks-jena.de 1088410669 10947 217.17.192.37 (28 Jun 2004 08:17:49 GMT) X-Complaints-To: usenet@iks-jena.de NNTP-Posting-Date: Mon, 28 Jun 2004 08:17:49 +0000 (UTC) User-Agent: slrn/0.9.8.0 (Linux) Xref: g2news1.google.com comp.lang.ada:1963 Date: 2004-06-28T08:17:49+00:00 List-Id: * 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.