On Jul 26, 2013, at 12:51 PM, Check Nyah wrote:
Got 'em! I've reviewed and revised... An updated version of the tests is posted and attached for you (or anyone else) to do a local comparison. You'll need an optimized compile of BRL-CAD (cmake -DCMAKE_BUILD_TYPE=Release) and will need to edit the Makefile to point to the header/lib dir and maybe change -rpath to -Wl,-rpath but it should otherwise be made to work easily. The cycle counts were not a useful reflection of actual time, so I rewrote the timings to use our performance timer and to isolate the new functions in question. This gives solid comparison performance numbers that should take about 2 and 5-10 minutes respectively to run the determinant and inverse test (unless you have a crazy-fast/slow machine).
What I'm seeing is a fair bit of variability from platform to platform, but stable per environment. So far, I've tested on three wildly different platforms: a Mac Core2, a FreeBSD Xeon, and an IBM Power7 (PPC64). The new determinant function was actually 8% SLOWER on the Mac, but then 32% faster on FreeBSD and 4% faster on the Power7. The new inverse function was 11% faster on the Mac, 8% faster on the FreeBSD, and a whooping 50% faster on Power7 (awesome!). The numbers were relatively stable +-2 percent and predominantly varied on how many iterations were performed. In the tests, I made it so one can either test for a set amount of time or a fixed number of iterations. Would love to see what other people's numbers look like.
Outstanding. Cheers! Sean |
bnmatinvdet.tar.gz
Description: GNU Zip compressed data
------------------------------------------------------------------------------ See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________ BRL-CAD Developer mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/brlcad-devel
