Ticket #1207 (closed: fixed)

Opened 10 years ago

Last modified 5 years ago

Speed-up Q1D for SANS2D

Reported by: Laurent Chapon Owned by: Laurent Chapon
Priority: major Milestone: Iteration 23
Component: Keywords:
Cc: Blocked By:
Blocking: Tester:

Description

Had a quick look and most of the cpu time is spent in remap (SpectraDetectorMap).

Change History

comment:1 Changed 10 years ago by Laurent Chapon

(In [4301]) re#1207 Changed the method to avoid calling remap on the spectradetectormap every time. Clear the initial map. Speed increase from 36 sec to 2.3s

comment:2 Changed 10 years ago by Laurent Chapon

(In [4305]) re#1207 Improve speed of gravity correction. The all method was recalculating prefactors all the time and was computing an acos and a sin for each value. Change the call using trigo relations to a single sqrt function.

Test on full SANS2D data improve from 4. s to 2.7s so almost same speed without and with gravity.

comment:3 Changed 10 years ago by Russell Taylor

(In [4382]) Add multithreading to Q1D algorithm. Reduces SANS1D reduction from ~7s to ~4s on my dual core Windows box. Re #1207.

comment:4 Changed 10 years ago by Russell Taylor

(In [4383]) Parallelize Qxy. Re #1207.

comment:5 Changed 10 years ago by Russell Taylor

(In [4384]) OK back that off then until I have access to a working linux box I can test this on. Re #1207.

comment:6 Changed 10 years ago by Russell Taylor

(In [4426]) Parallelise Qxy. Also clear some compiler warnings because we don't like those, do we. Re #1207.

comment:7 Changed 10 years ago by Nick Draper

  • Status changed from new to closed
  • Resolution set to fixed

comment:8 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 2054

Note: See TracTickets for help on using tickets.