IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 4 and Version 5 of ippToPspsOrr


Ignore:
Timestamp:
Feb 15, 2012, 5:48:00 PM (14 years ago)
Author:
rhenders
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ippToPspsOrr

    v4 v5  
    1010This sections provides a brief outline of loading to PSPS over the last two years. A more detailed summary can be found on the PSPS news page [http://web01.psps.ifa.hawaii.edu/psps-trac/wiki/PSPSNews here].
    1111
    12 === 2010 ===
     12April: first version of the ippToPsps code complete
     13April: started loading 3PI data for our beta testers
     14February: finished loading 42,000 3PI batches
    1315
    14 The first version of the ippToPsps code was complete by April 2010 after which we (slowly) loaded a total of 42,000 3PI batches for our beta testers. No stacks were available in DVO to be loaded to PSPS in 2010.
     16No stacks were made available to PSPS in 2010.
    1517
    1618Loading was stopped and started throughout the year as we were testing the system, but it was clear that loading was too slow to keep up with the data flow promised from the IPP.
    1719
    18 === 2011 ===
    1920
    2021More loading and testing early in the year.
    2122
    22 Stacks were made available for the first time just prior to the Boston meeting in May. However, an unforeseen issue with the dense MD fields, it was impossible to extract data from DVO in time. This prompted us to create a DV) to MySQL system meaning a whole DVO database could be ingested in MySQL for faster processing through ippToPsps.
     23Stacks were made available for the first time just prior to the Boston meeting in May. However, an unforeseen issue with the dense MD fields, it was impossible to extract data from DVO in time.
    2324
    24 After the Boston meeting we started to load the new reprocessed data from the IPP (aka LAP). With the promise of a high throughput from IPP we needed to speed up ippToPsps, so a multi-client version was developed. Multiple instances of ippToPsps can be run on the same machine, or multiple machines, in order to load batches in parallel. By using a secure critical section clients cannot ....TODO
    25 
    26 Another speed increase was obtained by implementing a stored-procedure in MySQL for the calculation of psf likelihoods. Ultimately, likelihoods will be provided by the IPP, but before that time it is the responsibility of ippToPsps.
     25After the Boston meeting we started to load the new reprocessed data from the IPP (aka LAP).
    2726
    2827During November and December we loaded half of all available old 3PI data from the IPP, while continuing to load new LAP data.
     
    3029In december we also loaded new versions of the three-year SAS and MD04 surveys. Loading of MD04 would have been impossible without the ability to pre-load a MySQL database with all DVO data.
    3130
    32 == Summary of major speed improvements to ippToPsps ==
     31== Major speed improvements to ippToPsps in 2011 ==
    3332
    34 In summary, the major developments to improve loading speed in 2011 have been:
     33Certain major speed improvements were necessary in 2011. These are detailed below.
    3534
    36  * multi-client version
    37  * stored procedure to calculate likelihoods
    38  * ability to pre-ingest dense regions of sky from DVO into MySQL for
     35=== Pre-ingesting DVO into MySQL ===
     36
     37Because DVO stores data in FITS per unit area on the sky, for densely populated regions the resultant FITS files can be huge and therefore extremely slow to access. When given the DVO database for MD04 prior to the Bostom=n meeting, it was taking 40 minutes to access a single frame's worth of detections from DVO.
     38
     39The original 40 minutes (above) dropped to 30 seconds, but of course ingest of the DVO data takes time.
     40
     41=== Multiple clients ===
     42
     43With the promise of a high throughput of new 'LAP' data from the IPP we needed to speed up ippToPsps, so a multi-client version was developed. Multiple instances of ippToPsps can be run on the same machine, or multiple machines, so that batches can be loaded in parallel. By using a secure critical section it is impossible for clients to attempt to load the same batch.
     44
     45=== Stored procedure to calculate likelihoods ===
     46
     47A certain amount of data processing is done within ippToPsps, hopefully temporarily. One particularly time-intensive example of this the calculation of psf likelihoods. Ultimately, likelihoods will be provided by the IPP, but before that time it is the responsibility of ippToPsps and to speed this up a stored procedure was implemented within MySQL.
    3948
    4049== Loading stress-test stats ==
     
    113122
    114123
    115 because DVO stores data in one FITS per unit area on the sky, for densely populated regions, the resultant FITS files are huge and therefore extremely slow to access
    116 pre-Boston it wa taking 40 minutes oper frame. Ported all data to MySQL and access time dropped to 30 seconds.
    117124
    118125
     
    130137
    131138there are also various 'delete' stages: when a batch has become merge_worthy, it is safe to delete copies in the DXLayer and datastore. when a batch has merged it is safe to delete the copy of local IPP disk. all this needs to be monitored and so I put it all into Czartool, where we can see progress over time on time-series and rate plots.
    132