glassfish
  1. glassfish
  2. GLASSFISH-15613

[UB] property to tune buffer size for in-memory replication

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1_ms08
    • Component/s: docs
    • Labels:
      None

      Description

      [Tracking Bug]

      We have a property that is being used to tune buffer size for in-memory replication. Depending on the session size and load, this property needs to be adjusted. Please document this in performance tuning guide and HA guide .

      Mahesh will be able to provide the name of the property and other details.

        Activity

        Hide
        Mahesh Kannan added a comment -

        The replication batch size can be tuned by setting the System property "org.shoal.cache.transmitter.max.batch.size" to a non negative number.

        Example: org.shoal.cache.transmitter.max.batch.size=20 The default is 30.

        Show
        Mahesh Kannan added a comment - The replication batch size can be tuned by setting the System property "org.shoal.cache.transmitter.max.batch.size" to a non negative number. Example: org.shoal.cache.transmitter.max.batch.size=20 The default is 30.
        Hide
        Scott Fordin added a comment -

        No Performance Tuning Guide anymore. Will add content to HAAG. If appropriate, will also add content to Performance Tuner OLH.

        Show
        Scott Fordin added a comment - No Performance Tuning Guide anymore. Will add content to HAAG. If appropriate, will also add content to Performance Tuner OLH.
        Hide
        Scott Fordin added a comment - - edited

        We do have a Performance Tuning Guide after all, and I'd like to add these instructions to that guide with additional links to the GMS sections in the HA Admin Guide. However, I need additional instructions on how to set this property. I tried doing:

        asadmin> set configs.config.cluster1-config.group-management-service.org.shoal.cache.transmitter.max.batch.size=20

        But got:

        remote failure: No configuration found for configs.config.cluster1-config.group-management-service.org.shoal.cache.transmitter.max.batch
        Command set failed.

        As a starting point, I tried using the instructions in To Preconfigure Nondefault GMS Configuration Settings (http://download.oracle.com/docs/cd/E18930_01/html/821-2426/gjfnl.html#gkoac), but they didn't help.

        Can you please provide additional information?

        Show
        Scott Fordin added a comment - - edited We do have a Performance Tuning Guide after all, and I'd like to add these instructions to that guide with additional links to the GMS sections in the HA Admin Guide. However, I need additional instructions on how to set this property. I tried doing: asadmin> set configs.config.cluster1-config.group-management-service.org.shoal.cache.transmitter.max.batch.size=20 But got: remote failure: No configuration found for configs.config.cluster1-config.group-management-service.org.shoal.cache.transmitter.max.batch Command set failed. As a starting point, I tried using the instructions in To Preconfigure Nondefault GMS Configuration Settings ( http://download.oracle.com/docs/cd/E18930_01/html/821-2426/gjfnl.html#gkoac ), but they didn't help. Can you please provide additional information?
        Hide
        Scott Fordin added a comment -

        Worked with Mahesh and added content to 3.1 Performance Tuning Guide.

        Show
        Scott Fordin added a comment - Worked with Mahesh and added content to 3.1 Performance Tuning Guide.

          People

          • Assignee:
            Scott Fordin
            Reporter:
            Nazrul
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: