sapling/eden/fs/config
Adam Simpkins 983f454135 limit the number of tree prefetch operations that can run in parallel
Summary:
Add a config option to restrict the number of tree prefetches that can run in
parallel.  Without this applications that recursively walk a checkout tree can
end up spawning a huge number of asynchronous prefetch operations.  These
prefetch operations are quite expensive today, as we currently have to fetch
the full file contents in order to retrieve the file sizes.  A recursive
directory walk can end up building up a huge backlog of in-progress tree
prefetches.  This will slow down the directory walk, and it can take tens of
minutes to finish processing the prefetch backlog even after the directory
walk is aborted.

Reviewed By: chadaustin

Differential Revision: D19136685

fbshipit-source-id: cdc7a570d016fd7ca81a639cef83380b197acdfc
2019-12-20 16:14:19 -08:00
..
test warn on unused exception parameter 2019-10-28 17:49:23 -07:00
CachedParsedFileMonitor.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CheckoutConfig.cpp fail with a more sensible error if a SNAPSHOT file is missing 2019-11-07 17:26:09 -08:00
CheckoutConfig.h Tidy up license headers 2019-10-11 05:28:23 -07:00
CMakeLists.txt clean up duplicate find_package(cpptoml) 2019-09-20 11:36:13 -07:00
ConfigSetting.h refactor EdenConfig to use private inheritance 2019-10-11 11:01:49 -07:00
eden_config.thrift Tidy up license headers 2019-10-11 05:28:23 -07:00
EdenConfig.cpp eden: add FakeEdenConfig for testing 2019-12-10 13:40:55 -08:00
EdenConfig.h limit the number of tree prefetch operations that can run in parallel 2019-12-20 16:14:19 -08:00
FieldConverter.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FieldConverter.h Tidy up license headers 2019-10-11 05:28:23 -07:00
FileChangeMonitor.cpp Tidy up license headers 2019-10-11 05:28:23 -07:00
FileChangeMonitor.h Tidy up license headers 2019-10-11 05:28:23 -07:00
ReloadableConfig.cpp refactor the EDEN_BUG() macro 2019-11-22 15:38:33 -08:00
ReloadableConfig.h optimize and simplify ReloadableConfig 2019-10-11 10:42:36 -07:00