Notice: In order to edit this ticket you need to be either: a Product Owner, The owner or the reporter of the ticket, or, in case of a Task not yet assigned, a team_member"

Task #11420 (closed)

Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

Disable location stats calculation for big images

Reported by: cxallan Owned by: cxallan
Priority: blocker Milestone: 5.0.0-beta1
Component: Performance Version: 5.0.0-beta1
Keywords: n.a. Cc: mlinkert, jburel
Resources: n.a. Referenced By: n.a.
References: n.a. Remaining Time: 0.0d
Sprint: n.a.

Description

Location stats calculation is important for the "pretty good image" (PGI) initial rendering settings that OMERO currently relies upon. The actual calculation for these stats is performed by iterating over all tiles of the first optical section (Z) and timepoint (T) of each channel (C). Doing this for a big image not only performs poorly, it's dangerous. Using this functionality via a non-queued API such as that exposed by the RenderingEngine or ThumbnailBean can result in many minutes of parallel computation.

We have not noticed issues with this code in the past due to big images being predominantly 8-bit per channel RGB. Location stats calculation is already disabled for images of this type. Furthermore, these issues become much more obvious when resetting or setting the initial settings for many 16-bit big images in a collaborative group of Read-Annotate or Read-Write state. Under these conditions the OMERO server and OMERO.web if it is being used to request the thumbnails is effectively subjected to a denial of service.

Change History (6)

comment:1 Changed 6 years ago by cxallan

  • Owner set to cxallan
  • Status changed from new to accepted

comment:2 Changed 6 years ago by cxallan

  • Cc mlinkert jburel added

comment:3 Changed 6 years ago by Chris Allan <callan@…>

  • Remaining Time set to 0
  • Resolution set to fixed
  • Status changed from accepted to closed

(In [4971e2cc8c351edf7c28941d42358aeaea228f76/ome.git] on branch develop) Disable location stats calculation for big images (Fixes #11420)

comment:4 Changed 6 years ago by jean-marie burel <j.burel@…>

(In [18c6a2fb3968ff956b8a1459bb5f017604da72b7/ome.git] on branch develop) Merge pull request #1440 from chris-allan/no-big-image-pgi

Disable location stats calculation for big images (Fixes #11420)

comment:5 Changed 6 years ago by Jean-Marie Burel <j.burel@…>

(In [40f7fff2483f6e87ff4ec8be210292845c9ddd0a/ome.git]on branches master, dev_4_4) Disable location stats calculation for big images (Fixes #11420)

comment:6 Changed 6 years ago by Josh Moore <josh@…>

(In [74cbb57ee2c60e23e8d732a3f3f92832b742e6c7/ome.git]on branches master, dev_4_4) Merge pull request #1496 from jburel/no-big-image-pgi

Disable location stats calculation for big images (Fixes #11420)

Note: See TracTickets for help on using tickets. You may also have a look at Agilo extensions to the ticket.

1.3.13-PRO © 2008-2011 Agilo Software all rights reserved (this page was served in: 0.80990 sec.)

We're Hiring!