-
Notifications
You must be signed in to change notification settings - Fork 76
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Async map improvements
- Loading branch information
Showing
3 changed files
with
135 additions
and
4 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# Using asynchronous load generation. | ||
# | ||
# So instead of having thread per request, a concurrency level is specified. And the load | ||
# generator will keep that number of concurrent request using the IMap async methods. | ||
# With synchronous load generation, the clients can quickly become a bottleneck, especially | ||
# when testing high throughput due to context switching. With async load generation this is much less | ||
# if a problem since there are fewer threads involved. So they are a much better alternative to do | ||
# throughput testing. | ||
|
||
- name: read_only | ||
duration: 300s | ||
repetitions: 1 | ||
clients: 1 | ||
members: 1 | ||
driver: hazelcast5 | ||
version: maven=5.3.0 | ||
client_args: > | ||
-Xms3g | ||
-Xmx3g | ||
--add-modules java.se | ||
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED | ||
--add-opens java.base/java.lang=ALL-UNNAMED | ||
--add-opens java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-opens java.management/sun.management=ALL-UNNAMED | ||
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED | ||
member_args: > | ||
-Xms3g | ||
-Xmx3g | ||
--add-modules java.se | ||
--add-exports java.base/jdk.internal.ref=ALL-UNNAMED | ||
--add-opens java.base/java.lang=ALL-UNNAMED | ||
--add-opens java.base/sun.nio.ch=ALL-UNNAMED | ||
--add-opens java.management/sun.management=ALL-UNNAMED | ||
--add-opens jdk.management/com.sun.management.internal=ALL-UNNAMED | ||
loadgenerator_hosts: loadgenerators | ||
node_hosts: nodes | ||
verify_enabled: False | ||
performance_monitor_interval_seconds: 1 | ||
warmup_seconds: 0 | ||
cooldown_seconds: 0 | ||
- class: com.hazelcast.simulator.hz.map.AsyncLongStringMapTest | ||
name: map | ||
getProb: 1 | ||
putProb: 0 | ||
setProb: 0 | ||
concurrency: 100 | ||
keyDomain: 1_000_000 | ||
valueCount: 100 | ||
minValueLength: 100 | ||
maxValueLength: 100 |