We're Hiring!

Performances (memory settings)

Having a problem deploying OMERO? Please ask new questions at https://forum.image.sc/tags/omero
Please note:
Historical discussions about OMERO. Please look for and ask new questions at https://forum.image.sc/tags/omero

The OMERO.server installation documentation begins here and you can find OMERO.web deployment documentation here.

Performances (memory settings)

Postby phm » Wed Sep 10, 2014 8:40 am

Hi,

I would like to correctly adjust the performances on a dedicated OMERO server on Centos 6.5 with 32 Go. I read the documentation (http://www.openmicroscopy.org/site/supp ... mance.html). However, some points are not clear for me. The default configuration givet 3 blitz process :
Domero.name=Blitz-0 -Xmx5042m, XX:MaxPermSize=1g
Domero.name=Indexer-0 -Xmx3361m, -XX:MaxPermSize=1g
Domero.name=PixelData-0 -Xmx5042m, -XX:MaxPermSize=1g

Should I allocate the total memory to the server :
bin/omero config set omero.jvmcfg.system_memory 32000

And set the maximum system memory seen by an OMERO to 32 Go
bin/omero config set omero.jvmcfg.max_system_memory 32000

Or I should reserve some space for the system.

Thanks

Philippe
phm
 
Posts: 185
Joined: Tue Mar 19, 2013 3:39 pm

Re: Performances (memory settings)

Postby jmoore » Thu Sep 11, 2014 7:24 am

If you physically have 32GB of memory on the system, you will definitely need to keep some in reserve for other processes. Setting `system_memory` will result in:
Code: Select all
$ bin/omero config set omero.jvmcfg.system_memory 32000
$ bin/omero admin jvmcfg
JVM Settings:
============
blitz=-Xmx4800m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})
indexer=-Xmx3200m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})
pixeldata=-Xmx4800m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})
repository=-Xmx3200m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})


You can then use the "percent" values to bump the components:
Code: Select all
$ bin/omero config set omero.jvmcfg.percent.blitz 20
$ bin/omero admin jvmcfg
JVM Settings:
============
blitz=-Xmx6400m -XX:MaxPermSize=1g # Settings({'system_memory': '32000', 'percent': '20'})
indexer=-Xmx3200m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})
pixeldata=-Xmx4800m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})
repository=-Xmx3200m -XX:MaxPermSize=1g # Settings({'system_memory': '32000'})

Alternatively, you can simply set the heap as you see fit:
Code: Select all
$ bin/omero config set omero.jvmcfg.percent.blitz  # unset
$ bin/omero config set omero.jvmcfg.system_memory   # unset
$ bin/omero config set omero.jvmcfg.heap_size.blitz 10000
$ bin/omero admin jvmcfg
JVM Settings:
============
blitz=-Xmx10000m -XX:MaxPermSize=1g # Settings({'heap_size': '10000'})
indexer=-Xmx2523m -XX:MaxPermSize=1g
pixeldata=-Xmx3784m -XX:MaxPermSize=1g
repository=-Xmx2523m -XX:MaxPermSize=1g

Once you're happy with the results, you'll need to restart the server.

Cheers,
~Josh
User avatar
jmoore
Site Admin
 
Posts: 1591
Joined: Fri May 22, 2009 1:29 pm
Location: Germany


Return to Installation and Deployment

Who is online

Users browsing this forum: No registered users and 1 guest