--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1d57f535-1900-474d-9ca0-2d819f355350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
See this sentence from the doc you linked: "As of Go 1.5 the default value is the number of cores available.". So you don't normally need to set GOMAXPROCS nowadays anymore, Go will automatically spawn as many threads as it thinks there are cores. Whatever CPU limits you apply to the container (not sure if/how the Operator handles configuration of that) will then still apply and potentially scale down your actual CPU usage of course.
On Fri, Jul 21, 2017 at 8:37 PM, Julian Modesto <julianv...@gmail.com> wrote:
Hi,
I'm running Prometheus with Prometheus Operator in Kubernetes.
The Prometheus documentation states here that OS threads is set by GOMAXPROCS.
The Prometheus Operator uses resources.memory.requests to try to set -local.target.heap.size efficiently.
What about CPU, how should I set resources.cpu.requests? I don't see GOMAXPROCS being set w/ Prometheus Operator.
Julian
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/1d57f535-1900-474d-9ca0-2d819f355350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CA%2BT6YozR%2BxuJpr1TV2LaOQ5ZvOs9vh82sLJaX7t5vh8pLH9Ukw%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/4b36707d-b52c-4732-976b-b3d99a62d3fa%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
You received this message because you are subscribed to a topic in the Google Groups "Prometheus Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/prometheus-users/QPQ-UbtvS44/unsubscribe.
To unsubscribe from this group and all its topics, send an email to prometheus-users+unsubscribe@googlegroups.com.
To post to this group, send email to prometheus-users@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/15532d89-2e79-4033-a5e8-cda55138a62f%40googlegroups.com.
what do you expect to happen at GOMAXPROCS=1? Deadlocks? Has anyone tried this recently?
My understanding is that this variable informs the Go scheduler how many OS threads it can schedule goroutines to. If I ask for exactly 1 CPU to be used, what GOMAXPROCS should I set? Maybe there needs to be a multiplier?
/MR
To unsubscribe from this group and all its topics, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/15532d89-2e79-4033-a5e8-cda55138a62f%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to prometheus-use...@googlegroups.com.
To post to this group, send email to promethe...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/CAEDJc8TuX3O7h2ZpXrpSCE1TQ_yVOZ_reQv6rLySOx6eKSMuBg%40mail.gmail.com.
Thank you! That matches my (much less well-founded) suspicion.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/e9fa74fb-c6c3-47b4-867a-4141b05605ac%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/db9b69b8-234d-4b1f-9b55-61f1f459a098%40googlegroups.com.