Performance issues using Osimis web viewer and PostgreSQL

Hello,
We installed Orthanc v. 1.4.2, compiled without debug assertions using -DCMAKE_BUILD_TYPE=Release on a Windows Server computer. We installed the Osimis web viewer with it and upgraded to PostgreSQL (and changed the configuration file accordingly). Our files are stored on SSD, total of ~28000 files that weigh 4GB. However, loading a study with the Osimis web viewer is very slow, more than 3-4 minutes for a study of ~5-6 series.

  1. What else should we consider in order to improve performance?

  2. Does the compression type of the DICOM files affect performance when using Osimis web viewer? If it does, what type of compression (if any) do you recommend?

  3. Is the pre-compiled version available for download is compiled in release or debug mode? Is it compiled with -DCMAKE_BUILD_TYPE=Release?

Thanks,
Rotem

Sorry, installed version 1.4.1

Sorry, installed version 1.4.1

Hello,
We installed Orthanc v. 1.4.2, compiled without debug assertions using -DCMAKE_BUILD_TYPE=Release on a Windows Server computer. We installed the Osimis web viewer with it and upgraded to PostgreSQL (and changed the configuration file accordingly). Our files are stored on SSD, total of ~28000 files that weigh 4GB. However, loading a study with the Osimis web viewer is very slow, more than 3-4 minutes for a study of ~5-6 series.

  1. What else should we consider in order to improve performance?

You could try to enable some caching:
"InstanceInfoCacheEnabled"``: ``**true**

And eventually play with the other caches too.

  1. Does the compression type of the DICOM files affect performance when using Osimis web viewer? If it does, what type of compression (if any) do you recommend?

This Transfer syntax is the fastest to load/decompress:

1.2.840.10008.1.2.4.70 | JPEG Lossless |

  • | - |
  1. Is the pre-compiled version available for download is compiled in release or debug mode? Is it compiled with -DCMAKE_BUILD_TYPE=Release?

Sure !

Hi Alain,

Could you please explain what “InstanceInfoCacheEnabled”: true does ?

Also you mentioned " other caches". Are these documented somewhere?

https://osimis.atlassian.net/wiki/spaces/OKB/pages/10321921/Osimis+Web+Viewer±+Configuration+file