It should, but in Guillaume's example they didn't differ by much, both were 
slow.

It seems to be running with the default soft references cache which might turn 
over if every node and property is just visited once and then only a second 
time in the second run.

Michael

Am 07.10.2011 um 09:19 schrieb Mattias Persson:

> Also, is that the first run directly after a JVM start? The first time you
> encounter a Node or Relationship it is loaded from disk into memory so that
> the next time it's read from memory instead. The difference between two runs
> can be order of magnitudes in difference.
> 
> 2011/10/6 Michael Hunger <michael.hun...@neotechnology.com>
> 
>> Hmm virtual machines might be difficult, esp. with the io indirection.
>> 
>> Your memory settings for the db are:
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.nodestore.db.mapped_memory=20M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.arrays.mapped_memory=130M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.index.keys.mapped_memory=1M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.index.mapped_memory=1M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.mapped_memory=90M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.strings.mapped_memory=130M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.relationshipstore.db.mapped_memory=100M
>> 
>> Can you change that so that it uses the rest of your memory (say 2GB).
>> 
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.nodestore.db.mapped_memory=200M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.arrays.mapped_memory=100M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.index.keys.mapped_memory=1M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.index.mapped_memory=1M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.mapped_memory=1000M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.propertystore.db.strings.mapped_memory=200M
>>       • Fri Oct 07 00:10:01 IST 2011:
>> neostore.relationshipstore.db.mapped_memory=800M
>> 
>> See also:
>> http://docs.neo4j.org/chunked/snapshot/configuration.html
>> 
>> Could you also have a look at this:
>> http://wiki.neo4j.org/content/Linux_Performance_Guide
>> 
>> Is it possible to share your code/graphdb(generator) - also off-list. I'd
>> like to have a look.
>> 
>> Thanks
>> 
>> Michael
>> 
>> Am 06.10.2011 um 22:14 schrieb Guillaume ALLEE:
>> 
>>> Hi,
>>> 
>>> Here are the answers I can give you quickly:
>>> 
>>> How much memory does your machine have?
>>>> 5066 MB (from free -m)
>>> 
>>> What kind of disk is in there?
>>>> I do not know, the machine is a VM  provided by another department of my
>>> company. What I can tell you is that on my i5 laptop the same was taking
>> 6-8
>>> minutes.
>>> 
>>> Have you looked at the memory config for the neo4j db?
>>>> No I did only change the head size.
>>> 
>>> What kind of scheduler do you use (please try deadline or as)?
>>>> it seems to be as.
>>> 
>>> Can you please share the config and JVM info that is output at the head
>> of
>>> graphdb/messages.log ?
>>>> see here http://pastebin.com/0geHdbNu
>>> 
>>> 
>>> 
>>> --
>>> View this message in context:
>> http://neo4j-community-discussions.438527.n3.nabble.com/Big-Traverser-perfomance-are-23-rels-per-milliseconds-good-tp3400711p3400925.html
>>> Sent from the Neo4j Community Discussions mailing list archive at
>> Nabble.com.
>>> _______________________________________________
>>> Neo4j mailing list
>>> User@lists.neo4j.org
>>> https://lists.neo4j.org/mailman/listinfo/user
>> 
>> _______________________________________________
>> Neo4j mailing list
>> User@lists.neo4j.org
>> https://lists.neo4j.org/mailman/listinfo/user
>> 
> 
> 
> 
> -- 
> Mattias Persson, [matt...@neotechnology.com]
> Hacker, Neo Technology
> www.neotechnology.com
> _______________________________________________
> Neo4j mailing list
> User@lists.neo4j.org
> https://lists.neo4j.org/mailman/listinfo/user

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to