Skip to content
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

Update VM spot pricing in monitoring analysis scripts #765

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/cromwell/analyze_monitoring_logs.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,9 @@
ALL_HEADER = '#job\ttask\thr\tmem_total\tmem_gb_max\tmem_pct_max\tdisk_total\tdisk_gb_max\tdisk_pct_max\tmem_gb_hr\tdisk_gb_hr\tmax_mem_gb_hr\tmax_disk_gb_hr\tcost_mem\tcost_mem_dyn\tcost_disk\tcost_disk_dyn\n'
GROUP_HEADER = '#task\thr\tmem_avg\tmem_gb_max\tmem_pct_max\tdisk_avg\tdisk_gb_max\tdisk_pct_max\tmem_gb_hr\tdisk_gb_hr\tmax_mem_gb_hr\tmax_disk_gb_hr\tcost_mem\tcost_mem_static\tcost_mem_dyn\tcost_disk\tcost_disk_static\tcost_disk_dyn\n'

COST_PER_GB_MEM_HR = 0.000892
COST_CPU_HR = 0.006655
COST_PER_GB_DISK_HR = 0.00005555555
COST_PER_GB_MEM_HR = 0.001072
COST_CPU_HR = 0.00836
COST_PER_GB_DISK_HR = 0.0000548

MIN_CPU = 1
MIN_MEM_GB = 0.9
Expand Down
6 changes: 3 additions & 3 deletions scripts/cromwell/analyze_monitoring_logs2.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@
# Author: Emma Pierce-Hoffman ([email protected])
# Modified from analyze_monitoring_logs.py by Mark Walker

COST_PER_GB_MEM_HR = 0.000892
COST_CPU_HR = 0.006655
COST_PER_GB_DISK_HR = 0.00005555555
COST_PER_GB_MEM_HR = 0.001072
COST_CPU_HR = 0.00836
COST_PER_GB_DISK_HR = 0.0000548

MIN_CPU = 1
MIN_MEM_GB = 0.9
Expand Down
Loading