Skip to content

Conversation

@etschannen
Copy link
Contributor

No description provided.

…mits related to the number of transactions started in a batch
init( START_TRANSACTION_BATCH_QUEUE_CHECK_INTERVAL, 0.001 );
init( START_TRANSACTION_MAX_TRANSACTIONS_TO_START, 10000 );
init( START_TRANSACTION_MAX_BUDGET_SIZE, 20 ); // Currently set to match CLIENT_KNOBS->MAX_BATCH_SIZE
init( START_TRANSACTION_MAX_TRANSACTIONS_TO_START, 500000 );
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why was MAX_TRANSACTIONS_TO_START increased?

init( START_TRANSACTION_MAX_TRANSACTIONS_TO_START, 10000 );
init( START_TRANSACTION_MAX_BUDGET_SIZE, 20 ); // Currently set to match CLIENT_KNOBS->MAX_BATCH_SIZE
init( START_TRANSACTION_MAX_TRANSACTIONS_TO_START, 500000 );
init( START_TRANSACTION_MAX_BUDGET_SIZE, 1000 ); // Currently set to match CLIENT_KNOBS->MAX_BATCH_SIZE
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A budget of 1000 is pretty big. I can understand why that might be beneficial when batch sizes are 1000, but I wonder if this could also sometimes lead to trouble.

@ajbeamon ajbeamon merged commit 2d7b48d into apple:master Mar 19, 2019
etschannen pushed a commit to etschannen/foundationdb that referenced this pull request Mar 26, 2019
etschannen pushed a commit to etschannen/foundationdb that referenced this pull request Mar 26, 2019
alexmiller-apple pushed a commit to etschannen/foundationdb that referenced this pull request Mar 26, 2019
@etschannen etschannen deleted the feature-increase-grv-batch branch July 31, 2019 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants