Hello,

On Thu, Dec 19, 2013 at 12:11 AM, Christopher Schultz <
ch...@christopherschultz.net> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
>
> All,
>
> I was recently discussing garbage collectors with a friend (yes, an
> exciting conversation) and I was wondering what the folks in the
> Tomcat community were using for their garbage collection needs.
>
> I'd like to run an informal poll. Feel free to reply to just me
> directly if you'd like to protect your reputation or not clog the list
> or to the whole list if you'd prefer.
>
> I know there are lots of lurkers on the list who rarely post and I'd
> encourage them to reply as well even if they don't feel like they are
> running anything of any importance.
>

I have too many (or consult many) but I will take the most visited.


>
> So, here are my questions:
>
> 1. What JVM are you using?
>
>    [ ] Sun/Oracle/OpenJDK Java 1.5
>    [ ] IBM Java 1.5
>    [ ] Sun/Oracle/OpenJDK Java 1.6
>    [ ] IBM Java 1.6
>    [x] Sun/Oracle/OpenJDK Java 1.7
>    [ ] IBM Java 1.7
>    [ ] Sun/Oracle/OpenJDK Java 1.8
>    [ ] Something else - please specify:
>
> 2. What kind of web application are you running?
>
>    [ ] A toy, a research project, or something with virtually no use
>    [ ] A moderately busy web site (<1M requests/mo/server)
>    [ ] A moderately busy web site (<10M requests/mo/server)
>    [ ] A busy web site (10M - 100M requests/mo/server)
>    [x] A super-busy web site
>
> 3. What is your total heap size?
>
14 GB

>
> 4. Are you explicitly specifying a Garbage Collector? If not, just say
> so and skip the rest of the questions.
>
CMS + Options

>
> 5. What led you to use [GC X] instead of the JVM's default collector?
>
GC pauses

>
> 6. Did you do any actual performance testing to see if the switch from
> the default to [GC X] made any difference?
>
Yes

>
> 6. Have you spent a lot of time tuning [GC X]?
>
Yes :-)

>
> 7. Did your tuning exercise yield any useful results?
>
45 sec pauses eliminated

>
> 8. Did your users notice any difference after you implemented [GC X],
> or just your own load-testing team?
>
I assume so, we had servers taken out of the pool by lb due to connection
timeouts.

>
> If you think there's anything else I should know about your experience
> with [GC X], please let me know.
>
Well, it changes from version to version, so each new jdk version means
start from beginning. Some of the options in Java 6 do not make sense in
Java 7 and so on. But in general CMS is my personal choice for low-pause
collector, I haven't yet seen working G1.


>
> Thanks,
> - -chris
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.15 (Darwin)
> Comment: GPGTools - http://gpgtools.org
> Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/
>
> iQIcBAEBCAAGBQJSsiu1AAoJEBzwKT+lPKRYdAsQAKWytJHCv3Kj8p8vWoDsCgEO
> LZd6Yq/j8j5uID+UM4pq8FgRN03TmmjujOZaQ769ljZqtd9w+VFf2+zPbt7gPqGI
> SDFACw+VtQxEmVUDhE4H0tBfz7h7SZ8QOPTyScx384mDAvRzJKaeGPwrbJBogvaW
> cvyzNtgFDywpNTCjyKT3JLoUfjm+CjLryK6bo3+6I7I3ikhyHVsYZHuls5DG9LNf
> mYJ2KGOeYN332VcJWaCElLiK2HQrFY+BxfJ+f7mH6ztmq0iawulg8bApUo+vllwD
> r2Ble1kc0pgwMn4jOoRAP1R9IaFSsPX8a87T1uFtnRS0vdW4BRy6O5xE1wjFQPuq
> 52jcFf7i5ZiFYIXO1/vWw9FjZ2DBXnjMuEEdPf5laHNXKJIMCnulKOC6W48eS6Rq
> E7hRa7h+RQ0CVk9Pjp2NGdiPAeRL44LRDWaPWmTH7iXUcaWg2IxC3OXXyezP6aPE
> 7DrKhW9jjxbQG/H3GXzX9Sptee+osfPUaU6sOND8EYUYLojg6b6XLxfbjLpedrsh
> eHC1zksbc0WkZxhnXDSPZV4+4y0djC0X+tNX/DPCs/wPpXEqmqeGSXc7sbnXoLYf
> 49jGRa6pz8MR1da5D78lSCxm407+UNJzbJuGfHFzjYqxjQEULKJTug4Z7Hs0MGne
> XzAqLyKxfgW0/4P5QzD6
> =EFcD
> -----END PGP SIGNATURE-----
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
> For additional commands, e-mail: users-h...@tomcat.apache.org
>
>

Reply via email to