what is 'Gbytes seconds'?

六眼飞鱼酱① 提交于 2020-02-24 04:20:30

问题


From the qstat (Sun Grid Engine) manpage:

mem: The current accumulated memory usage of the job in Gbytes seconds.

What does that mean?


回答1:


I couldn't find better documentation than the man page where that description can be found. I think 1 Gbyte second is 1 Gbyte of memory used for one second. So if your code uses 1 GB for 1 minute then 2 GB for two minutes, the accumulated memory usage is 1*60 + 2*120 = 300 GByte seconds.




回答2:


The Gigabyte-second unit specifies the amount of memory allocated to a task per second that that task runs.

Example:

  • Task 1: 1 GB * 10 seconds = 10 gb-sec

  • Task 2: .128 MB * 10 seconds ~ 0.128 GB * 10 Seconds = 1.28 gb-sec

  • Task 3: 8 GB * 10 seconds = 80 gb-sec

In practice it's often employed as a devops metric or as a way of billing out services designed to run for short time periods and then terminate such as serverless function services on PaaS clouds.



来源:https://stackoverflow.com/questions/13674729/what-is-gbytes-seconds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!