Topic
3 replies Latest Post - ‏2013-03-20T19:32:09Z by Ian_Partridge
SystemAdmin
SystemAdmin
2736 Posts
ACCEPTED ANSWER

Pinned topic Regarding GC Policy selection

‏2013-03-19T16:25:44Z |
Hi friends,we deployed the application in websphere,we are using IBM Jvm,I want to choose the GC policy for the application,there are four GC Policy are available,In my team we will try four policy like trial and error method,we will choose one policy at last,it is killing our time,is there anyway to identify which gc policy suitable in the first attempt itself,
thanks friends
Updated on 2013-03-20T19:32:09Z at 2013-03-20T19:32:09Z by Ian_Partridge
  • Ian_Partridge
    Ian_Partridge
    17 Posts
    ACCEPTED ANSWER

    Re: Regarding GC Policy selection

    ‏2013-03-19T23:13:06Z  in response to SystemAdmin
    Hi, can you describe what the application does?

    What factors are important to you? Raw speed? Interactivity?

    Based on that we can recommend a policy to start with.
    • SystemAdmin
      SystemAdmin
      2736 Posts
      ACCEPTED ANSWER

      Re: Regarding GC Policy selection

      ‏2013-03-20T14:45:22Z  in response to Ian_Partridge
      Its banking application,i want to give high throughput.this is my requirement
      • Ian_Partridge
        Ian_Partridge
        17 Posts
        ACCEPTED ANSWER

        Re: Regarding GC Policy selection

        ‏2013-03-20T19:32:09Z  in response to SystemAdmin
        For raw throughput, try -Xgcpoliy:optthruput Be aware that the GC pause times might be long, especially if you run with large heaps.

        You should also try -Xgcpolicy:gencon as this offers a good balance of throughput and GC pause times, especially for applications with transactional workloads.