math library for linux
hi,
im lookign for a performance optimized math library for linux running on i386 arch. i was told DXML(CXML) is the best but it only seem to be supported on alpha and digital unix. can anyone suggest an alternative for i386? i downloaded the intel math kernel library but dotn know how that compares performance wise to other ones. thx |
bumper
|
You can always create 2 program tests which do the same math
functions and run them through time command from the shell |
The relative performance of different libraries varies wildly depending on the exact model of processor that you are using, and the optimisation characteristics of the compiler.
If speed is your concern, then you'll probably find that gcc -O3 will optimise almost any source code very well (unless it relies heavily on bad constructs like goto: and global variables, which are notoriously hard to optimise around anyway). You could also try playing with the various optimisation tags. However, the best way to make a program run fast is still to optimise your algorims to be the lowest order possible, for large data sets, and the smallest number of instructions for small data sets. |
|
All times are GMT -5. The time now is 04:45 AM. |