mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Reduce number of concurrent clients to 8 and compactions to avoid flakes
Not hitting minimal QPS is expected to be caused by introduction of compation. Let's avoid it for high throughput test cases. Reducing number of clients to avoid linearization timeouts. Signed-off-by: Marek Siarkowicz <siarkowicz@google.com>
This commit is contained in:
parent
a8b30b19bd
commit
f194f4723c
@ -34,6 +34,7 @@ var (
|
||||
keyCount: 10,
|
||||
leaseTTL: DefaultLeaseTTL,
|
||||
largePutSize: 32769,
|
||||
// Please keep the sum of weights equal 100.
|
||||
requests: []random.ChoiceWeight[etcdRequestType]{
|
||||
{Choice: Get, Weight: 15},
|
||||
{Choice: List, Weight: 15},
|
||||
@ -44,15 +45,16 @@ var (
|
||||
{Choice: PutWithLease, Weight: 5},
|
||||
{Choice: LeaseRevoke, Weight: 5},
|
||||
{Choice: CompareAndSet, Weight: 5},
|
||||
{Choice: Put, Weight: 15},
|
||||
{Choice: Put, Weight: 18},
|
||||
{Choice: LargePut, Weight: 5},
|
||||
{Choice: Compact, Weight: 5},
|
||||
{Choice: Compact, Weight: 2},
|
||||
},
|
||||
}
|
||||
EtcdPut Traffic = etcdTraffic{
|
||||
keyCount: 10,
|
||||
largePutSize: 32769,
|
||||
leaseTTL: DefaultLeaseTTL,
|
||||
// Please keep the sum of weights equal 100.
|
||||
requests: []random.ChoiceWeight[etcdRequestType]{
|
||||
{Choice: Get, Weight: 15},
|
||||
{Choice: List, Weight: 15},
|
||||
@ -60,8 +62,7 @@ var (
|
||||
{Choice: StaleList, Weight: 10},
|
||||
{Choice: MultiOpTxn, Weight: 5},
|
||||
{Choice: LargePut, Weight: 5},
|
||||
{Choice: Put, Weight: 35},
|
||||
{Choice: Compact, Weight: 5},
|
||||
{Choice: Put, Weight: 40},
|
||||
},
|
||||
}
|
||||
)
|
||||
|
@ -37,11 +37,12 @@ var (
|
||||
averageKeyCount: 10,
|
||||
resource: "pods",
|
||||
namespace: "default",
|
||||
// Please keep the sum of weights equal 1000.
|
||||
writeChoices: []random.ChoiceWeight[KubernetesRequestType]{
|
||||
{Choice: KubernetesUpdate, Weight: 85},
|
||||
{Choice: KubernetesDelete, Weight: 5},
|
||||
{Choice: KubernetesCreate, Weight: 5},
|
||||
{Choice: KubernetesCompact, Weight: 5},
|
||||
{Choice: KubernetesUpdate, Weight: 875},
|
||||
{Choice: KubernetesDelete, Weight: 50},
|
||||
{Choice: KubernetesCreate, Weight: 50},
|
||||
{Choice: KubernetesCompact, Weight: 25},
|
||||
},
|
||||
}
|
||||
)
|
||||
|
@ -45,7 +45,7 @@ var (
|
||||
HighTrafficProfile = Profile{
|
||||
MinimalQPS: 200,
|
||||
MaximalQPS: 1000,
|
||||
ClientCount: 10,
|
||||
ClientCount: 8,
|
||||
MaxNonUniqueRequestConcurrency: 3,
|
||||
}
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user