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,27eba2f78fbdcc60 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!stamper.news.atl.earthlink.net!newsread3.news.atl.earthlink.net.POSTED!d9c68f36!not-for-mail From: Marin David Condic User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Gnat 3.15p & Windows & Hyperthreading Q References: <1IOdnWpX0_s6MdnfRVn-3A@comcast.com> In-Reply-To: <1IOdnWpX0_s6MdnfRVn-3A@comcast.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 26 Mar 2005 13:53:27 GMT NNTP-Posting-Host: 209.165.14.84 X-Complaints-To: abuse@earthlink.net X-Trace: newsread3.news.atl.earthlink.net 1111845207 209.165.14.84 (Sat, 26 Mar 2005 05:53:27 PST) NNTP-Posting-Date: Sat, 26 Mar 2005 05:53:27 PST Organization: EarthLink Inc. -- http://www.EarthLink.net Xref: g2news1.google.com comp.lang.ada:10025 Date: 2005-03-26T13:53:27+00:00 List-Id: That seems strange. In the first case, is it a SINGLE processor machine? Or is it the same dual processor 400mhz Celeron in both cases? Depending on what exactly is in the tasks in question, it would be hard to imagine not seeing some improvement going multitasking with multiprocessors. (Task overhead shouldn't be THAT bad.) When dealing with the underlying OS, there might be lots of possible problems that might lock the process to a single processor & account for the lack of improvement. Also, is this just anecdotal or is there an actual benchmark program that could be looked at? MDC tmoran@acm.org wrote: > I'm told that a multitask program compiled with Gnat 3.15p and run > under Windows XP Pro on a hyperthreaded machine, runs in the same total > time as the same program using a single task. OTOH, when compiled with > GNAT 5.02a1 and run on a dual-processor 400 MHz Celeron running Mandrake > Linux 8.2, it runs about 50% faster with two rather than one tasks. > Is the problem "hyperthreading", Windows, or Gnat 3.15p? -- ====================================================================== Marin David Condic I work for: http://www.belcan.com/ My project is: http://www.jsf.mil/NSFrames.htm Send Replies To: m o d c @ a m o g c n i c . r "'Shut up,' he explained." -- Ring Lardner ======================================================================