You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
General DSS performance evaluation has been performed with the benchmarker using the validation procedure.
It has been observed that latency between the instances in the validation pool has been reduced despite using the same datacenters and cloud providers. Slight improvements have been observed compared to v0.23.0 due to that reduced latency. See artifacts attached to the release v0.24.0 for more details.
Evict job performance
Users reported that the eviction job as implemented in v0.23.0 was not able to process a backlog of expired entities. Multiple improvements have been made in V0.24.0. The following sections demonstrate the improvement using a simulated local setup and the cloud deployment used for the release validation with simulated load. Validation has been focused on CockroachDB datastore.
Local test
Test conditions
* Without latency, 50’000 entries are inserted (50k ISAs & 50k subs for RID, 50k OIRs & 50k sub for SCD)
* 3 USS x node
* Inter USS latency is set to 25ms (50ms RTT)
* INTER_USS_NETEM_CONF=delay 25ms 7.5ms 50% distribution paretonormal loss 0.025% 25%
* INTRA_USS_NETEM_CONF=delay 250us 25us 25% distribution normal loss 0.0025% 10%
* db-manager evict --delete is run with different versions
Eviction
v0.23.0
v0.24.0
RID
❌ 5m (timeout), 50,000 entries left
✅ 29.3s, 0 entries left
SCD
❌ 4m43s, 40,000 entries left
✅ 40.4s, 0 entries left
SCD, leases forced on node 2
❌ 5m (timeout), 50,000 entries left
✅ 49.8s, 0 entries left
Cloud deployment under load
Test conditions
* Validation pool with AWS and Google. Evict commands running in AWS
* Regular evict CronJobs suspended
* Inserted 50’000 entries like previous tests, on the same cells as locust will use.
* Started Locust
* docker run --rm --network evict-test -p 8089:8089 -e AUTH_SPEC="DummyOAuth(http://dss-oauth:8085/token,uss1)" interuss/monitoring-dev uv run locust -f loadtest/locust_files/ISA.py -H https://dss.release-crdb.ci.aws-interuss.uspace.dev -u 1 -r 2 --uss-base-url [https://uss.example.com](https://uss.example.com)
* docker run --rm --network evict-test -p 8089:8089 -e AUTH_SPEC="DummyOAuth(http://dss-oauth:8085/token,uss1)" interuss/monitoring-dev uv run locust -f loadtest/locust_files/FlightsInSub.py -H https://dss.release-crdb.ci.aws-interuss.uspace.dev -u 1 -r 1 --uss-base-url https://exampleuss.com --cluster-count 1 --base-lat -34.928683 --base-lng 138.593795 --area-radius 550 --max-flight-distance 100 --oi-duration 60
* Locust throttled to 1 request/s per user
* Run of evict with old and new version
CRDB inter-nodes latency
Eviction
v0.23.0
v0.24.0
RID
❌ 5m (timeout), 50,000 left
❌ 10s, transaction error, 50,000 ISAs left
RID, batch size 1000
–
✅ 58s, 0 left
SCD
50s, 40,000 left, Locust failures
✔️ 12.85s, 0 left, Locust failures
SCD, batch size 1000
–
✅ 19.6s, 0 left, no Locust failure
v0.24.0 fixes the v0.23.0 implementation and improves the ability to delete expired entities.Under latency and load, a batch size needs to be set. Without one, RID eviction fails with a transaction error. SCD eviction impacted the ability of the DSS to process requests. With --rid_batch_size=1000 / --scd_batch_size=1000, both completed and Locust recorded no failures for RID and SCD.
Recommendation
Set a batch size in the evict jobs. Exact values are to be determined depending on cluster traffic. See Database cleanup for more details on how to configure it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Release v0.24.0 - Extended Validation
General DSS performance evaluation has been performed with the benchmarker using the validation procedure.
It has been observed that latency between the instances in the validation pool has been reduced despite using the same datacenters and cloud providers. Slight improvements have been observed compared to v0.23.0 due to that reduced latency. See artifacts attached to the release v0.24.0 for more details.
Evict job performance
Users reported that the eviction job as implemented in v0.23.0 was not able to process a backlog of expired entities. Multiple improvements have been made in V0.24.0. The following sections demonstrate the improvement using a simulated local setup and the cloud deployment used for the release validation with simulated load. Validation has been focused on CockroachDB datastore.
Local test
Test conditions
Cloud deployment under load
Test conditions
* Validation pool with AWS and Google. Evict commands running in AWS * Regular evict CronJobs suspended * Inserted 50’000 entries like previous tests, on the same cells as locust will use. * Started Locust * docker run --rm --network evict-test -p 8089:8089 -e AUTH_SPEC="DummyOAuth(http://dss-oauth:8085/token,uss1)" interuss/monitoring-dev uv run locust -f loadtest/locust_files/ISA.py -H https://dss.release-crdb.ci.aws-interuss.uspace.dev -u 1 -r 2 --uss-base-url [https://uss.example.com](https://uss.example.com) * docker run --rm --network evict-test -p 8089:8089 -e AUTH_SPEC="DummyOAuth(http://dss-oauth:8085/token,uss1)" interuss/monitoring-dev uv run locust -f loadtest/locust_files/FlightsInSub.py -H https://dss.release-crdb.ci.aws-interuss.uspace.dev -u 1 -r 1 --uss-base-url https://exampleuss.com --cluster-count 1 --base-lat -34.928683 --base-lng 138.593795 --area-radius 550 --max-flight-distance 100 --oi-duration 60 * Locust throttled to 1 request/s per user * Run of evict with old and new versionCRDB inter-nodes latencyv0.24.0 fixes the v0.23.0 implementation and improves the ability to delete expired entities.Under latency and load, a batch size needs to be set. Without one, RID eviction fails with a transaction error. SCD eviction impacted the ability of the DSS to process requests. With --rid_batch_size=1000 / --scd_batch_size=1000, both completed and Locust recorded no failures for RID and SCD.
Recommendation
Set a batch size in the evict jobs. Exact values are to be determined depending on cluster traffic. See Database cleanup for more details on how to configure it.
Raft store still under development
v0.24.0 contains evolutions of the raft store implementation but no specific validation has been performed. Experimental MVP is expected in v0.25.0.
All reactions