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,7840ada5c7a0804 X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news4.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Brian Drummond Newsgroups: comp.lang.ada Subject: Re: ANN: Storage pool for Ada 2005 with bindings to Apache Runtime Pools library Date: Thu, 24 Mar 2011 15:59:48 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 24 Mar 2011 15:59:48 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="2/MJJb8Mjlq+ZnctuvE2xg"; logging-data="30113"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX191ZasbL3kbv9KH9MhkXTG3lkOwxpCJ8A0=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:RqcRO0cRd36LQTs2W5WZr2TWNqo= Xref: g2news2.google.com comp.lang.ada:19399 Date: 2011-03-24T15:59:48+00:00 List-Id: On Thu, 24 Mar 2011 08:00:04 -0600, Brad Moore wrote: > This is the initial release of a storage pool for Ada 2005 called > Deepend, that binds to the Apache Runtime Pools library. > > The latest stable release and older releases may be downloaded from; > > https://sourceforge.net/projects/deepend/files/ Excellent! > Low-level Bindings to the Apache Runtime Pools library were recently > used for a submission to the Computer Language Benchmarks game, binary > tree benchmark, and moved Ada into the number 2 spot behind C. On my > machine, the Ada version actually runs 10% faster than the C version, > but for some reason the benchmark has C ahead of Ada. It may be that the > number of worker threads isn't tuned correctly for the benchmark > hardware, or compiler version differences, or other differences related > to the target platform. Great work, and certainly blows the doors off my puny efforts! You may be right about tuning the number of threads; on my (AMD Phenom) system, my version (#3) gave the same runtime for 4 or 8 tasks, but on the test system (Intel Q6600) 8 tasks was about 10% slower than 4. (The memory footprint was doubled, suggesting memory or cache limitations on the Intel system). It may be worth posting the Deepend version - either there, or is there a place on Rosetta for it? - as a demonstration of the flexibility of Ada's storage pools. - Brian