View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0015989ParaView(No Category)public2016-02-10 22:022016-08-12 10:00
ReporterAlan Scott 
Assigned ToSujin Philip 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionmoved 
PlatformOSOS Version
Product Version5.0 
Target Version5.1Fixed in Version 
Summary0015989: Angular periodic filter is slow
DescriptionThe Angular Periodic Filter is slow, especially if a user has multiple blocks and uses a thin slice. If possible, please fix this.

* 5.0.0, Linux, local server.
* Load DoNotRelease-cylinderUpset.e. This dataset has two blocks, and lots of variables, and about 150 timesteps. Load the blocks, load all of the variables, do NOT load the sets. Apply.
* Clear the timer log. (Tools/ Timer Log).
* Angular Periodic Filter. Turn both blocks on. Resolution angle 1, Axis Z. Apply.
* Open the timer log. Notice how long it has taken.

This is impacting a user. This toy dataset takes a few seconds to load. The actual dataset (which cannot be shared) takes 20 to 60 seconds per timestep. One way to see what the user sees is to change the Resolution angle to 0.2.

From timer log:

PropertiesPanel::Apply, 3.59576 seconds
    Execute vtkAngularPeriodicFilter id: 51, 0.031081 seconds
    AngularPeriodicFilter::GatherInformatio, 0.076252 seconds
    AngularPeriodicFilter::GatherInformatio, 0.059751 seconds
    AngularPeriodicFilter::GatherInformatio, 0.046584 seconds
    RenderView::Update, 2.65698 seconds
        vtkPVView::Update, 2.65694 seconds
            Execute vtkGeometryRepresentationWithFa, 2.65619 seconds
                vtkPVGeometryFilter::RequestData, 2.58984 seconds
                    vtkPVGeometryFilter::RequestCompositeDa, 2.58983 seconds
                        vtkPVGeometryFilter::ExecuteCompositeDa, 1.65151 seconds
    vtkSMRepresentationProxy::GetRepresente, 0.069979 seconds
    Still Render, 0.496506 seconds
        OpenGL Dev Render, 0.102788 seconds

I am sending the dataset to Utkarsh directly.
TagsNo tags attached.
ProjectSandia
Topic Name
Typeperformance
Attached Files

 Relationships

  Notes
(0035712)
Alan Scott (manager)
2016-02-11 17:20

OK, I puttered with this a bit further. I did two runs with a larger (real) dataset. Loading all of the data (49 variables, about 60 components (some vars are vectors), about 5000 cells, 11,000 points, about 5 blocks), which represents a 1 degree pie slice, then making a complete cylinder takes the following time:

Loading all variables takes 48 seconds per frame.
Loading none of the variables takes about 10 seconds per frame.

The first, and most significant issue is in the following call stack, top is outside of loops:

While(each 1 degree slice, i.e., for 1 to 360)
{
  vtkDataSetSurfaceFilter::UnstructuredGridExecute
  {
    While(each cell or point, 1 to 10,000)
    {
      vtkDataSetAttributes::CopyData
      {
        for(each variable, 1 to 57)
          vtkDataSetAttributes::CopyTuple
            vtkDataArrayTemplate<double>::InsertTuple
            {
              Lots of useless if tests, making sure data types match, etc.
              vtkDataArrayTemplate<double>::GetTupleValue
              {
                for i = 1 to 1
                  Copy one variable
              }
            }
      }
    }
  }
(0035821)
Utkarsh Ayachit (administrator)
2016-03-03 11:33

Sujin, I'd use David Lonie's Generic Array branch for this which includes a different implementation for this filter. Check to see if that implementation has the same issue before proceeding.
(0038999)
Kitware Robot (administrator)
2016-08-12 10:00

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current ParaView Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-02-10 22:02 Alan Scott New Issue
2016-02-10 22:14 Alan Scott Target Version => 5.1
2016-02-10 22:20 Alan Scott Description Updated
2016-02-11 17:20 Alan Scott Note Added: 0035712
2016-03-03 11:32 Utkarsh Ayachit Assigned To => Sujin Philip
2016-03-03 11:33 Utkarsh Ayachit Note Added: 0035821
2016-08-12 10:00 Kitware Robot Note Added: 0038999
2016-08-12 10:00 Kitware Robot Status backlog => closed
2016-08-12 10:00 Kitware Robot Resolution open => moved


Copyright © 2000 - 2018 MantisBT Team