Hi, I've been trying different jvm options with rails. Turns out that MaxInlineSize gives big advantages for rails (I've been trying it with rails welcome-page though)

With default options (like -J-server) the most I could squeeze from rails welcome page was 85 requests/s after ab -n 20000 warmup.

After a few trials I came up with -J-XX:MaxInlineSize=1000 -J-XX:CompileThreshold=100, for first 2000-3000 requests there's been poor 20-30 requests/s. But after something like 3000-5000 requests ab became to show 130 requests/s.

With those options rails starts longer, inlines more, but ones warmed, it can be up to 45% faster. I know that's just a single welcome page but it already gives a measure of lots of ruby code run.

Marcin.



---------------------------------------------------------------------
To unsubscribe from this list, please visit:

   http://xircles.codehaus.org/manage_email


Reply via email to