-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Examples of performance configs for HashSphere and Latitude (#926)…
… (#957) Signed-off-by: Alex Kuzmin <[email protected]> Signed-off-by: Jeromy Cannon <[email protected]> Co-authored-by: Jeromy Cannon <[email protected]>
- Loading branch information
1 parent
0aee1e6
commit 928148b
Showing
6 changed files
with
507 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
203 changes: 203 additions & 0 deletions
203
examples/performance-tuning/HashSphere/init-containers-values.yaml
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,203 @@ | ||
# hedera node configuration | ||
hedera: | ||
initContainers: | ||
- name: init-hedera-node | ||
image: busybox:stable-musl | ||
command: ["sh", "-c", "cp -r /etc /data-saved"] | ||
volumeMounts: | ||
- name: hgcapp-data-saved | ||
mountPath: /data-saved | ||
nodes: | ||
- name: node0 | ||
accountId: 0.0.3 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
- name: node1 | ||
accountId: 0.0.4 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
- name: node2 | ||
accountId: 0.0.5 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
- name: node3 | ||
accountId: 0.0.6 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
- name: node4 | ||
accountId: 0.0.7 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
- name: node5 | ||
accountId: 0.0.8 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
- name: node6 | ||
accountId: 0.0.9 | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
defaults: | ||
envoyProxy: | ||
loadBalancerEnabled: true | ||
sidecars: | ||
recordStreamUploader: | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 100Mi | ||
limits: | ||
cpu: 150m | ||
memory: 200Mi | ||
eventStreamUploader: | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 100Mi | ||
limits: | ||
cpu: 150m | ||
memory: 200Mi | ||
recordStreamSidecarUploader: | ||
resources: | ||
requests: | ||
cpu: 100m | ||
memory: 100Mi | ||
limits: | ||
cpu: 150m | ||
memory: 200Mi | ||
root: | ||
resources: | ||
requests: | ||
cpu: 2 | ||
memory: 16Gi | ||
limits: | ||
cpu: 4 | ||
memory: 31Gi | ||
extraEnv: | ||
- name: JAVA_OPTS | ||
value: "-XX:+UnlockExperimentalVMOptions -XX:+UseZGC -XX:ZAllocationSpikeTolerance=2 -XX:ConcGCThreads=4 -XX:MaxDirectMemorySize=4g -XX:MetaspaceSize=100M -XX:+ZGenerational -Xlog:gc*:gc.log --add-opens java.base/jdk.internal.misc=ALL-UNNAMED --add-opens java.base/java.nio=ALL-UNNAMED -Dio.netty.tryReflectionSetAccessible=true" | ||
- name: JAVA_HEAP_MIN | ||
value: "16g" | ||
- name: JAVA_HEAP_MAX | ||
value: "19g" | ||
minio-server: | ||
tenant: | ||
pools: | ||
- servers: 1 | ||
name: pool-1 | ||
volumesPerServer: 1 | ||
size: 500Gi | ||
storageClassName: local-path | ||
resources: | ||
requests: | ||
cpu: 0 | ||
memory: 0 | ||
limits: | ||
cpu: 0 | ||
memory: 0 | ||
deployment: | ||
podAnnotations: {} | ||
podLabels: {} | ||
nodeSelector: | ||
solo.hashgraph.io/role: "consensus-node" | ||
tolerations: | ||
- key: "solo.hashgraph.io/role" | ||
operator: "Equal" | ||
value: "consensus-node" | ||
effect: "NoSchedule" | ||
minio-server: | ||
secrets: | ||
# This secret has [accessKey, secretKey] and will be randomly generated by helm | ||
existingSecret: minio-secrets | ||
tenant: | ||
buckets: | ||
- name: solo-streams | ||
- name: solo-backups | ||
name: minio | ||
pools: | ||
- servers: 1 | ||
name: pool-1 | ||
volumesPerServer: 1 | ||
size: 512Gi | ||
storageClassName: standard-rwo | ||
nodeSelector: {} | ||
configuration: | ||
name: minio-secrets | ||
certificate: | ||
requestAutoCert: false | ||
environment: | ||
MINIO_BROWSER_LOGIN_ANIMATION: off # https://github.com/minio/console/issues/2539#issuecomment-1619211962 | ||
haproxyDeployment: | ||
affinity: | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: solo.hedera.com/type | ||
operator: In | ||
values: | ||
- network-node | ||
topologyKey: kubernetes.io/hostname | ||
envoyDeployment: | ||
affinity: | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: solo.hedera.com/type | ||
operator: In | ||
values: | ||
- network-node | ||
topologyKey: kubernetes.io/hostname | ||
minioDeployment: | ||
affinity: | ||
podAntiAffinity: | ||
requiredDuringSchedulingIgnoredDuringExecution: | ||
- labelSelector: | ||
matchExpressions: | ||
- key: solo.hedera.com/type | ||
operator: In | ||
values: | ||
- network-node | ||
topologyKey: kubernetes.io/hostname |
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,47 @@ | ||
replicas: 1 | ||
|
||
resources: | ||
limits: | ||
memory: 32Gi | ||
cpu: '32' | ||
requests: | ||
memory: 16Gi | ||
cpu: '16' | ||
|
||
nodeSelector: | ||
solo.hashgraph.io/role: "test-clients" | ||
tolerations: | ||
- key: "solo.hashgraph.io/role" | ||
operator: "Equal" | ||
value: "test-clients" | ||
effect: "NoSchedule" | ||
affinity: {} | ||
|
||
loadGenerator: | ||
java: | ||
maxMemory: '48g' | ||
test: | ||
className: com.hedera.benchmark.NftTransferLoadTest | ||
args: | ||
- -c | ||
- "7" | ||
- -a | ||
- "1000" | ||
- -T | ||
- "10" | ||
- -n | ||
- "10" | ||
- -S | ||
- "hot" | ||
- -p | ||
- "50" | ||
- -t | ||
- "1m" | ||
properties: | ||
- '34.118.231.223\:50211=0.0.3' | ||
- '34.118.238.41\:50211=0.0.4' | ||
- '34.118.235.163\:50211=0.0.5' | ||
- '34.118.233.134\:50211=0.0.6' | ||
- '34.118.238.65\:50211=0.0.7' | ||
- '34.118.230.205\:50211=0.0.8' | ||
- '34.118.225.213\:50211=0.0.9' |
Oops, something went wrong.