-
Notifications
You must be signed in to change notification settings - Fork 39
Automatically record heap profiles in testplans #147
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 3 commits
664d189
96a9a4c
e1bc2f3
675cfa5
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
[metadata] | ||
name = "memory-stress" | ||
|
||
[global] | ||
plan = "graphsync" | ||
case = "stress" | ||
total_instances = 2 | ||
builder = "docker:go" | ||
runner = "cluster:k8s" | ||
|
||
[global.build_config] | ||
push_registry=true | ||
go_proxy_mode="remote" | ||
go_proxy_url="http://localhost:8081" | ||
registry_type="aws" | ||
|
||
[global.run.test_params] | ||
size = "512MB" | ||
latencies = '["50ms"]' | ||
bandwidths = '["32MiB"]' | ||
concurrency = "1" | ||
chunk_size = "18" | ||
links_per_level = "1024" | ||
raw_leaves = "false" | ||
disk_store = "true" | ||
memory_snapshots = "detailed" | ||
|
||
[[groups]] | ||
id = "providers" | ||
instances = { count = 1 } | ||
[groups.resources] | ||
memory = "4096Mi" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Running this test with the following params, results in OOMKilled error for the
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. should be fixed now. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am still getting OOMKilled when I try to run the |
||
cpu = "1000m" | ||
|
||
[[groups]] | ||
id = "requestors" | ||
instances = { count = 1 } | ||
[groups.resources] | ||
memory = "4096Mi" | ||
cpu = "1000m" |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
[metadata] | ||
name = "memory-stress" | ||
|
||
[global] | ||
plan = "graphsync" | ||
case = "stress" | ||
total_instances = 2 | ||
builder = "docker:go" | ||
runner = "local:docker" | ||
|
||
[global.run.test_params] | ||
size = "512MB" | ||
latencies = '["50ms"]' | ||
bandwidths = '["32MiB"]' | ||
concurrency = "1" | ||
chunk_size = "18" | ||
links_per_level = "1024" | ||
raw_leaves = "false" | ||
disk_store = "true" | ||
memory_snapshots = "detailed" | ||
|
||
[[groups]] | ||
id = "providers" | ||
instances = { count = 1 } | ||
|
||
[[groups]] | ||
id = "requestors" | ||
instances = { count = 1 } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure how different this test plan is to the one that is at https://github.com/filecoin-project/lotus/tree/master/testplans/graphsync , but if they are different (and I believe they are), we should change the name of the
case
to something else.The automated dashboards, such as https://ci.testground.ipfs.team/dashboard?task_id=c09omhl5p7a858f1470g rely on uniqueness of the name... i.e. if we have 2 testplans that do different stuff and share the same plan:case , then dashboards would be meaningless.
Nothing urgent, just explaining in case we decide we want to run this on TaaS as well, periodically, which I think would be nice.