Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Tweaked glibc 2.4 + 2.5 + snapshot ebuilds
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3, 4 ... 29, 30, 31  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Thu Feb 23, 2006 11:32 am    Post subject: Reply with quote

kireru wrote:
PrakashP wrote:
[url]http://punnoor.de/various/böhm-sat.tar.bz2[/url]

I'd like to try this out, but I get a 404 error when trying to download?


Works for me. Perhaps I will rename the download, as the "ö" might miake troubles.

Does this link work now:
http://punnoor.de/various/boehm-sat.tar.bz2
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Thu Feb 23, 2006 11:42 am    Post subject: Reply with quote

StringCheesian wrote:
immudium wrote:
What's also interesting is how much slower the supposedly faster (in clock speed) prescott core is than the northwood core.

Careful, different versions of GCC there. (not arguing with you about prescott vs northwood - I'm an AMD fan, I know nothing about Intel)


gcc shouldn't matter much here. I tested it on an Athlon64 X2 w/o using athlon specific optimizations. I don't think this generic code would make a big difference on P4.
Back to top
View user's profile Send private message
mrcs
Tux's lil' helper
Tux's lil' helper


Joined: 10 Oct 2003
Posts: 137

PostPosted: Thu Feb 23, 2006 1:10 pm    Post subject: Reply with quote

PrakashP wrote:
Works for me. Perhaps I will rename the download, as the "ö" might miake troubles.

Does this link work now:
http://punnoor.de/various/boehm-sat.tar.bz2

Yes, that works. Thanks!
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Thu Feb 23, 2006 10:19 pm    Post subject: Reply with quote

Ok :D :D :D

I think I finally got it right!!!!

I just got the whole system rebuilt, and DAMN!!!!

It is fast!!! I can open almost anything from the main menu in less than a second on the FIRST start!! Second start is instant!! And the only thing that I'm using is -bdirect, and -hashvals, I know that they are in main portage now, but it was YOUR effort nxsty that started it..... THANK YOU!!!

Linux has always started programs slower than just about everything else out there until now....

Dont get me wrong, it RUNS programs pretty damn quick, but it always STARTED programs pretty damn slow.... That is until now....

Thanks Nxsty for the overlay.... It makes a BIG differance... This improvement makes gentoo even better.....
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Thu Feb 23, 2006 10:45 pm    Post subject: Reply with quote

nxsty wrote:
Glibc 2.3.6-r3 has the patches so you don't need my glibc overlay. You just need to enable them in the ebuild, but I guess you've already done that. Binutils 2.16.1-r1 has an older -Bdirect patch but lacks hashvals and dynsort so it's a better idea to use a overlay for it with the latest stuff.

Yeah I figured it out. I copied the glibc folder to my overlay folder and hacked the ebuild to enable those patches. I did use your binutils overlay though. And if you saw my thread about my troubles you'd see I got everything to work. I'm now have a fully stable and working system using gcc-4.0.2-r3, glibc-2.3.6-r3 w/Bdirect & hashvals patches, binutils-2.16.91.0.6, portage 2.1_pre4-r1. Just emerged Xorg7 and everything went swift :)

If it's useful for anyone, here's my emerge info, which my entire system is now compiled with (except libXfont which has to be compiled without -hashvals in LDFLAGS):
Code:

Portage 2.1_pre4-r1 (default-linux/amd64/2006.0, gcc-4.0.2, glibc-2.3.6-r3, 2.6.15-gentoo-r5-4ct x86_64)
=================================================================
System uname: 2.6.15-gentoo-r5-4ct x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r1, 2.16.91.0.6
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O2 -pipe -mfpmath=387 -funsafe-math-optimizations -fno-align-labels -fno-align-loops -fno-align-functions -fno-align-jumps -mmmx -m3dnow -msse -msse2 -s"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=k8 -O2 -pipe -mfpmath=387 -funsafe-math-optimizations -fno-align-labels -fno-align-loops -fno-align-functions -fno-align-jumps -mmmx -m3dnow -msse -msse2 -s -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.gentoo.no/ http://ftp.du.se/pub/os/gentoo"
LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--enable-new-dtags -Wl,-Bdirect -Wl,-hashvals -Wl,-zdynsort"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 7zip X a52 aac acpi alsa avi berkdb bitmap-fonts bluetooth bzip2 cdda cddb cdparanoia cdr cdrom cli crypt css cups curl dbus dri dts dvd dvdr dvdread eds elf emboss encode fam fat ffmpeg firefox font-server foomaticdb fortran ftp gif gimp glep glibc-omitfp glx gmail gmailtimestamps gpm gstreamer gtk2 gzip h323 hal i8x0 ieee1394 imagemagick imap imlib ipv6 jpeg jpeg2k kde lame lzw lzw-tiff mmap mp3 mpeg mpeg2 msn ncurses nls nptl nptlonly nsplugin nvidia ogg opengl pam pdflib perl png python quicktime rar readline reiserfs spell ssl symlink tcpd tiff truetype-fonts type1-fonts unicode usb userlocales utf8 vorbis xpm xv zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_nv video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LINGUAS

Next for me is to get a WM/DE and get a more useable workstation :)
_________________
As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7
Back to top
View user's profile Send private message
duby2291
Guru
Guru


Joined: 17 Oct 2004
Posts: 583

PostPosted: Fri Feb 24, 2006 12:45 am    Post subject: Reply with quote

If you guys have problems with Cairo, using nxsty's binutils overlay there is a patch in bugzilla that fixed it for me.....
Back to top
View user's profile Send private message
nxsty
Veteran
Veteran


Joined: 23 Jun 2004
Posts: 1556
Location: .se

PostPosted: Fri Feb 24, 2006 10:56 am    Post subject: Reply with quote

I added a new snapshot. It now also builds with -DNDEBUG=1 if you don't have debug in USE (perhaps the stable ebuilds should do this also?). This ebuild also merges all the changes from 2.3.6-r3.

PrakashP: I hope this fixes your performance problems.
Back to top
View user's profile Send private message
PrakashP
Veteran
Veteran


Joined: 27 Oct 2003
Posts: 1249
Location: C.C.A.A., Germania

PostPosted: Fri Feb 24, 2006 12:31 pm    Post subject: Reply with quote

nxsty wrote:

PrakashP: I hope this fixes your performance problems.


Sorry, it's still slow. :(
Back to top
View user's profile Send private message
immudium
Guru
Guru


Joined: 12 Oct 2004
Posts: 332
Location: Utah

PostPosted: Fri Feb 24, 2006 11:39 pm    Post subject: Reply with quote

Could someone tell me where to get glibc-2.3.6-branch-update-20060224.patch.bz2 for the latest overlay? It doesn't appear to be on any of the mirrors but perhaps I missed a note telling me where to get it or something?

Edit:
Oh never mind, it was one of the stupid cudlug servers getting stuck in pasv mode and giving me grief. I found the main telia server from the ebuild and downloaded it manually. I didn't realize it was part of the overlay rather than from the official 2.3.6 glibc at first :oops:
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Sat Feb 25, 2006 12:42 am    Post subject: Reply with quote

duby2291 wrote:
If you guys have problems with Cairo, using nxsty's binutils overlay there is a patch in bugzilla that fixed it for me.....

