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,f03ffdf470e3c559 X-Google-Attributes: gid103376,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews.google.com!d1g2000hsg.googlegroups.com!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: Interesting performance quirk. Date: Tue, 28 Oct 2008 16:22:33 -0700 (PDT) Organization: http://groups.google.com Message-ID: <34e18564-7913-426a-bb26-324314791d32@d1g2000hsg.googlegroups.com> References: <4903c066$0$28676$4d3efbfe@news.sover.net> <49045079$0$28711$4d3efbfe@news.sover.net> <4906f908$0$5781$4d3efbfe@news.sover.net> NNTP-Posting-Host: 94.108.219.199 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: posting.google.com 1225236154 13374 127.0.0.1 (28 Oct 2008 23:22:34 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 28 Oct 2008 23:22:34 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: d1g2000hsg.googlegroups.com; posting-host=94.108.219.199; posting-account=pcLQNgkAAAD9TrXkhkIgiY6-MDtJjIlC User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.8.1.16) Gecko/20080702 Iceape/1.1.11 (Debian-1.1.11-1),gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2514 Date: 2008-10-28T16:22:33-07:00 List-Id: Peter C. Chapin writes: > Windows XP Laptop (GNAT GPL 2008 for the Ada, Cygwin gcc for the C) > ----- > My Library => 11 MB/s (with -O2 option and no debugging support) > OpenSSL => 65 MB/s (Wow!) > > SUSE Linux in a VM on the same box > ----- > My Library => 25 MB/s (odd) > OpenSSL => 65 MB/s (now this makes sense at least) I believe OpenSSL uses hand-written and carefully optimised assembly for its inner loops. Besides that, I was wondering if by any chance you were using one 32- bit and one 64-bit operating system; if so, which one is Linux and which one is Windows? -- Ludovic Brenta.