1 Reply Latest reply on Jun 6, 2010 6:29 AM by timfox

    How to use journal-buffer-size?

    forumer

      On Windows, using NIO:

       

      What considerations go into adjusting the journal-buffer-size? Does this value have to be larger than the size of incoming message, etc?

       

      This topic is not discussed in manual. Any references would be appreciated as well.

       

      Thanks

        • 1. Re: How to use journal-buffer-size?
          timfox

          You can send messages much larger than journal-buffer-size as long as you remember to set min-large-message-size (see the chapter on large messages).

           

          journal-buffer-size does not normally need to be changed, but you might get slightly better throughput by tuning it for your particular server, it's value will be very hardware dependent. Try changing it by small increments/decrements to see how throughput performs.

           

          You can also play with journal-buffer-timeout as explained in the perf tuning chapter, increasing it if you for higher throughput at the expense of latency.