I'm using nxsty's binutils-overlay (2.16.91.0.6) and a hacked glibc-2.3.6-r3 (to get -Bdirect and -hashvals). I had problems emerging cairo. I found a fix here which directed people to a reported bug at freedesktop.org (Bug#5136).

Solution:

  • Copy /usr/portage/x11-libs/cairo to /usr/local/portage/x11-libs/cairo
  • Edit /usr/local/portage/x11-libs/cairo/cairo-1.0.2.ebuild, and add this to line 39 (it's an empty line):
    Code:
    sed -i -e '/INT_/d' pixman/src/pixman-remap.h

  • run an ebuild digest on the file:
    Code:
    ebuild /usr/local/portage/x11-libs/cairo/cairo-1.0.2.ebuild digest

  • emerge -av cairo

_________________
As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7
Back to top
View user's profile Send private message
Joffer
Guru
Guru


Joined: 10 Sep 2002
Posts: 585
Location: Arendal, Norway

PostPosted: Sat Feb 25, 2006 1:30 am    Post subject: Reply with quote

Ok.. I was about to post the below text, but I figured it out. Anyway, why not post it for those who think they have the same problem, and like me, can't read :roll: :oops: :lol:
===== blind-joffer =====
blind-joffer wrote:
nxsty, this is not quite on the point, since I'm using 2.3.6-r3 with -Bdirect and -hashvals, but I thought I'd ask it here anyway, since you included those in your old glibc-overlay...

I'm just not getting the scores I'd supposed to get...:
Code:
armour ~ # bin/memcp 2000 1000 1048576
Memory to memory copy rate = 744.766541 MBytes / sec. Block size = 1048576.


Any clue? My entire system has been emerge -e system && emerge -e world, and I actually did a new emerge -e system last nigth because I thought I had screwed something up (which I hadn't.. I was just blind and not able to read the errormessage good enough...)
===== blind-joffer =====

First - my numbers now:
Code:
armour ~ #  bin/memcp 2000 1000 1048576
Memory to memory copy rate = 2175.091309 MBytes / sec. Block size = 1048576.

2175 Vs 744. Quite an easy match.. And thats without compiling anything on my system..

Oh well, thats a very minor lie.. You see, I compiled the binary as I normally do (which is not quite often, not counting the emerges of course):
Code:
gcc memcp.c -o memcp

I started to read nxsty's old Glibc overlay with amd64 performance patches! (obsolete) and what do I see (which I had forgot):
nxsty wrote:
...
*AMD64 optimized string routines.
Increases memory copy performance for AMD64. The improvements can be seen with a small test-program, memcpy.c, which is attatched to the bug (compile it with -O at least).

With the glibc 2.3.5 currently in gentoo:
isidor ~ # ./memcpy 2200 1000 1048576
Memory to memory copy rate = 1291.600098 MBytes / sec. Block size = 1048576.

With glibc 2.3.5 + amd64 optimized string routines:
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 and 10 also gives about 2300mb/s out of the box.
...

So, to my self and perhaps others: READ CAREFULLY (and of course remember it for later :wink:): "(compile it with -O at least):
Code:
gcc -O2 src/memcp/memcp.c -o bin/memcp
did the trick, resulting in 2175MB/s :D
_________________
As of April 2006 - Athlon64 X2 4200+ 1GB RAM - amd64-2006.0 profiled system with portage 2.1_preX, ck-sources-2.6.16, glibc-2.4-r1 (overlay w/-Bdirect&-hashvals), binutils-2.16.91.0.6 (overlay), gcc-4.1, Xorg 7
Back to top
View user's profile Send private message
mafioso
Tux's lil' helper
Tux's lil' helper


Joined: 10 Jan 2006
Posts: 98
Location: arizona, usa

PostPosted: Sun Feb 26, 2006 6:01 am    Post subject: Reply with quote

hello all,

i just finished updating glibc to glibc-2.3.90.20060224 and it is working GREAT on my system it's never been faster. THANK YOU NXSTY. but im curious about something, i forgot to add sys-libs/timezone-data to package.keywords, and once the compile finished i had two config files that needed updating, hosts.conf & nscd. so i ran etc-update and -5'ed 'em both. then i rebooted and had clock skew (so i modified both files and unmodified them to set thier time right) both config files were 7 hours off, my timezone was changed from mst to utc and i was unable to reset the timezone until i added sys-libs/timezone-data to package.keywords and did emerge -uD world which updated timezone-data from 2006a to 2006b. once that was done everything was fixed. and as im somewhat new at this (heh i wouldn't even have this cool toolchain if it wasn't for nesl247 and the conrad guides) i'm curious as to why that happened? did it have something to do with the version of timezone-data? or is it a bug, and do i need to watch out for it in the future?
_________________
persistance is THE key to success
Back to top
View user's profile Send private message
FireBurn
Apprentice
Apprentice


Joined: 19 Sep 2004
Posts: 170
Location: Edinburgh, UK

PostPosted: Sun Feb 26, 2006 11:58 am    Post subject: Reply with quote

Has any one noticed that -Wl,--as-needed in the ld-flags seems to have no effects on any packages using these ebuilds?
Back to top
View user's profile Send private message
dkey
n00b
n00b


Joined: 11 May 2005
Posts: 25

PostPosted: Sun Feb 26, 2006 12:28 pm    Post subject: Reply with quote

FireBurn wrote:
Has any one noticed that -Wl,--as-needed in the ld-flags seems to have no effects on any packages using these ebuilds?


As I understood, the flags are used for other packages, but not glibc or binutils (binutils enables a bunch of those flags).


But does anybody know if there is a difference between -Bdirect and -Wl,-Bdirect? If so, I would appreciate any hints what the differences are.

thx!
Back to top
View user's profile Send private message
infirit
l33t
l33t


Joined: 11 Jan 2003
Posts: 778
Location: Hoofddorp / The Netherlands

PostPosted: Sun Feb 26, 2006 12:37 pm    Post subject: Reply with quote

dkey wrote:
FireBurn wrote:
Has any one noticed that -Wl,--as-needed in the ld-flags seems to have no effects on any packages using these ebuilds?


As I understood, the flags are used for other packages, but not glibc or binutils (binutils enables a bunch of those flags).

--as-needed is reducing the number of library being linked by testing if they are actually needed at run time. THis will do not much for the speed the program is running but will reduce staruptimes and potentiona breakage because of changed libraries. Check with ldd before and after building with --as-needed.
dkey wrote:

But does anybody know if there is a difference between -Bdirect and -Wl,-Bdirect? If so, I would appreciate any hints what the differences are.

thx!
Both are the same. But when invoked via gcc you need to add -Wl to tell gcc its a linker flag (correct me if i'm wrong here).
_________________
EASY TO INSTALL = Difficult to install, but instruction manual has pictures.
Join the adopt an unanswered post initiative today
Back to top
View user's profile Send private message
dkey
n00b
n00b


Joined: 11 May 2005
Posts: 25

PostPosted: Sun Feb 26, 2006 1:04 pm    Post subject: Reply with quote

Quote:

dkey wrote:

But does anybody know if there is a difference between -Bdirect and -Wl,-Bdirect? If so, I would appreciate any hints what the differences are.

thx!
Both are the same. But when invoked via gcc you need to add -Wl to tell gcc its a linker flag (correct me if i'm wrong here).


hm...but when I try to compile amarok-svn with -Bdirect (no -Wl prefixed), gcc tells me to use -fPIC, with -Wl,-Bdirect as LDFLAG it works without any probs.
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Sun Feb 26, 2006 7:16 pm    Post subject: Reply with quote

Hmm, I am unable to download the distfiles for the current overlay (20060224).
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
dkey
n00b
n00b


Joined: 11 May 2005
Posts: 25

PostPosted: Sun Feb 26, 2006 8:24 pm    Post subject: Reply with quote

Cinder6 wrote:
Hmm, I am unable to download the distfiles for the current overlay (20060224).


use the URI from the ebuild, that one worked for me.
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Sun Feb 26, 2006 8:36 pm    Post subject: Reply with quote

dkey wrote:
Cinder6 wrote:
Hmm, I am unable to download the distfiles for the current overlay (20060224).


use the URI from the ebuild, that one worked for me.


I am able to get the Fedora ones (glibc-fedora-200*), but glibc-2.3.90-extra_patches-1.10.tar.bz2 cannot be found.
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
dkey
n00b
n00b


Joined: 11 May 2005
Posts: 25

PostPosted: Sun Feb 26, 2006 8:46 pm    Post subject: Reply with quote

Cinder6 wrote:
dkey wrote:
Cinder6 wrote:
Hmm, I am unable to download the distfiles for the current overlay (20060224).


use the URI from the ebuild, that one worked for me.


I am able to get the Fedora ones (glibc-fedora-200*), but glibc-2.3.90-extra_patches-1.10.tar.bz2 cannot be found.


this link should help you
http://web.telia.com/~u18221075/linux/glibc-2.3.90-extra_patches-1.10.tar.bz2
:)
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Sun Feb 26, 2006 8:59 pm    Post subject: Reply with quote

Thanks, dkey.

EDIT: Argh, now it can't find glibc-2.3.6-branch-update-20060224.patch.bz2
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
dkey
n00b
n00b


Joined: 11 May 2005
Posts: 25

PostPosted: Sun Feb 26, 2006 9:02 pm    Post subject: Reply with quote

Cinder6 wrote:
Thanks, dkey.

EDIT: Argh, now it can't find glibc-2.3.6-branch-update-20060224.patch.bz2


just browse the directory
http://web.telia.com/~u18221075/linux/
there you can find all needed patches.
Back to top
View user's profile Send private message
Cinder6
l33t
l33t


Joined: 05 Aug 2004
Posts: 767
Location: California

PostPosted: Sun Feb 26, 2006 9:13 pm    Post subject: Reply with quote

dkey wrote:
Cinder6 wrote:
Thanks, dkey.

EDIT: Argh, now it can't find glibc-2.3.6-branch-update-20060224.patch.bz2


just browse the directory
http://web.telia.com/~u18221075/linux/
there you can find all needed patches.


And now I feel like a newb.
_________________
Knowledge is power.
Power corrupts.
Study hard.
Be evil.

Ugly Overload
Back to top
View user's profile Send private message
Isaiah
Guru
Guru


Joined: 25 Feb 2003
Posts: 359

PostPosted: Sun Feb 26, 2006 9:24 pm    Post subject: Reply with quote

dkey wrote:
just browse the directory
http://web.telia.com/~u18221075/linux/
there you can find all needed patches.

dkey wrote:
this link should help you
http://web.telia.com/~u18221075/linux/glibc-2.3.90-extra_patches-1.10.tar.bz2

Thank you very much 8)
Back to top
View user's profile Send private message
metalshark
Apprentice
Apprentice


Joined: 07 Jan 2006
Posts: 197
Location: Bournemouth, England

PostPosted: Tue Feb 28, 2006 1:01 pm    Post subject: Excuse me Reply with quote

Just posting to watch the thread - PS new version of GLIBC works for me - thanx.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3, 4 ... 29, 30, 31  Next
Page 3 of 31

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum