Search the web
Sign In
New User? Sign Up
DesktopLinuxAsm
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Benchmarking?   Message List  
Reply | Forward Message #329 of 354 |
I'm always told how SSE2 routines always beat the FPU's hard coded routines,
however i've never actually seen this quantified. Yes, SIMD is good in theory,
but can it really beat scalar routines? It uses more memory (more instructions
streamed), and it's not hard coded. I've seen some C code trying to quantify
this, but naturally the speed gain presented has not only been inconsistent (I
assume the fault is in failing to consider the task scheduler), but the gain
seems less than 10% every time for the functions that i feel matter the most
(fsincos and atan). More so, I've found some code that is theoretically faster
than a nice Taylor, and seems pretty accurate when i typed in the function on my
TI-NSpire. I was wondering if anyone had any code laying around that they use to
benchmark procedures while taking the schedualer out of the equation. It might
also help the community in the event that they do not have a benchmarker handy
to try other things.




Sat Apr 11, 2009 9:35 pm

kohlrak
Online Now Online Now
Send Email Send Email

Forward
Message #329 of 354 |
Expand Messages Author Sort by Date

I'm always told how SSE2 routines always beat the FPU's hard coded routines, however i've never actually seen this quantified. Yes, SIMD is good in theory, but...
Shane U. Undisclosed
kohlrak
Online Now Send Email
Apr 12, 2009
1:29 pm

There are several ways to accomplish this. You can use the 'clock' system call and read the 'process CPU time' from the structure. You can use the 'getrusage'...
Nathan Baker
evenbitnb
Offline Send Email
Apr 14, 2009
11:17 pm

Ah, thank you... I'll get on it as soon as i can (some thing just came up and more of my time will be taken by them)......
kohlrak
Online Now Send Email
Apr 15, 2009
11:04 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help