You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by "Gary Tully (JIRA)" <ji...@apache.org> on 2012/07/17 22:02:33 UTC

[jira] [Created] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Gary Tully created GERONIMO-6373:
------------------------------------

             Summary: Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
                 Key: GERONIMO-6373
                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: transaction manager
    Affects Versions: 2.2.1
            Reporter: Gary Tully


HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.

It would be great to have this exposed in the HOWLLog constructor so that it be be configured.

{code}  /**
   * Indicates whether LogBufferManager should flush buffers
   * before they are full.
   * 
   * <p>Normally, buffers are flushed to disk only when
   * they become full.  In lightly loaded situations,
   * one or more threads may have to wait until the
   * flushSleepTime expires before the buffer is written.
   * In the worst case, a single thread is using the
   * log, and every put() with sync requested will
   * be delayed flushSleepTime ms before the buffer is
   * written.
   * 
   * <p>Setting flushPartialBuffers true will allow
   * the LogBufferManager to flush buffers to disk
   * any time the channel is not busy.  This improves
   * throughput in single threaded and lightly loaded
   * environments. 
   * 
   * <p>By default, this feature is disabled (false) to
   * provide compatability with earlier versions of
   * this library.
   */
  private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416951#comment-13416951 ] 

Gary Tully commented on GERONIMO-6373:
--------------------------------------

I guess not based on the comment, it is false just for compatibility.
                
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>            Assignee: David Jencks
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated GERONIMO-6373:
---------------------------------

    Attachment:     (was: GERONIMO-6372.patch)
    
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated GERONIMO-6373:
---------------------------------

    Comment: was deleted

(was: Patch that adds boolean flushPartialBuffers to the constructor)
    
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

David Jencks reassigned GERONIMO-6373:
--------------------------------------

    Assignee: David Jencks
    
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>            Assignee: David Jencks
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet resolved GERONIMO-6373.
---------------------------------------

    Resolution: Fixed

Not sure which version I should put.  djencks ?
                
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>            Assignee: Guillaume Nodet
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated GERONIMO-6373:
---------------------------------

    Attachment: GERONIMO-6372.patch

Patch that adds boolean flushPartialBuffers to the constructor
                
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Gary Tully (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gary Tully updated GERONIMO-6373:
---------------------------------

    Attachment: GERONIMO-6372.patch

Patch that adds new constructor that takes additional flushPartialBuffers arg. 
                
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "David Jencks (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13416791#comment-13416791 ] 

David Jencks commented on GERONIMO-6373:
----------------------------------------

Is there a good reason not to just set this to true unilaterally?  I wasn't aware of the flag but why would we ever want it false?
                
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (GERONIMO-6373) Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency

Posted by "Guillaume Nodet (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/GERONIMO-6373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Guillaume Nodet reassigned GERONIMO-6373:
-----------------------------------------

    Assignee: Guillaume Nodet  (was: David Jencks)
    
> Expose HOWL flushPartialBuffer config via HOWLLog - useful under low concurrency
> --------------------------------------------------------------------------------
>
>                 Key: GERONIMO-6373
>                 URL: https://issues.apache.org/jira/browse/GERONIMO-6373
>             Project: Geronimo
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: transaction manager
>    Affects Versions: 2.2.1
>            Reporter: Gary Tully
>            Assignee: Guillaume Nodet
>         Attachments: GERONIMO-6372.patch
>
>
> HOWL XALogger supports flushPartialBuffers which is not configurable via Geronimo HOWLLog. It is useful in the case of low concurrency.
> It would be great to have this exposed in the HOWLLog constructor so that it be be configured.
> {code}  /**
>    * Indicates whether LogBufferManager should flush buffers
>    * before they are full.
>    * 
>    * <p>Normally, buffers are flushed to disk only when
>    * they become full.  In lightly loaded situations,
>    * one or more threads may have to wait until the
>    * flushSleepTime expires before the buffer is written.
>    * In the worst case, a single thread is using the
>    * log, and every put() with sync requested will
>    * be delayed flushSleepTime ms before the buffer is
>    * written.
>    * 
>    * <p>Setting flushPartialBuffers true will allow
>    * the LogBufferManager to flush buffers to disk
>    * any time the channel is not busy.  This improves
>    * throughput in single threaded and lightly loaded
>    * environments. 
>    * 
>    * <p>By default, this feature is disabled (false) to
>    * provide compatability with earlier versions of
>    * this library.
>    */
>   private boolean flushPartialBuffers = false;{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira