Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-33706

Remove warning message about Windows FS cache configuration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.6.0
    • Fix Version/s: 3.6.6, 4.0.0-rc0
    • Component/s: WiredTiger
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v3.6, v3.4
    • Sprint:
      Storage NYC 2018-05-21
    • Case:

      Description

      By default the Windows System File Cache is configured without any minimum or maximum limit. The cache is responsible for managing when to release memory, and this behaviour can be somewhat controlled through the use of hints for the Cache Manager.

      Prior to WT-2670 being implemented, we used the FILE_FLAG_RANDOM_ACCESS flag by default, which instructs the Cache Manager to keep mapped views of the file in memory as long as possible (until Memory Manager doesn't signal low memory condition).

      This had the effect of filling up the System File Cache without releasing memory, which resulted in some users enabling direct_io in order to workaround the problem.

      Now that WT-2670 has been implemented we no longer see the System File Cache being greedy, therefore the warning about setting a maximum limit seems moot.

      Can we investigate removing this warning as it does not appear to be required any more?

      Or perhaps the warning should only be displayed if WT is configured to pass the FILE_FLAG_RANDOM_ACCESS flag to the Cache Manager, which occurs when the user indicates a random workload with the WT_FS_OPEN_ACCESS_RAND WT configuration flag.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xiangyu.yao Xiangyu Yao (Inactive)
              Reporter:
              john.murphy John Murphy
              Participants:
              Votes:
              3 Vote for this issue
              Watchers:
              9 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: