Ticket #10919 (closed: fixed)

Opened 6 years ago

Last modified 5 years ago

Determine Instrument Fraction

Reported by: Owen Arnold Owned by: Owen Arnold
Priority: minor Milestone: Release 3.4
Component: Reflectometry Keywords:
Cc: Blocked By:
Blocking: Tester: Harry Jeffery

Description

Question raised by Reflectometry group (Max). What proportion of the time for loading processed nexus files is occupied by reading of the instrument?

Attachments

clock_patch.py (2.4 KB) - added by Owen Arnold 6 years ago.

Change History

comment:1 Changed 6 years ago by Owen Arnold

  • Status changed from new to assigned

comment:2 Changed 6 years ago by Owen Arnold

Using 'POLREF00004699_nexus.nxs' I obtained the following timings for the time taken to load the instrument definitions and spectrum maps as a fraction of the total load. I ran the same load 6 times clearing memory each time to avoid effects of instrument caching.

604 1717

752 2057

563 1787

584 1796

592 1797

590 1812

First column is for the instrument parts only.

This gives an average of 614.16 in the first column and 1827.67 in the second. As a result, the loading of the instrument takes almost exactly 1/3 of the total load time of LoadNexusProcessed

comment:3 Changed 6 years ago by Owen Arnold

Tester. There are no (permanent) code changes as part of this. These results will be used for SSC reporting only. Verify that the results highlighted above seem reasonable.

comment:4 Changed 6 years ago by Owen Arnold

  • Status changed from assigned to verify
  • Resolution set to fixed

Changed 6 years ago by Owen Arnold

comment:5 Changed 6 years ago by Owen Arnold

Code changes for timings have been exported as a patch for reference.

comment:6 Changed 6 years ago by Harry Jeffery

  • Status changed from verify to verifying
  • Tester set to Harry Jeffery

comment:7 Changed 6 years ago by Harry Jeffery

  • Status changed from verifying to closed

Using the same benchmark on my system I got 81±2 and 228±3, across six runs. The figures seem to hold up.

comment:8 Changed 6 years ago by Owen Arnold

For completeness, Each workspace has 1 histogram, 5 bins and is 143 Kb in memory. Two workspaces in loaded group.

comment:9 Changed 5 years ago by Stuart Campbell

This ticket has been transferred to github issue 11758

Note: See TracTickets for help on using tickets.