Skip to content
Permalink
Browse files

ENH: Save long waiters

  • Loading branch information
pan14001 committed Apr 17, 2018
1 parent 6b494e4 commit 8e3fff34b5e0bde37cac151da000050d4a152893
Showing with 5 additions and 2 deletions.
  1. +1 −0 .gitignore
  2. +4 −2 priority-wait.R
@@ -6,6 +6,7 @@ index.html
index_files/
*.png
*.pdf
*.tsv

# Emacs
*~
@@ -52,9 +52,9 @@ jobs_all<- left_join(tbl, usage, by = "start") %>%

jobs <- jobs_all %>% filter(wait < "12 hours")
## Hmmm... why were 54 jobs waiting longer than 12 hours even when
## there were resources? Maybe incompatible SLURM options?
## there were resources? Maybe asking for CPUS per node requirement?
## Calculation error in my code?
jobs_all %>% filter(wait > "12 hours")
jobs_long <- jobs_all %>% filter(wait > "12 hours")

ggplot(jobs_all, aes(x = wait)) +
geom_histogram(bins = 300) +
@@ -66,3 +66,5 @@ ggplot(jobs_all, aes(x = wait)) +
as_date(max(jobs$end)),
format(nrow(jobs), big.mark = ",")))
ggsave("wait.pdf", width = 15)

write_tsv(jobs_long %>% arrange(submit), "sacct-maylab-qos-long-wait.tsv")

0 comments on commit 8e3fff3

Please sign in to comment.
You can’t perform that action at this time.