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 1DwOdQ-0002Mv-U2 for garchives@archives.gentoo.org; Sat, 23 Jul 2005 18:22:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6NIIvDD020371; Sat, 23 Jul 2005 18:18:57 GMT Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.197]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6NIIt6t017230 for ; Sat, 23 Jul 2005 18:18:56 GMT Received: by rproxy.gmail.com with SMTP id a41so137488rng for ; Sat, 23 Jul 2005 11:19:36 -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=jrt4dZh0xPQgHimw5iiu+qJz7vzXz7CCwaBA24GY9svrQrUYwBIO2QrEeBAghPAXCX25yT9LF/cMF15IC/4L9HdDXmIZVVoXVZn3j+zkethrYPOLF0/1WoCL4b/H0oak1NMzbAl4YA5mBTtpvLnXsXnWBqpi/OTsEpEnoJhNoT0= Received: by 10.38.10.37 with SMTP id 37mr778809rnj; Sat, 23 Jul 2005 11:19:36 -0700 (PDT) Received: from ?192.168.1.105? ([69.251.197.205]) by mx.gmail.com with ESMTP id 59sm4412644rnd.2005.07.23.11.19.36; Sat, 23 Jul 2005 11:19:36 -0700 (PDT) Subject: Re: [gentoo-amd64] x86_64 optimization patches for glibc. From: Allan Wang To: gentoo-amd64@lists.gentoo.org In-Reply-To: References: <42E258A7.5080501@telia.com> <1122136577.16577.2.camel@localhost> <42E27993.5080802@telia.com> <1122139837.16577.5.camel@localhost> Content-Type: text/plain Date: Sat, 23 Jul 2005 14:19:36 -0400 Message-Id: <1122142776.16577.8.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: 6f8010e2-0ec4-45f5-94c0-e2287dfe0496 X-Archives-Hash: 4d228be5736bc48087dde2897fca6a64 Perhaps it's because I'm using the pic use flag.. I'll try removing it and see if it helps any. The patch is being applied, I just opened up memcpy.S and the AMD stuff is there. Allan On Sat, 2005-07-23 at 11:11 -0700, Jared Lindsay wrote: > Wow, I did the same thing and got almost 1000MB higher :) > > *emerges things* > > On 7/23/05, Allan Wang wrote: > > On Sat, 2005-07-23 at 19:08 +0200, Simon Strandman wrote: > > > Allan Wang skrev: > > > > > > > > > > >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 > > > > > > > > > > > > > > > What kind och system do you have? > > > > > Athlon64 3200+ Newcastle (overclocked to 2.4ghz) > > 2x corsair valueselect ram, running at 360mhz > > dfi lanparty 250gb nforce3 ultra > > > > My emerge --info: > > Portage 2.0.51.22-r2 (default-linux/amd64/2005.0, gcc-3.4.4, > > glibc-2.3.5-r0, 2.6.12-nitro5 x86_64) > > ================================================================= > > System uname: 2.6.12-nitro5 x86_64 AMD Athlon(tm) 64 Processor 3200+ > > Gentoo Base System version 1.6.13 > > ccache version 2.4 [enabled] > > dev-lang/python: 2.3.5, 2.4.1-r1 > > sys-apps/sandbox: 1.2.11 > > sys-devel/autoconf: 2.13, 2.59-r7 > > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 > > sys-devel/binutils: 2.16.1 > > sys-devel/libtool: 1.5.18-r1 > > virtual/os-headers: 2.6.11-r2 > > ACCEPT_KEYWORDS="amd64 ~amd64" > > AUTOCLEAN="yes" > > CBUILD="x86_64-pc-linux-gnu" > > CFLAGS="-march=athlon64 -O3 -pipe -ffast-math" > > CHOST="x86_64-pc-linux-gnu" > > CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control" > > CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" > > CXXFLAGS="-march=athlon64 -O3 -pipe -ffast-math" > > DISTDIR="/usr/portage/distfiles" > > FEATURES="autoaddcvs autoconfig ccache distlocks prelink sandbox sfperms > > strict" > > GENTOO_MIRRORS="http://gentoo.mirrors.tds.net/gentoo > > http://gentoo.ccccom.com http://gentoo.osuosl.org" > > LANG="en_US.UTF-8" > > LC_ALL="en_US.UTF-8" > > MAKEOPTS="-j2" > > PKGDIR="/usr/portage/packages" > > PORTAGE_TMPDIR="/var/tmp" > > PORTDIR="/usr/portage" > > PORTDIR_OVERLAY="/usr/local/portage /usr/local/portage-mafteah" > > SYNC="rsync://rsync6.us.gentoo.org/gentoo-portage/" > > USE="amd64 X aalib alsa apache2 avi bash-completion bitmap-fonts bmp > > bzip2 cairo cdb cdr crypt cups curl curlwrappers dba dvd dvdr dvdread > > eds encode ffmpeg firefox flac foomaticdb gd gdbm gif gnome gpm > > gstreamer gtk gtk2 hal howl imagemagick imlib innodb java jikes jpeg jpg > > kde kdeenablefinal kernel_linux lzw lzw-tiff mad matroska memlimit > > mikmod motif mozilla mp3 mpeg mpeg4 ncurses nls nptl nptlonly offensive > > ogg oggvorbis openal opengl oss pam pcre pdflib perl php pic png > > postgres python qt quicktime readline real ruby samba sdl session > > sharedmem sockets spell sqlite ssl subversion svg tcpd theora tiff > > truetype truetype-fonts type1-fonts unicode usb userlocales vhosts > > vorbis xine xinerama xml xml2 xpm xv zlib" > > Unset: ASFLAGS, CTARGET, LDFLAGS, LINGUAS > > > > > > Allan > > > > -- > > gentoo-amd64@gentoo.org mailing list > > > > > -- gentoo-amd64@gentoo.org mailing list