-
Notifications
You must be signed in to change notification settings - Fork 269
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix a bug where timeout does not work for stalls
Summary: As discovered in T170192224, the cachebench's timeout handler is triggering the graceful shutdown, which does not work when whole cachebench processes are stalled due to a bug like the livelock in T169248917. This change fixes the bug by aborting the graceful shutdown after another shutdown timeout of 30s. This change also reduced the number of keys and ops for navy-with-reinsertion[-inmem-buf].json. According to the cogwheel test runs, it seems that the cachebench is running ~21 times slower; i.e., 256M OPS vs 7.4M OPS for 100s, which is expected because of the contention on the clean region. The runtime of the navy.json is already over 49m which is close to 1hr timeout already. navy.json https://fburl.com/servicelab/qrjrqn9g navy-with-reinsertion.json https://fburl.com/servicelab/wyg9poo8 This change also reduced the number of ops for several more cases with marginal timeouts. feature_stress/free_list.json: https://fburl.com/servicelab/pa1noczk integration_tests/cachelib_map.json: https://fburl.com/servicelab/ahgiefnv Reviewed By: therealgymmy Differential Revision: D51417010 fbshipit-source-id: 1f32f1ec3641cafdd26591845d69ca889bf3a808
- Loading branch information
1 parent
b7ead24
commit 3c0ef49
Showing
8 changed files
with
42 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters