{"id":1080,"date":"2022-04-27T08:41:45","date_gmt":"2022-04-27T16:41:45","guid":{"rendered":"https:\/\/www.gauntletwizard.net\/wordpress\/?p=1080"},"modified":"2022-04-27T08:41:45","modified_gmt":"2022-04-27T16:41:45","slug":"borg-priorities","status":"publish","type":"post","link":"https:\/\/www.gauntletwizard.net\/wordpress\/?p=1080","title":{"rendered":"Borg Priorities"},"content":{"rendered":"\n<p><a href=\"https:\/\/www.cs.cmu.edu\/~harchol\/Papers\/EuroSys20.pdf\">https:\/\/www.cs.cmu.edu\/~harchol\/Papers\/EuroSys20.pdf<\/a><\/p>\n\n\n\n<blockquote class=\"wp-block-quote\"><p>The priority of a job helps define how the scheduler treats it. Ranges of priorities that share similar properties are referred to as tiers: \u2022 Free tier: jobs running at these lowest priorities incur no internal charges, and have no Service Level Objectives (SLOs). 2019 trace priority &lt;= 99; 2011 trace priority bands 0 and 1. \u2022 Best-effort Batch (beb) tier: jobs running at these priorities are managed by the batch scheduler and incur low internal charges; they have no associated SLOs. 2019 trace priority 110\u2013115; 2011 trace priority bands 2\u20138. \u2022 Mid-tier: jobs in this category offer SLOs weaker than those offered to production tier workloads, as well as lower internal charges. 2019 trace priority 116\u2013119; not present in the 2011 trace. \u2022 Production tier: jobs in this category require high availability (e.g., user-facing service jobs, or daemon jobs providing storage and networking primitives); internally charged for at \u201cfull price\u201d. Borg will evict lower-tier jobs in order to ensure production tier jobs receive their expected level of service. 2019 trace priority 120\u2013359; 2011 trace priority bands 9\u201310. \u2022 Monitoring tier: jobs we deem critical to our infrastructure, including ones that monitor other jobs for problems. 2019 trace priority >= 360; 2011 trace priority band 11. (We merged the small number of monitoring jobs into the Production tier for this paper.)<\/p><cite>https:\/\/www.cs.cmu.edu\/~harchol\/Papers\/EuroSys20.pdf<\/cite><\/blockquote>\n\n\n\n<p><a href=\"https:\/\/static.googleusercontent.com\/media\/research.google.com\/en\/\/pubs\/archive\/43438.pdf\">https:\/\/static.googleusercontent.com\/media\/research.google.com\/en\/\/pubs\/archive\/43438.pdf<\/a><\/p>\n\n\n\n<p>2.5 Priority, quota, and admission control<br \/>What happens when more work shows up than can be accommodated? Our solutions for this are priority and quota.<br \/>Every job has a priority, a small positive integer. A highpriority task can obtain resources at the expense of a lowerpriority one, even if that involves preempting (killing) the<br \/>latter. Borg defines non-overlapping priority bands for different uses, including (in decreasing-priority order): monitoring, production, batch, and best effort (also known as<br \/>testing or free). For this paper, prod jobs are the ones in the<br \/>monitoring and production bands.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/www.cs.cmu.edu\/~harchol\/Papers\/EuroSys20.pdf The priority of a job helps define how the scheduler treats it. Ranges of priorities that share similar properties are referred to as tiers: \u2022 Free tier: jobs running at these lowest priorities incur no internal charges, and have no Service Level Objectives (SLOs). 2019 trace priority &lt;= 99; 2011 trace priority bands 0 &hellip; <a href=\"https:\/\/www.gauntletwizard.net\/wordpress\/?p=1080\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Borg Priorities<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"_links":{"self":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1080"}],"collection":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1080"}],"version-history":[{"count":1,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1080\/revisions"}],"predecessor-version":[{"id":1081,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1080\/revisions\/1081"}],"wp:attachment":[{"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1080"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1080"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gauntletwizard.net\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1080"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}