# Why the the tool of scissor become slower after I undated my computer?

**URL:** <https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887>\
**Category:** Support\
**Created:** [March 28, 2020, 11:33am UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887 "2020-03-28T11:33:37Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![researchtomliu](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@researchtomliu](https://discourse.slicer.org/u/researchtomliu)\
**Post date:** [March 28, 2020, 11:33am UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/1 "2020-03-28T11:33:37Z")

</div>

I have updated my computer to make the 3D-Slicer run faster. The new CPU is AMD 2950X and the GPU is RTX 2080Ti. But when I performed the software to deal with the DICOM data, I found that running of scissor tool in the modules of segment editor is too slow, even significantly slower than my old computer with the GPU 1070. Can someone help me to solve this problem?

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 28, 2020, 2:24pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/2 "2020-03-28T14:24:34Z")

</div>

GPU is used for visualization only (with a few exceptions), so having a stronger GPU is not expected to change processing speed.

To speed up editing operations, disable 3D display (or at least disable smoothing) and/or crop and resample the master volume (using Crop volume module) before starting segmentation.

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [March 28, 2020, 2:48pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/3 "2020-03-28T14:48:41Z")

</div>

I seem to remember something about 2080’s not supporting OpenGL properly and this causing issues? I may be mis-remembering this, my brain is totally fried this week.

---

<div class="post-metadata">

**Author:** ![researchtomliu](https://avatars.discourse-cdn.com/v4/letter/r/ccd318/32.png) [@researchtomliu](https://discourse.slicer.org/u/researchtomliu)\
**Post date:** [March 28, 2020, 4:05pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/4 "2020-03-28T16:05:26Z")

</div>

Thanks, I found that only the scissor was encumbered by the new GPU, the other modules ran faster than them on my old computer.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [March 28, 2020, 5:49pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/5 "2020-03-28T17:49:10Z")

</div>

Could you take a screen capture video of what you do (or give a very detailed description) so that we can reproduce it? Is drawing the line takes longer, or the update of the segmentation after you release the mouse button? How long do you have to wait? How many segments do you have? What are the dimensions of the segmented volume? Can you reproduce it using any of the data sets downloaded using Slicer’s Sample Data module?

---

<div class="post-metadata">

**Author:** ![zyy\_13579](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zyy_13579/32/8261_2.png) [@zyy\_13579](https://discourse.slicer.org/u/zyy_13579)\
**Post date:** [April 25, 2021, 5:48am UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/6 "2021-04-25T05:48:18Z")

</div>

I use CTChest did test. Threshold set 72-3071,  
PC1  
CPU:AMD 4800U,(Laptop)  
Memory:16G 3200Mhz,  
GPU:Vega8

PC2  
CPU:Intel i7 10700,(Desktop)  
Memory:16G 3200Mhz,  
GPU:RTX 3060

PC3  
CPU:Intel i7 7700HQ,(MacBookPro15)  
Memory:16G 2133Mhzz,  
GPU:Radeon Pro 555

PC4  
CPU:Intel i5 8265U,(Laptop)  
Memory:8G 2600Mhz,  
GPU:Intel 620HD

Test Case one : Show 3D.  
PC1,Cost time: 16s  
PC2,Cost time: 10s  
PC2,Cost time: 19s  
PC4,Cost time: 15s

Test Case tow : Cut the surface behind chest.  
PC1,Cost time: 16s  
PC2,Cost time: 10s  
PC3,Cost time: 19s  
PC4,Cost time: 15s

Why amd 4800u is slower than intel 8265u? It shoud not happen  
 ![cpu](https://us1.discourse-cdn.com/flex002/uploads/slicer/original/3X/a/8/a8de548dd67ce85e7ea9284c9fb42afa9044aa82.jpeg)

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 25, 2021, 1:02pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/7 "2021-04-25T13:02:11Z")

</div>

What operating system and Slicer version did you use for the testing?

Please try the latest Slicer Preview Release, as surface smoothing (which used to be the main performance bottleneck during 3D model generation) is 40x faster in the new version.

Also make sure to enable maximum speed in your power management settings.

You can try to attach a profiler to see where most of the time is spent (e.g. VerySleepy on Windows).

Slicer uses TBB, which uses sophisticated parallelization methods, which may not work as well on AMD as on Intel, but with a quick web search I did not find much (if 2x slowdown of TBB on AMD vs. Intel was a common thing then it should have been widely reported).

---

<div class="post-metadata">

**Author:** ![zyy\_13579](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/zyy_13579/32/8261_2.png) [@zyy\_13579](https://discourse.slicer.org/u/zyy_13579)\
**Post date:** [April 26, 2021, 3:13am UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/8 "2021-04-26T03:13:30Z")

</div>

System: Windows10pro 20H2  
Slicer Version: latest statble release 4.11.20210226  
I has been try latest Preview Release in PC1.Really fast,from 16s decrease to 4-5s.  
Great Job！ 👍 👍 👍

---

<div class="post-metadata">

**Author:** ![muratmaga](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/muratmaga/32/3622_2.png) [@muratmaga](https://discourse.slicer.org/u/muratmaga)\
**Post date:** [April 26, 2021, 4:52am UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/9 "2021-04-26T04:52:41Z")

</div>

> [@lassoan](#):
>
> Please try the latest Slicer Preview Release, as surface smoothing (which used to be the main performance bottleneck during 3D model generation) is 40x faster in the new version.

This great! Has been a major issue for us…

---

<div class="post-metadata">

**Author:** ![chir.set](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/chir.set/32/66982_2.png) [@chir.set](https://discourse.slicer.org/u/chir.set)\
**Post date:** [April 26, 2021, 10:06am UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/10 "2021-04-26T10:06:04Z")

</div>

> [@lassoan](#):
>
> Slicer uses TBB

Does it concern Linux builds also ? If so, what would be the configuration parameters to cmake ? TIA.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 26, 2021, 1:17pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/11 "2021-04-26T13:17:35Z")

</div>

Relevant CMake variables and logic is here:

> <https://github.com/Slicer/Slicer/blob/d06e71c8a67c2801ddd78b8f17a663256bae5d7d/CMakeLists.txt#L484..L501>

You can use system TBB or make Slicer download/build TBB as part of the supervuild process. You can find additional logic for this if you search for `Slicer_USE_TBB` in the source code.

In official Slicer releases TBB is probably only used on Windows. @Sam_Horvath can you confirm?

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [April 26, 2021, 1:36pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/12 "2021-04-26T13:36:46Z")

</div>

> [@lassoan](#):
>
> `Slicer_VTK_SMP_IMPLEMENTATION_TYPE`

Correct, the Linux and macOS releases do not use TBB.

---

<div class="post-metadata">

**Author:** ![hherhold](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/hherhold/32/12199_2.png) [@hherhold](https://discourse.slicer.org/u/hherhold)\
**Post date:** [April 26, 2021, 1:37pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/13 "2021-04-26T13:37:50Z")

</div>

Is there a particular reason for this? Just not tested yet?

Thanks!

---

<div class="post-metadata">

**Author:** ![Sam\_Horvath](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/sam_horvath/32/3092_2.png) [@Sam\_Horvath](https://discourse.slicer.org/u/Sam_Horvath)\
**Post date:** [April 26, 2021, 5:05pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/14 "2021-04-26T17:05:40Z")

</div>

Yes, so far as I know, we haven’t had the bandwidth to test on the other platforms.

---

<div class="post-metadata">

**Author:** ![lassoan](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/lassoan/32/13_2.png) [@lassoan](https://discourse.slicer.org/u/lassoan)\
**Post date:** [April 26, 2021, 8:20pm UTC](https://discourse.slicer.org/t/why-the-the-tool-of-scissor-become-slower-after-i-undated-my-computer/10887/15 "2021-04-26T20:20:25Z")

</div>

As far as I know, Slicer with TBB has not been tested on Linux. I guess the main reason is that in most of the funded projects, Slicer is used on Linux on servers in special/virtualized/limited hardware environments, where TBB might not help much and/or cause compatibility issues.
