Task #11850 (closed)
Opened 6 years ago
Closed 5 years ago
Bug: OME.tiff import slow
| Reported by: | wmoore | Owned by: | mlinkert |
|---|---|---|---|
| Priority: | major | Milestone: | 5.0.1 |
| Component: | Import | Version: | n.a. |
| Keywords: | n.a. | Cc: | fs@… |
| Resources: | n.a. | Referenced By: | n.a. |
| References: | n.a. | Remaining Time: | n.a. |
| Sprint: | n.a. |
Description
I have compared import of 150707_WTstack.lsm and an ome.tiff file generated by exporting the same lsm. So, both files are same size, planes etc.
The lsm import takes 5 seconds but the ome.tiff takes a minute and the log file generated by the ome.tiff import is 33556 lines, compared with 164 lines for the lsm.
Seems like ome.tiff import could do with some optimisation.
Log files attached.
Attachments (3)
Change History (11)
Changed 6 years ago by wmoore
Changed 6 years ago by wmoore
comment:1 Changed 6 years ago by jamoore
comment:2 Changed 6 years ago by jamoore
All the above were from the PIXELDATA_PROCESSED phase (under profiler):
2013-12-17 12:53:54,519 23008 [ main] INFO ormats.importer.cli.LoggingImportMonitor - FILESET_UPLOAD_END 2013-12-17 12:55:01,596 90085 [l.Client-1] INFO ormats.importer.cli.LoggingImportMonitor - METADATA_IMPORTED Step: 1 of 5 Logfile: 8703 2013-12-17 13:03:13,934 582423 [l.Client-0] INFO ormats.importer.cli.LoggingImportMonitor - PIXELDATA_PROCESSED Step: 2 of 5 Logfile: 8703
comment:3 Changed 6 years ago by jamoore
- Cc fs@… added
- Owner changed from jamoore to mlinkert
Passing to Melissa for review. There's likely nothing that can/should be one for RC1.
comment:4 Changed 6 years ago by mlinkert
- Milestone changed from 5.0.0-rc1 to 5.0.0
- Priority changed from critical to major
The difference in log file size is due to a difference in optimal tile height (and likely the height of pixel data strips stored in the files). I would guess that this also has some performance impact.
Probably the first thing to do after RC1 is to look at the export code; there are ways to make the strips larger when appropriate, which may help matters.
comment:5 Changed 6 years ago by mlinkert
- Resolution set to fixed
- Status changed from new to closed
PRs opened:
https://github.com/openmicroscopy/bioformats/pull/871
https://github.com/openmicroscopy/openmicroscopy/pull/2029
In my tests, the import times are now roughly the same for the original vs. exported files.
comment:6 Changed 5 years ago by wmoore
- Milestone changed from 5.0.0 to 5.0.1
- Resolution fixed deleted
- Status changed from closed to reopened
Another report of "OME.tiff import slow" http://www.openmicroscopy.org/community/viewtopic.php?f=6&t=7442&p=13590 so I'm re-opening this (please re-assign if necessary). yuriy created these OME-XMLs himself, but I don't have the details.
Files were submitted to QA: 7942
comment:7 Changed 5 years ago by jamoore
comment:8 Changed 5 years ago by mlinkert
- Resolution set to fixed
- Status changed from reopened to closed
A few random stack traces: