From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DwN1D-0003qy-7M for garchives@archives.gentoo.org; Sat, 23 Jul 2005 16:38:31 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6NGZcPw016986; Sat, 23 Jul 2005 16:35:38 GMT Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.206]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6NGZb8J027519 for ; Sat, 23 Jul 2005 16:35:38 GMT Received: by rproxy.gmail.com with SMTP id j1so204574rnf for ; Sat, 23 Jul 2005 09:36:17 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:reply-to:to:in-reply-to:references:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=ZWpOpklVuE+KmFCdE67QBr3bKdh4lY3RJ0U1UHCWJfCog8AsjTyNq8FGKJgd5INPfYGxoLVowkwEDqNFdl9kRzaXDhSncvE07IdGNVXA6/wbhqx8QSnsklpKJO9fK1mmjqazbznn0cETxzQ3JGCXecqdGKTAwWgCZk3gLEMBQ+Y= Received: by 10.38.101.65 with SMTP id y65mr544742rnb; Sat, 23 Jul 2005 09:36:17 -0700 (PDT) Received: from ?192.168.1.105? ([69.251.197.205]) by mx.gmail.com with ESMTP id z1sm3454191rne.2005.07.23.09.36.17; Sat, 23 Jul 2005 09:36:17 -0700 (PDT) Subject: Re: [gentoo-amd64] x86_64 optimization patches for glibc. From: Allan Wang To: gentoo-amd64@lists.gentoo.org In-Reply-To: <42E258A7.5080501@telia.com> References: <42E258A7.5080501@telia.com> Content-Type: text/plain Date: Sat, 23 Jul 2005 12:36:17 -0400 Message-Id: <1122136577.16577.2.camel@localhost> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-amd64@gentoo.org Reply-to: gentoo-amd64@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.2.3 Content-Transfer-Encoding: 7bit X-Archives-Salt: 2941d6d6-bfce-410f-97ae-8ad7710b8510 X-Archives-Hash: e96565b142bd1ce327d493c77adb8ea7 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@gentoo.org mailing list