I have been having trouble with the V8 GC taking 22 seconds. I have tried 
to tweak the GC flags as much as possible.

Here is the thread for anyone who has similar issues: 
https://groups.google.com/d/topic/v8-users/Xc5EriJtpd4/discussion

I went back to Node v0.6.21 which has an older V8 and this solved the 
problem but then max-old-space-size is limited to 1900 MB I think. Any Node 
higher than v0.6.21 has a higher version of V8 which exhibits the problem.

The main issue is a large persistent object used as a hash table for 
storing a few million entries. The GC cannot subdivide work against this 
object.

The key may be to add an interface in front of the object, and then shard 
the object and route the get/set/unset hash calls to an array of objects.

-- 
Job Board: http://jobs.nodejs.org/
Posting guidelines: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en

Reply via email to