Thank you! Can you confirm that the utilization graph in GAE console is the appropriate thing to refer to in terms of the billed utilization? I ask because that number seems different from the numbers shown in `top` when sshing into the instance and connecting to the Docker containerr (esp. when mounting a tmpfs volume).
On Friday, March 13, 2020 at 9:53:36 AM UTC-7, noverlyjoseph wrote: > > Yes, you're right it is the latter, "used" (including the required runtime > memory), just like it is mentioned on the Billing documentation you have > shared > > > On Friday, March 13, 2020 at 6:41:48 AM UTC-4, Eddie Zhou wrote: >> >> Hi App Engine folks, >> >> I'm trying to understand the wording in the pricing docs here >> <https://cloud.google.com/appengine/pricing#flexible-environment-pricing> >> : >> "Billing for the memory resource includes the memory your app *uses* >> plus the memory that the runtime itself needs to run your app. This means >> your memory usage and costs can be higher than the maximum memory you >> request for your app." >> >> And from app.yaml >> <https://cloud.google.com/appengine/docs/flexible/python/reference/app-yaml#memory> >> >> reference: >> "RAM in GB. The requested memory for your application, which does not >> include the ~0.4 GB of memory that is required for the overhead of some >> processes. Each CPU core requires a total memory between 0.9 and 6.5 GB. >> To calculate the requested memory: >> memory_gb = cpu * [0.9 - 6.5] - 0.4 >> For the example above where you have specified 2 cores, you can request >> between 1.4 and 12.6 GB. The total amount of memory available to the >> application is set by the runtime environment as the environment variable >> GAE_MEMORY_MB." >> >> Is billing based on the *requested *RAM, or the *used* RAM, which is >> displayed in the GCP App Engine console (see attached)? The wording would >> seem to indicate the latter, which makes sense to me. I'm just making sure >> because it appears that aside from the expected 0.4 GB of overhead, my >> applications have a loading-time spike in memory requirements, but >> stabilize at a much lower usage. I'm just making sure I don't get billed >> for this initial maximum that I'm forced to request, multiplied by all >> uptime. >> >> Thank you! >> >> Best, >> Eddie >> > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/3426665b-9107-4ac4-a89a-3c7a8338e25d%40googlegroups.com.
