Open kswang1029 opened 3 years ago
Animation playback is single-threaded.
It wasn't entirely clear to me whether you just wanted to limit the number of threads (this is already possible if you use the OMP_NUM_THREADS
environmental variable) or actually disable this functionality entirely (that would be more of a frontend and backend issue)
When animation playback is on, I see my CPU cores are fully occupied. Due to tile generation?
Animation playback is single-threaded.
It wasn't entirely clear to me whether you just wanted to limit the number of threads (this is already possible if you use the
OMP_NUM_THREADS
environmental variable) or actually disable this functionality entirely (that would be more of a frontend and backend issue)
The idea here is to limit only those not-that-essential tools for the ALMA archive. If we use OMP_NUM_THREADS to globally limit the CPU usage, viewing images will be slowing down too.
When animation playback is on, I see my CPU cores are fully occupied. Due to tile generation?
yes. So this is true for image viewing in general as well. I guess we could limit the FPS or something?
@kswang1029 to refine the requirements
for the v2.0 release I suggest we handle the write permission only so that the deployment to ALMA archive can use the feature. For advanced computing resource management we need more thoughts.
NOTE: please move this issue to a proper repo if this repo is not the right place
For an image archive such the ALMA science archive, the main use case is to view images quickly instead of performing analysis directly using CARTA as a platform. Thus in this case, the archive would like to limit the CPU usage of some intensive calculations while keeping the performance of image "viewing" functionalities. Non-essential save functions should be disabled too. In these cases, operations include:
save regionsave image (after moment map generation)save subimage (not yet supported as v1.4)