When does the clock on CPU seconds reset? So, in general, CPU time is only used while your program is actively making calculations, not while it is waiting for other systems. When the response comes back from the other end, then it will again use a small amount of CPU to interpret the response and provide your code with the results. Only running Python code from within a notebook and running commands from the terminal count against your quota, and even then very few command functions truly tax the CPU.įor example, if your code makes an HTTP request, then it will use a tiny amount of CPU time assembling the request and sending it out over the network, but will then use no CPU at all while it’s waiting for a response. Simply running JupyterLab, writing code, and using the interface don’t really use up quota (though they have a small impact). We refer to them as “high-compute seconds” on our pricing page to clearly distinguish CPU seconds from real-world seconds. A CPU second is one second of running code on a single CPU core at 100%.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |