So here is what we ended up with.

java.args=-server -Xms4096m -Xmx8192m -Dsun.io.useCanonCaches=false
-XX:MaxPermSize=1024m -Dsun.rmi.dgc.client.gcInterval=150000
-Dsun.rmi.dgc.server.gcInterval=150000 -XX:+UseParallelGC -Xbatch

We tried making max and min perm size the same, but for some reason, it
really didn't like it.

This set up has worked well for 2 + weeks, and now we seem to be at a happy
point where the norm is requests under 500ms, with a select few taking 2
seconds.

Thanks for all the help.


On Wed, Feb 23, 2011 at 5:44 PM, Carl Meyer <[email protected]> wrote:

>
> Did any of those suggestions with NewGen, Thread Cores or Low Pause GC
> help?
> Regards, Carl.
>
> > Hi everyone,
> >
> > thanks for all the good feedback.
> >
> > Let me first tell you WHY I think its a JVM issue, then show you what
> > results I have had.
> >
> > We took the exact same code, and connected it to the exact same DB
> > (and DB
> > server) and ran the exact same code in isolation. The comparison was
> > outstanding about 2s on the old machine and 10s as you have seen on
> > the new.
> >
> >
> > The connection between the SQL and both web machines pinged at <1ms
> >
> > We tried the connection from various locations and ruled out network
> > issues
> > (although there could be ). We looked at execution times and logged
> > the
> > information pretty heavily in the intensive parts of the app and saw
> > that,
> > on comparison between machines the differences. Given that, and the
> > isolation tests, the only thing we could see that was different was
> > the JVM
> > settings, thus the conclusion we came too.
> >
> > so having taken some of the suggestions into account I have ended up
> > with
> > this setting:
> >
> > java.args=-server -Xms4096m -Xmx8192m -Dsun.io.useCanonCaches=false
> > -XX:PermSize=1024m -XX:MaxPermSize=1024m
> > -Dsun.rmi.dgc.client.gcInterval=150000
> > -Dsun.rmi.dgc.server.gcInterval=150000 -XX:+UseParallelGC -Xbatch
> > -Dcoldfusion.rootDir={application.home}/
> > -Djava.security.policy={application.
> home}/>
> servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/coldfusion.
> > policy
> > -Djava.security.auth.policy={application.
> home>
> }/servers/cfusion/cfusion-ear/cfusion-war/WEB-INF/cfusion/lib/neo_jaas.
> > policy
> >
> > This puts us at an execution time parallel to the old 32 bit machine,
> > down
> > at 1.5-2 seconds. while this is a vast improvement I would hope that
> > more
> > gains could be had out of tuning the JVM some more. I will tweak the
> > GCinterval and the permSize tomorrow night and see if there is an
> > incremental gain to be had.
> >
> > Any other suggestions would be great!
> >
> > Thanks.
> >
>
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342822
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to