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 Path: g2news1.google.com!news2.google.com!postnews.google.com!j22g2000hsf.googlegroups.com!not-for-mail From: Martin Newsgroups: comp.lang.ada Subject: Re: Interesting performance quirk. Date: Tue, 28 Oct 2008 01:49:19 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <4903c066$0$28676$4d3efbfe@news.sover.net> <49045079$0$28711$4d3efbfe@news.sover.net> NNTP-Posting-Host: 20.133.0.8 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1225183759 4869 127.0.0.1 (28 Oct 2008 08:49:19 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 28 Oct 2008 08:49:19 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: j22g2000hsf.googlegroups.com; posting-host=20.133.0.8; posting-account=g4n69woAAACHKbpceNrvOhHWViIbdQ9G User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.0.3) Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe) Xref: g2news1.google.com comp.lang.ada:2508 Date: 2008-10-28T01:49:19-07:00 List-Id: On Oct 26, 11:11=A0am, "Peter C. Chapin" wrote: > tmo...@acm.org wrote: > > I/O or cache differences? > > Well, the benchmark program doesn't do any I/O (except to report results > at the end). I'm using the same physical hardware in both cases, but > perhaps Linux and/or VMware is configuring the cache differently in some > way. Or perhaps Linux provides the memory to the process in a more > cache-friendly way. My program is passing over a 1 MB array from > beginning to end multiple times. This is also a dual core machine, but > the program has only a single task. > > I could try experimenting with different array sizes. > > Peter Any tasking involved?... Cheers -- Martin