diff options
author | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-05-11 16:42:26 -0400 |
---|---|---|
committer | Xiangyu Yao <xiangyu.yao@mongodb.com> | 2018-05-16 13:45:20 -0400 |
commit | eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e (patch) | |
tree | ee24f7c1aecd6eb1fe6e6ca287d5bb3cabe864a1 /src/mongo/db | |
parent | 7cbc98eb835b4613e171ff11b567de3528d2ff6b (diff) | |
download | mongo-eeea7c2f80bdaf49a197a1c8149d7bc6cbc9395e.tar.gz |
SERVER-33706 Remove warning message about Windows FS cache configuration
Diffstat (limited to 'src/mongo/db')
-rw-r--r-- | src/mongo/db/startup_warnings_mongod.cpp | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mongo/db/startup_warnings_mongod.cpp b/src/mongo/db/startup_warnings_mongod.cpp index 2f0ad080ee0..9dcd4e387f6 100644 --- a/src/mongo/db/startup_warnings_mongod.cpp +++ b/src/mongo/db/startup_warnings_mongod.cpp @@ -369,23 +369,6 @@ void logMongodStartupWarnings(const StorageGlobalParams& storageParams, warned = true; } - if (storageParams.engine == "wiredTiger") { - // If the filesystemMaxCacheSize / totalMemorySize > 0.4, we should raise this - // warning because it leads to terrible performance for WiredTiger - const double filesystemCachePercentageThreshold = 0.4; - if (p.getMaxSystemFileCachePercentage() > filesystemCachePercentageThreshold) { - log() << startupWarningsLog; - log() - << "** WARNING: The file system cache of this machine is configured to be greater " - << "than " << 100 * filesystemCachePercentageThreshold << "% of the total memory. " - << "This can lead to increased memory pressure and poor performance." - << startupWarningsLog; - log() << "See http://dochub.mongodb.org/core/wt-windows-system-file-cache" - << startupWarningsLog; - warned = true; - } - } - #endif // #ifdef _WIN32 if (storageParams.engine == "ephemeralForTest") { |