Status: New
Owner: ----
New issue 3778 by [email protected]: How to tune semi-space size for
minorGC
https://code.google.com/p/v8/issues/detail?id=3778
Detailed description of the issue.
When I run a real game on Nexus7, I found that the FPS is very low.
According to Chromium's profile data from tracing tool. It shows that GC in
V8 takes a lot of time.
some bottlenecks the ratio it weight in render main thread when FPS
is very low
GCScavenger/minorGC > 20%
GCIncrementalMarking > 10%
RecompileSynchrous > 5%
The game generate lots of particles dynamically per frame, which introduced
minorGC. minorGC also caused code deopt and opt frequently... But the
system memory is not under pressure at all.
I try to tune semi-space size:
1. by command line --js-flags="--max-semi-space-size=32"
2. by revision to the default value of V8 code in src/heap/heap.cc:
--max-semi-space-size=reserved-semispace-size=32M,
--target-semispace-size=initial-semispace-size=4M
Neither of these 2 methods above work.
So, How to tune semi-space size for minorGC? or do you have any other
suggestions to optimize this game?
Attachments:
minorGC.png 25.9 KB
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.