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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3a6a9f1d654285ba X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!j19g2000yqk.googlegroups.com!not-for-mail From: jonathan Newsgroups: comp.lang.ada Subject: Re: Ada Shootout program for K-Nucleotide (patches) Date: Mon, 7 Sep 2009 07:38:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: <720b4c9b-2478-410b-8a36-215d44705b29@j19g2000yqk.googlegroups.com> References: <4a743343$0$32674$9b4e6d93@newsspool2.arcor-online.net> <4a9fc85a$0$2850$ba620e4c@news.skynet.be> <1a5e1270-6a0a-4fff-a9b4-965abe610b69@o9g2000yqj.googlegroups.com> <4a9fdd46$0$2853$ba620e4c@news.skynet.be> <4aa0afbf$0$2864$ba620e4c@news.skynet.be> <3df8815d-b65a-4f73-9015-65375dcff113@x38g2000yqb.googlegroups.com> <4aa0e963$0$2868$ba620e4c@news.skynet.be> <0709cb9b-6144-4b14-a555-97262b1fa7b7@x37g2000yqj.googlegroups.com> <4aa13eaf$0$32666$9b4e6d93@newsspool2.arcor-online.net> <4aa1407d$0$32666$9b4e6d93@newsspool2.arcor-online.net> <335214cf-c7cb-459f-bb5b-89f589da7111@e11g2000yqo.googlegroups.com> <4aa4ba5b$0$2848$ba620e4c@news.skynet.be> <4aa4d026$0$31875$9b4e6d93@newsspool3.arcor-online.net> <4aa50b75$0$2846$ba620e4c@news.skynet.be> NNTP-Posting-Host: 143.117.23.126 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1252334317 6217 127.0.0.1 (7 Sep 2009 14:38:37 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Mon, 7 Sep 2009 14:38:37 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j19g2000yqk.googlegroups.com; posting-host=143.117.23.126; posting-account=Jzt5lQoAAAB4PhTgRLOPGuTLd_K1LY-C User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux x86_64; en-GB; rv:1.9.0.13) Gecko/2009082120 Iceweasel/3.0.6 (Debian-3.0.6-1),gzip(gfe),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:8208 Date: 2009-09-07T07:38:37-07:00 List-Id: On Sep 7, 2:31=A0pm, Olivier Scalbert wrote: > On 64 bits - AMD Athlon(tm) 64 Processor 3000+ - gcc version 4.3.4 > (Debian 4.3.4-1) =B5 > $ gnatmake -f -g -gnatnp -O3 knucleotide.adb -o knucleotide.gnat_run > $ time ./knucleotide.gnat_run < fasta/fasta250m.dat > real =A0 =A01m10.190s > user =A0 =A01m9.252s > sys =A0 =A0 0m0.724s > $ valgrind --tool=3Dcallgrind --dump-instr=3Dyes --trace-jump=3Dyes > ./knucleotide.gnat_run < fasta/fasta25m.dat > > see:http://scalbert.dyndns.org/ada/knucleotide/callgrind.out.64bits.1 > > Olivier This last test is worrisome. Are you sharing the machine with other processes? Here is what I get when I have 8-cores to myself (using GNAT 4.3.4 (GPL2009)): time ./knucleotide.gnat_run < /tmp/fasta250.dat real 0m6.647s user 0m17.273s sys 0m0.448s and here is what I get when I share with another (heavy) user of the machine: time ./knucleotide.gnat_run < /tmp/fasta250.dat real 0m25.475s user 0m24.766s sys 0m0.708s Jonathan