Neo4j jmeter test

429 views
Skip to first unread message

metamoi

unread,
Apr 3, 2012, 10:26:06 PM4/3/12
to Neo4j
I ran the Apache JMeter of neo4j.
The number of nodes is about 7,300,000, properties are 41,000,000 and
relations are 27,000,000.
I set the jmeter as follows:
the number of threads - 10
Loop count - 10,000

I used the cypher query of php client on my own apache web server to
run JMeter.

I got the following results:

Average: 54
Min: 20
Max: 21024
Std. Dev.: 203.03
Throughput: 179.7/sec

I think that the min value and the average value are quite good for
service,
but standard deviation seems to be too high to run a service.

I would like to hear others' opinion about this result.
Do you think that the result shows that the performance of neo4j is
so problematic to run product service?

When I decreased the loop count, I got the lower std. dev. and max
value.

Michael Hunger

unread,
Apr 4, 2012, 1:48:55 AM4/4/12
to ne...@googlegroups.com
Depends on what you want to do.

What version do you run?

Did you have a warmup period?

Michael

Sent from mobile device

metamoi

unread,
Apr 5, 2012, 4:11:58 AM4/5/12
to Neo4j
I'm testing the neo4j-enterprise-1.7-SNAPSHOT for common-friend
suggestion.

On Apr 4, 2:48 pm, Michael Hunger <michael.hun...@neopersistence.com>
wrote:
> Depends on what you want to do.
>
> What version do you run?
>
> Did you have a warmup period?
>
> Michael
>
> Sent from mobile device
>

Peter Neubauer

unread,
Apr 10, 2012, 4:41:24 AM4/10/12
to ne...@googlegroups.com
Metamoi,
I am suspecting GC pauses to be involved there. Any chance you can profile this?

Cheers,

/peter neubauer

G:  neubauer.peter
S:  peter.neubauer
P:  +46 704 106975
L:   http://www.linkedin.com/in/neubauer
T:   @peterneubauer

Neo4j                                - Graphs rule.
Program or be programmed - Computer Literacy for kids.
http://foocafe.org/#CoderDojo

Mattias Persson

unread,
May 2, 2012, 3:05:58 AM5/2/12
to ne...@googlegroups.com
You should try with the new GC resistant cache then. Add:

    cache_type=gcr

in your neo4j config to use ut.

2012/4/10 Peter Neubauer <peter.n...@neotechnology.com>



--
Mattias Persson, [mat...@neotechnology.com]
Hacker, Neo Technology
www.neotechnology.com
Message has been deleted

Andrii Stesin

unread,
Dec 11, 2014, 6:00:00 AM12/11/14
to ne...@googlegroups.com, mat...@neotechnology.com
Where exactly does this parameter belong to - neo4j.properties I suppose ?

Thanks,
Andrii

Michael Hunger

unread,
Dec 11, 2014, 6:11:53 AM12/11/14
to ne...@googlegroups.com, Mattias Persson
Today it is cache_type=hpc

yes, in neo4j.properties for neo4j-enterprise

You can also try cache_type=none

can help too.

--
You received this message because you are subscribed to the Google Groups "Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neo4j+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nibs

unread,
Mar 2, 2016, 7:27:23 AM3/2/16
to Neo4j, mat...@neotechnology.com
Hi,
I wanted to know how can we populate data in neo4j DB before starting jmeter test and clear Neo4j DB after test.

Thanks in advance!

Michael Hunger

unread,
Mar 6, 2016, 11:00:55 PM3/6/16
to ne...@googlegroups.com
You can populate the db by either running a program that generates the data or use a data generator like graphgen (graphgen.neoxygen.io) or run a Cypher script with the necessary statements e.g. with bin/neo4j-shell -file import.cypher

Reply all
Reply to author
Forward
0 new messages