Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-6510

Increase WT allocation_size

    • Type: Icon: Documentation Documentation
    • Resolution: Works as Designed
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 1
    • Storage - Ra 2020-08-10

      Hi,

      on this link https://source.wiredtiger.com/3.1.0/tune_page_size_and_comp.html

      there is a note that allocation_size can be tuned between 512B and 128 MB

      How do we modify that variable and start mongod process that will have allocation_size of 16KB for example, the default is 4KB ?

      This does not work

      replica1:PRIMARY> db.adminCommand( { "setParameter": 1, "wiredTigerEngineRuntimeConfig": "allocation_size=64KB"})
      { "ok" : 0, "errmsg" : "WiredTiger reconfiguration failed with error code (22): Invalid argument", "code" : 2, "codeName" : "BadValue"}
      
      
      replica1:PRIMARY> db.createCollection(    "users",    { storageEngine: { wiredTiger: { configString: "allocation_size=64KB" } } } )
      { "ok" : 0, "errmsg" : "22: Invalid argument", "code" : 2, "codeName" : "BadValue"}

       

       

       

            Assignee:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Reporter:
            doncovski_igor@yahoo.com Igor Donchovski
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: