[SERVER-33706] Remove warning message about Windows FS cache configuration Created: 06/Mar/18  Updated: 29/Oct/23  Resolved: 16/May/18

Status: Closed
Project: Core Server
Component/s: WiredTiger
Affects Version/s: 3.6.0
Fix Version/s: 3.6.6, 4.0.0-rc0

Type: Improvement Priority: Major - P3
Reporter: John Murphy Assignee: Xiangyu Yao (Inactive)
Resolution: Fixed Votes: 3
Labels: neweng
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
depends on SERVER-29465 Add warning about Windows SystemFileC... Closed
Related
related to DOCS-11712 Remove warning about Windows SystemFi... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v3.6, v3.4
Sprint: Storage NYC 2018-05-21
Participants:
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.



 Comments   
Comment by Githook User [ 04/Jun/18 ]

Author:

{'username': 'xy24', 'name': 'Xiangyu Yao', 'email': 'xiangyu.yao@mongodb.com'}

Message: SERVER-33706 Remove warning message about Windows FS cache configuration

(cherry picked from commit eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e)
Branch: v3.6
https://github.com/mongodb/mongo/commit/f90ea99204a1475d467c05abd32a30d5cdf023a5

Comment by Githook User [ 16/May/18 ]

Author:

{'email': 'xiangyu.yao@mongodb.com', 'username': 'xy24', 'name': 'Xiangyu Yao'}

Message: SERVER-33706 Remove warning message about Windows FS cache configuration
Branch: master
https://github.com/mongodb/mongo/commit/eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e

Comment by Alexander Gorrod [ 11/Mar/18 ]

I think it's a good idea to remove the warning once we confirm it is no longer relevant.

Comment by Ian Whalen (Inactive) [ 09/Mar/18 ]

alexander.gorrod is this something we should do?

Generated at Thu Feb 08 04:34:18 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.