1 Reply Latest reply on Aug 29, 2008 4:43 AM by timfox

    Global Limit for Paging?

    clebert.suconic

      Do we really want a global limit for paging?

      Say... A single destination is responsible for consuming the whole memory defined by the global limit, so you set everything in page mode after that point.

      All the other minor destinations will be set in page-mode, hence we will feed the pageStores instead of the Routing and queuing them.

      Setting a global limit is easy, the problem is how and when to start depaging when the global limit was achieved.

      The best option IMO is the user configuring the limits on individual addresses accordingly.

        • 1. Re: Global Limit for Paging?
          timfox

           

          "clebert.suconic@jboss.com" wrote:
          Do we really want a global limit for paging?


          Yes.


          Say... A single destination is responsible for consuming the whole memory defined by the global limit, so you set everything in page mode after that point.

          All the other minor destinations will be set in page-mode, hence we will feed the pageStores instead of the Routing and queuing them.


          Yes.


          Setting a global limit is easy, the problem is how and when to start depaging when the global limit was achieved.


          You can start depaging when total memory size drops to MAX_GLOBAL_MEMORY_SIZE - PAGE_SIZE