1 Reply Latest reply on Jun 5, 2009 7:58 AM by clebert.suconic

    AIO documentation

    timfox

       

      The size of the timed buffer on AIO. The default value is 128MiB.
      


      Really? ;)

      Also, there's not mention on tuning the timeout or buffer size, and there's no explanation on what any of these things do :(

      Also

      If this is set to true, the internal buffers are flushed right away when a transaction arrives.
      JBoss Messaging was made to scale up to hundreds of producers. We try to use most of the hardware resources by scheduling multiple writes and scheduling multiple writes in a single OS call.
      However in some use cases it may be better to not wait any data and just flush and write to the OS right away. For example if you have a single producer writing small transactions. On this case it would be better to aways flush-on-sync.
      


      Is not true. This is nothing to do with transactions, flush on sync is also used in non transactional situations, depending on the sync settings.


        • 1. Re: AIO documentation
          clebert.suconic

           

          "timfox" wrote:
          Also, there's not mention on tuning the timeout or buffer size, and there's no explanation on what any of these things do :(
          


          There is no config of the buffering needed.

          And for the timeout.. I would just ask the user to just tune flush on commit.