[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: athlon-builder ... a sequel to pentium-builder



A side comment about this whole "althon-builder", "pentium-builder" issue:

Solaris handles these issues by having a special preload func called
"isaexec"  (/usr/lib/isaexec)


IFF there is a difference between cpu-flavours of an architecture, then 
you put a link to isaexec as the 'regular' name, and it will exec the
appropriate arch-specific binary.

For example, 
/usr/bin/adb is a link to /usr/lib/isaexec
  isaexec then transparently decides whether to run
/usr/bin/sparcv7/adb
  or
/usr/bin/sparcv9/adb


isaexec is a 5k executable.


So I suggest you set up something similar, where there is a significant
difference between performance.
For 95% of programs, there will probably be no difference.

But where there IS a difference, have a single binary x86 package, that
generates different cpu-optimized executables, and has ALL of them in the
binary package. Then you could nfs-share it, and always have the best
executable in that CPU family be used.



Reply to: