Gentoo Archives: gentoo-amd64

From: Allan Wang <allanvv@×××××.com>
To: gentoo-amd64@l.g.o
Subject: Re: [gentoo-amd64] x86_64 optimization patches for glibc.
Date: Sat, 23 Jul 2005 16:38:31
Message-Id: 1122136577.16577.2.camel@localhost
In Reply to: [gentoo-amd64] x86_64 optimization patches for glibc. by Simon Strandman
On Sat, 2005-07-23 at 16:48 +0200, Simon Strandman wrote:
> With the glibc 2.3.5 currently in gentoo I get: > isidor ~ # ./memcpy 2200 1000 1048576 > Memory to memory copy rate = 1291.600098 MBytes / sec. Block size = 1048576. > > But with glibc 2.3.5 + amd64 optimized strings I get: > isidor ~ # ./memcpy 2200 1000 1048576 > Memory to memory copy rate = 2389.321777 MBytes / sec. Block size = 1048576. > > That's an improvement of over 1000mb/s! Suse 9.3 also gives about > 2300mb/s out of the box.
Hmm, I don't see much difference here. before: allan@aw ~ $ ./a.out 2420 1000 1048576 Memory to memory copy rate = 1110.198486 MBytes / sec. Block size = 1048576. after: aw allan # ./a.out 2420 1000 1048576 Memory to memory copy rate = 1154.922974 MBytes / sec. Block size = 1048576. Allan -- gentoo-amd64@g.o mailing list

Replies

Subject Author
Re: [gentoo-amd64] x86_64 optimization patches for glibc. Brian Litzinger <brian@××××××××××××.com>
Re: [gentoo-amd64] x86_64 optimization patches for glibc. Simon Strandman <simon.strandman@×××××.com>