YDL use it because they removed G3 support.
Gentoo PPC has a generic powerpc support thus it cannot enabled by default.

I used freevec on my AltiVec equipped machines some years ago but today i cannot see a real major gain but only random errors during heavy mem workload... maybe if the author could check his own work and test it against new glibc releases but as I know actually he works fulltime on ARM arch.
If you have a 64bit cpu >= PPC970 you could try the IBM flavour glibc._________________LinuxPPC user!
my blog: http://linuxpowerpc.blogspot.com/

How can I be sure that library is actually in use? If the path is wrong I get an error for every further ls command._________________ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme

I used libfreevec for 2 days now with heavy memory load without problems.

How would the kernel itself make use of libfreevec? At least when defining $LD_PRELOAD in userspace that would not affect the kernel. I'm not sure about /etc/ld.so.preload.
At the end of this discussion I think it would be useful to have the method how to apply that library described in the elog of sys-libs/libfreevec and maybe, if there are no severe risks, a hint in our PPC FAQ._________________ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme

First crashes with libfreevec:(I'm going to collect all future identified crashes here in this post...)

Not bad after all, I'm running libfreevec since 2 days and I did not recognize really severe crashes. The following crashes I was able to reproduce and they don't happen after temporarilly disabling libfreevec:

I'm considering if these instabilities could be influenced by the combination of libfreevec and CFLAGS/CXXFLAGS/LDFLAGS. By any chance the whole system/world would need to be rebuilt with compatible libfreevec-compatible flags. There must be a stable operation possible if YDL has switched to libfreevec officially.

I talked to markos. Good news everybody, there will be a next release (NG). libfreevec is "alive and evolving, but silently", currently a side project without priority...

While reading History of libfreevec and libfreevec NG, I begin to reconsider the whole gentoo-ppc project, actually whole Linux on PowerPC. The G4 is the main unit among PPC users I guess. Without making use of Altivec it will never deploy its power. G3 has no Altivec and G5 while being faster has a worse implementation of Altivec.
This is like having a Pentium4 running without MMX and SSE*, or like a Dual-Core running only a single core. All memory operations could benefit from Altivec.
When I first saw the G4 (1.6 GHz) compared to the G3 (600 MHz) I was wondering that it was not that much faster. Then on Mac OSX it did not feel being that slow like on Linux, but hard to compare. Now I think glibc not using Altivec is one of the reasons.

Moreover after having a stable libfreevec there is still the kernel not optimized in large areas, but that's another topic.

Now this is not all about PowerPC and not restricted to Altivec, it is about all architectures. GNU/Linux / glibc is not even optimized for x86 or amd64/x86_64. All architectures could benefit from libfreevec and that is what the next libfreevec NG-project is aiming at.

I wonder that nobody in the past had a similar purpose like markos.

Regards,
Massimo

I posted a hint to that discussion into the "Gentoo Chat" subforum for not overlooking this topic down in the PPC subforum._________________ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme

While it's not particularly easy to get patches committed to glibc, that's really a better approach instead of having a totally separate library that most people haven't ever heard of. Optimize the library everyone already uses, don't make a new one.

Because people here are more interested in PPC I put that here: I found another interesting project making more use of Altivec:
Tenfourfox I found that when re-installing an old 10.4 beside that stopped working in the way of repartitioning.
Is there any possibility to get their code working on Linux for having a faster fox at least?

EDIT: Just my experience when comparing the latest Linux-ppc Firefox with that G4 optimized Tenfourfox, testing Tenfourfox on the latest G4 PBook with a fresh and "up-to-date" OSX 10.4 installation feels quite slow. Working with around 12 tabs with middle sized text html makes adding and dropping tabs slow. Addons such as Pentadactyl have slow responsiveness. I'm not sure how close the Tenfourfox code is to official Firefox branch, version numbering is similar, but all that Altivec optimization does not seem to help, maybe just comes into play with HTML5 and audio/video media than plain HTML._________________ppc:PowerBook5,8 15"(1440)-G4/1.67,2G Ram|amd64:HP EliteBook 8560w,i7-2620M,16G Ram|amd64:Acer Z5610 (Core2QuadQ8200),8G Ram|amd64-prefix:OpenSuse
Lila-Theme