-
Notifications
You must be signed in to change notification settings - Fork 1
Install Performance Improvements
Home | Installation Guide | User Guide | Admin Guide | User Tests
Before installing, there are three settings that can be adjusted to improve the performance, although this increases the resources required. Three relevant files:
- docker-compose-template.yml
- /xnat/setevn.sh
- /postgres/postgresql.conf
Docker-compose-template: This limits the resources available to the containers.
resources:
limits:
cpus: '2'
memory: 2500M
If adjustments are made to the tomcat and postgresqql settings, the resources allocated to each container will need to be changed accordingly.
Setenv.sh:
export CATALINA_OPTS="${CATALINA_OPTS} -Xms512m -Xmx1536m"
export JAVA_OPTS="${JAVA_OPTS} -Xms512m -Xmx1536m"
changing -Xmx1536 to -Xmx2560, for example, will increase the memory allocated to tomcat by 1Gb. The corresponding memory limits in the docker-compose-template.yml will need to increase by 1Gb for xnat1 and xnat2.
postgresql.conf
shared_buffers = 512MB - change to 1024MB
maintenance_work_mem = 64MB - change to 128MB
The corresponding memory limits in the docker-compose-template.yml will need to increase from 900/1000M to 1250M for xnat-db1 and xnat-db2.
When DASHER is installed, you can edit the docker-compose.yml file, increasing the cotnainer limits, and run restart.sh/restart.bat.
Navigate: Home | Installation Guide | User Guide | Admin Guide | User Tests
New Pages:
- Test Release Version 4 Notes
- First time install on Windows
- First time install on Linux
- Updating DASHER on Windows
- Updating DASHER on Linux
- Editing xnat.cfg
- Building DASHER on Windows
- Building DASHER on Linux
- Installing the Processing Pipelines
- Setting up XSync
- Troubleshooting
- Logging in to the Servers
- Overview of DASHER
- Importing Data into DASHER
- Pseudonymising Data
- Uploading Data to a Remote Server
- Exporting Data from DASHER
- The QUARANTINE Project
- Create and Edit Users
- Adding Clinical Trials
- Managing the QUARANTINE Project
- Setting Quarantine Protocol
- Adding a Project for Local Research
- Adding a Project for a Remote Server
- Changing the Pseudonymisation
- Installing SSL Certificates
- Maintenance
- Download Test Data
- Installing DASHER
- Installing Plugins
- Adding Clinical Trial
- Creating a New User
- Importing Data into DASHER
- Pseudonymising Data 1
- Export Pseudonymised Data Locally
- Upload Data (XSync)
- Import - DICOM push
- Import - Duplicate
- Import - Single RTSTRUCT
- Import - Quarantine
- Pseudonymise - Edits
- Pseudonymise - Missing structure
- Pseudonymise - Local research
- Restarting Docker