reset all knobs

This commit is contained in:
Xiaoxi Wang 2022-04-26 17:11:38 -07:00
parent 8cc6d9aaac
commit 87d358ce6c
2 changed files with 12 additions and 11 deletions

View File

@ -144,7 +144,7 @@ void ServerKnobs::initialize(Randomize randomize, ClientKnobs* clientKnobs, IsSi
init( PRIORITY_REBALANCE_UNDERUTILIZED_TEAM, 120 );
init( PRIORITY_REBALANCE_OVERUTILIZED_TEAM, 121 );
init( PRIORITY_REBALANCE_READ_UNDERUTIL_TEAM, 122 );
init( PRIORITY_REBALANCE_READ_OVERUTIL_TEAM, 123 );
init( PRIORITY_REBALANCE_READ_OVERUTIL_TEAM, 123 );
init( PRIORITY_PERPETUAL_STORAGE_WIGGLE, 139 );
init( PRIORITY_TEAM_HEALTHY, 140 );
init( PRIORITY_TEAM_CONTAINS_UNDESIRED_SERVER, 150 );
@ -163,7 +163,7 @@ void ServerKnobs::initialize(Randomize randomize, ClientKnobs* clientKnobs, IsSi
init( DATA_DISTRIBUTION_FAILURE_REACTION_TIME, 60.0 ); if( randomize && BUGGIFY ) DATA_DISTRIBUTION_FAILURE_REACTION_TIME = 1.0;
bool buggifySmallShards = randomize && BUGGIFY;
bool simulationMediumShards = !buggifySmallShards && isSimulated && randomize && !BUGGIFY; // prefer smaller shards in simulation
init( MIN_SHARD_BYTES, 500000 ); if( buggifySmallShards ) MIN_SHARD_BYTES = 40000; if (simulationMediumShards) MIN_SHARD_BYTES = 200000; //FIXME: data distribution tracker (specifically StorageMetrics) relies on this number being larger than the maximum size of a key value pair
init( MIN_SHARD_BYTES, 5000000 ); if( buggifySmallShards ) MIN_SHARD_BYTES = 40000; if (simulationMediumShards) MIN_SHARD_BYTES = 200000; //FIXME: data distribution tracker (specifically StorageMetrics) relies on this number being larger than the maximum size of a key value pair
init( SHARD_BYTES_RATIO, 4 );
init( SHARD_BYTES_PER_SQRT_BYTES, 45 ); if( buggifySmallShards ) SHARD_BYTES_PER_SQRT_BYTES = 0;//Approximately 10000 bytes per shard
init( MAX_SHARD_BYTES, 500000000 );
@ -658,7 +658,7 @@ void ServerKnobs::initialize(Randomize randomize, ClientKnobs* clientKnobs, IsSi
init( BYTES_READ_UNITS_PER_SAMPLE, 100000 ); // 100K bytes
init( READ_HOT_SUB_RANGE_CHUNK_SIZE, 10000000); // 10MB
init( EMPTY_READ_PENALTY, 20 ); // 20 bytes
init( READ_SAMPLING_ENABLED, true ); if ( randomize && BUGGIFY ) READ_SAMPLING_ENABLED = true;// enable/disable read sampling
init( READ_SAMPLING_ENABLED, false ); if ( randomize && BUGGIFY ) READ_SAMPLING_ENABLED = true;// enable/disable read sampling
//Storage Server
init( STORAGE_LOGGING_DELAY, 5.0 );

View File

@ -1,23 +1,24 @@
[[test]]
testTitle = 'RandomReadWriteTest'
connectionFailuresDisableDuration = 100000
waitForQuiescenceBegin=false
waitForQuiescenceEnd=false
clearAfterTest = true
runSetup = true
# waitForQuiescenceBegin= false
# waitForQuiescenceEnd=false
clearAfterTest = false #true
runSetup = true # false
timeout = 3600.0
[[test.workload]]
testName = 'ReadWrite'
transactionsPerSecond = 100000
testDuration = 600.0
testDuration = 900.0
skewRound = 1
nodeCount = 15000000
nodeCount = 30000000
valueBytes = 1000
readsPerTransactionA = 4
readsPerTransactionA = 8
writesPerTransactionA = 0
alpha = 0
discardEdgeMeasurements = false
hotServerFraction = 0.02
hotServerFraction = 0.2
hotServerReadFrac = 0.8
# hotServerShardFraction = 0.3
warmingDelay = 180.0