Skip to content

Commit

Permalink
Update VM spot pricing in monitoring analysis scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mwalker174 committed Jan 6, 2025
1 parent 76054e6 commit 724d79b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
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

0 comments on commit 724d79b

Please sign in to comment.