mawey
mawey

Reputation: 93

Recommended settings for a Neo4j Server

I configure a Neo4j Server (2.0.2) on a Debian Wheezy (7.5) 64bit Server in a VMware Machine. I use Oracle Java 7 Update 55 64bit. The host system is server with a Intel Xeon X5650 with 2.67GHz. The VM has 2 (virtual) cores with a limit of 1000MHz, 4GB RAM and 50GB diskspace.

What are the recommended settings for the Neo4j Server if it runs alone in this VM (like Java Stacksize, Neo4j sizes etc.)? I already increased the number of open files limit to 40000.

Upvotes: 0

Views: 165

Answers (1)

Stefan Armbruster
Stefan Armbruster

Reputation: 39915

Without detailed information about the structure and size of your graph, your sizing in terms of requests per timeout, query complexity and patterns, write vs. read ratio it's almost impossible to give a good advice.

You might read through http://docs.neo4j.org/chunked/stable/embedded-configuration.html for general information.

As a rule of thumb you should have the ondisc size of your graph in RAM plus the demand of the JVM including object caches.

In general virtual machines tend to have issues regarding IO latency. If you can assign native discs, preferable SSDs, do it.

Upvotes: 1

Related Questions