Hi sdriscoll,
Many thanks for the very helpful answer, it seems to work on our system exactly the way you described it.
For those interested, I attached a file containing the memory usage as outputed by top when submitting multiple jobs the way sdriscoll described.
In short:
- Loading the genome was accompanied with 52GB increase of RAM usage (probably some independent process account for part of this, as bovine genome is expected ~27GB)
- Each job was accompanied by a marginal increase of RAM usage (jobs confirmed by a 3% increase in CPU usage)
- Killing the jobs left the RAM usage constant (but reduced the CPU usage)
- Removing the genome reduced the RAM usage by ~27GB (expected size of bovine genome)
Our confusion was that we understood from the STAR manual, that the LoadAndRemove option would share a genome the same way as LoadAndKeep, except for removing the genome from memory after the last job finishes.
Apparently, this is not the case.
If I got it right:
- each job using LoadAndRemove will ignore any pre-loaded instance of the genome, load a new instance and remove it when done
- each job using LoadAndKeep will share the existing instance of the genome, or load one if absent
Please correct me if I am wrong! (peer-review always appreciated
)Kevin
Leave a comment: