{"id":70743,"date":"2023-02-17T17:02:49","date_gmt":"2023-02-17T17:02:49","guid":{"rendered":"https:\/\/merikebi.warrenmyers.com\/?p=70743"},"modified":"2023-02-17T17:02:49","modified_gmt":"2023-02-17T17:02:49","slug":"answer-by-warren-for-finding-optimum-cpu-limit-for-docker-containers-in-splunk","status":"publish","type":"post","link":"https:\/\/merikebi.warrenmyers.com\/?p=70743","title":{"rendered":"Answer by warren for Finding optimum CPU limit for docker containers in Splunk"},"content":{"rendered":"<p>&quot;Optimum&quot; is going to depend <em>greatly<\/em> on your own environment (resources available, application priority, etc)<\/p>\n<p>You probably want to look at a combination of the following factors:<\/p>\n<ul>\n<li>avg(CPU)<\/li>\n<li>max(CPU) (and time spent there)<\/li>\n<li>min(CPU) (and time spent there)<\/li>\n<\/ul>\n<p>I <em>suspect<\/em> your &quot;optimum&quot; limit is going to be a % below your max&#8230;but only if you&#8217;re spending &#8216;a lot&#8217; of time maxxed-out<\/p>\n<p>And, of course, being &quot;maxed&quot; may not matter, if other containers are running acceptably<\/p>\n<p>Keep in mind, once you set that limit, your max will drop (as, likely, will your avg)<\/p>\n<p>from User warren &#8211; Stack Overflow https:\/\/stackoverflow.com\/questions\/75486291\/finding-optimum-cpu-limit-for-docker-containers-in-splunk\/75487153#75487153<br \/>\nvia <a href=\"https:\/\/ifttt.com\/?ref=da&#038;site=wordpress\">IFTTT<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&quot;Optimum&quot; is going to depend greatly on your own environment (resources available, application priority, etc) You probably want to look at a combination of the following factors: avg(CPU) max(CPU) (and time spent there) min(CPU) (and time spent there) I suspect your &quot;optimum&quot; limit is going to be a % below your max&#8230;but only if you&#8217;re &hellip;<br \/><a href=\"https:\/\/merikebi.warrenmyers.com\/?p=70743\" class=\"more-link pen_button pen_element_default pen_icon_arrow_double\">Continue reading <span class=\"screen-reader-text\">Answer by warren for Finding optimum CPU limit for docker containers in Splunk<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4],"tags":[991],"keyring_services":[],"class_list":["post-70743","post","type-post","status-publish","format-standard","hentry","category-blih","tag-stackexchange"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/70743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=70743"}],"version-history":[{"count":1,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/70743\/revisions"}],"predecessor-version":[{"id":70744,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=\/wp\/v2\/posts\/70743\/revisions\/70744"}],"wp:attachment":[{"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=70743"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=70743"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=70743"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/merikebi.warrenmyers.com\/index.php?rest_route=%2Fwp%2Fv2%2Fkeyring_services&post=70743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}