{"id":1907,"date":"2016-12-29T16:17:26","date_gmt":"2016-12-30T00:17:26","guid":{"rendered":"http:\/\/www.coretechnologies.com\/blog\/?p=1907"},"modified":"2026-04-23T20:16:44","modified_gmt":"2026-04-24T03:16:44","slug":"turbocharge-windows-services","status":"publish","type":"post","link":"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/turbocharge-windows-services\/","title":{"rendered":"Turbocharge your Applications Running as Windows Services with AlwaysUp"},"content":{"rendered":"<div align=\"center\"><img loading=\"lazy\" decoding=\"async\" class=\"no-lazy-load image-padding\" src=\"\/blog\/images\/turbocharge-windows-service.webp\" title=\"Turbocharge your Applications Running as Windows Services with AlwaysUp\" alt=\"Turbocharge your Applications Running as Windows Services with AlwaysUp\" width=\"540\" height=\"315\" border=\"0\"><\/div>\n<p>Right now your computer is probably running over a hundred programs. And with just a handful of CPUs available &mdash; certainly not enough to dedicate a whole CPU to each process &mdash; Windows has to perform some wizardry to give the illusion that each program has all the resources that it needs.<\/p>\n<p>Indeed, every few milliseconds the operating system is deciding which of the many active processes should have exclusive use of the CPU for the next small slice of time, and it&#8217;s doing this over and over again. This activity is called <a href=\"https:\/\/en.wikipedia.org\/wiki\/Scheduling_(computing)\" target=\"_blank\" rel=\"noopener noreferrer\">CPU Scheduling<\/a>.<\/p>\n<p>This article discusses how you can influence CPU scheduling to benefit all your Windows Services, as well as any application running as a Windows Service with <a href=\"\/products\/AlwaysUp\/\">AlwaysUp<\/a>.<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\"><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Give all Windows Services more CPU time<\/h2>\n<p>While Windows manages CPU scheduling automatically, you can specify which types of tasks get more processing resources via a setting on the Control Panel. To find the setting:<\/p>\n<ol>\n<li>\n<p>Open Control Panel<\/p>\n<\/li>\n<li>\n<p>Click <b>System and Security<\/b><\/p>\n<\/li>\n<li>\n<p>Click <b>System<\/b><\/p>\n<\/li>\n<li>\n<p>Click <b>Advanced system settings<\/b> on the left to open the <b>System Properties<\/b> window<\/p>\n<\/li>\n<li>\n<p>Switch to the <b>Advanced<\/b> tab<\/p>\n<\/li>\n<li>\n<p>In the <b>Performance<\/b> section, press the <b>Settings&#8230;<\/b> button to open the <b>Performance Options<\/b> window<\/p>\n<\/li>\n<li>\n<p>Switch to the <b>Advanced<\/b> tab to reveal the <b>Processor scheduling<\/b> section.<\/p>\n<p>\n<a href=\"\/blog\/images\/performance-options-windows-service-scheduling.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Windows Performance Options\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/performance-options-windows-service-scheduling.png\" class=\"image-padding\" title=\"Windows Performance Options (click to enlarge)\" alt=\"Windows Performance Options\" width=\"377\" height=\"542\" border=\"0\"><\/a>\n<\/p>\n<\/li>\n<\/ol>\n<p style=\"margin-top:30px\">Windows offers a simple choice: Do you want to give preferential treatment to regular, foreground programs (like Word and Excel) or to background windows services? A desktop PC, actively driven by a person expecting his applications to be very responsive is better off choosing <b>Programs<\/b>. However your AlwaysUp-managed applications will likely perform better with the <b>Background services<\/b> option as they are being run in the background as Windows Services. Please apply that setting to your system if it&#8217;s right for you.<\/p>\n<hr class=\"blog-section\">\n<div style=\"width:100%;margin-bottom:30px;\">\n<div style=\"margin:0px;float:right;\"><a href=\"#top\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/cdn.coretechnologies.com\/images\/top.jpg\" border=\"0\" width=\"50\" height=\"18\" title=\"Go to the top\" alt=\"\"><\/a><\/div>\n<\/div>\n<h2 class=\"blog-caption\">Give your specific AlwaysUp applications more CPU time<\/h2>\n<p>Windows performs <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/procthread\/scheduling-priorities\" target=\"_blank\" rel=\"noopener noreferrer\">priority based round robin CPU scheduling<\/a>. Each process has an assigned priority (from idle to real-time) and Windows tries to assign available CPU cycles to the higher priority processes whenever it can. However, since almost all processes on the typical computer run with normal priority, the reality is that CPUs are offered equally to the majority of the active processes.<\/p>\n<p>But why should the <a href=\"\/blog\/windows-services\/spooler\/\">Print Spooler<\/a> or the time synchronization service be given a CPU while your mission-critical application is left waiting in line?<\/p>\n<p>Fortunately AlwaysUp can be configured to run your application at a higher priority, to ensure that it gets more processing power than less time-sensitive processes. To make the change, edit your application and find the <b>Set the priority to<\/b> setting on the <b>General<\/b> tab:<\/p>\n<p>\n<a href=\"\/blog\/images\/alwaysup-set-application-priority.png\" class=\"zoomPopup\" rel=\"zoomgroup noopener noreferrer\" title=\"Increase your Application's Priority\" target=\"_blank\"><br \/>\n<img loading=\"lazy\" decoding=\"async\" src=\"\/blog\/images\/alwaysup-set-application-priority.png\" class=\"image-padding\" title=\"Increase your Application's Priority (click to enlarge)\" alt=\"Increase your Application's Priority\" width=\"425\" height=\"604\" border=\"0\"><\/a>\n<\/p>\n<p>We recommend setting the priority to <b>Above Normal<\/b> or <b>High<\/b> to give your application preferential treatment.<\/p>\n<p>Note: As <a href=\"https:\/\/learn.microsoft.com\/en-us\/windows\/win32\/procthread\/scheduling-priorities\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft advises<\/a>, the <b>Realtime<\/b> option should be used with extreme caution as it may have unintended side effects.<\/p>\n<p>Enjoy!<\/p>\n<div style=\"margin-top:30px\" align=\"center\">\n<div class=\"cta-button-1\">\n<table role=\"presentation\" cellspacing=\"0\" cellpadding=\"0\" border=\"0\" align=\"left\">\n<tbody>\n<tr>\n<td align=\"center\"><a href=\"\/blog\/tag\/alwaysup-tag\/\" title=\"Click to read more articles about AlwaysUp\"><span class=\"nobr\">More articles about AlwaysUp&#8230;<\/span><\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>You may also like...<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 3;--relposth-columns_t: 2; --relposth-columns_m: 2\"><a href=\"https:\/\/www.coretechnologies.com\/blog\/windows-services\/interact-with-desktop\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why doesn&#039;t Allow service to interact with desktop work?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/qa-150x150.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: Why doesn&#039;t &quot;Allow service to interact with desktop&quot; work?<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/dropbox-sync-files\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"How to Verify that Dropbox is Synchronizing your Files\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/dropbox-windows-sync-150x1501.png\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">How to Verify that Dropbox is Synchronizing your Files and Folders<\/h2><\/div><\/div><\/a><a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/dropbox-file-not-removed\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><img decoding=\"async\" loading=\"lazy\" class=\"relpost-block-single-image\" alt=\"Q&amp;A: Why isn&#039;t my File Removed from Dropbox?\"  src=\"https:\/\/www.coretechnologies.com\/blog\/wp-content\/uploads\/dropbox-not-removing-files-150x150-1.webp\" style=\"aspect-ratio:1\/1\" style=\"aspect-ratio:1\/1\"><\/img><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: #333333;\"><h2 class=\"relpost_card_title\">Q&amp;A: Why isn&#039;t my File Removed from Dropbox?<\/h2><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>Right now your computer is probably running over a hundred programs. And with just a handful of CPUs available &mdash; certainly not enough to dedicate a whole CPU to each process &mdash; Windows has to perform some wizardry to give &hellip; <a href=\"https:\/\/www.coretechnologies.com\/blog\/alwaysup\/turbocharge-windows-services\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":2742,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2],"tags":[26,80,116,196],"class_list":["post-1907","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-alwaysup","tag-alwaysup-tag","tag-feature-spotlight","tag-performance","tag-windows-services-2"],"_links":{"self":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1907","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/comments?post=1907"}],"version-history":[{"count":4,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1907\/revisions"}],"predecessor-version":[{"id":13464,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/posts\/1907\/revisions\/13464"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media\/2742"}],"wp:attachment":[{"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/media?parent=1907"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/categories?post=1907"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.coretechnologies.com\/blog\/wp-json\/wp\/v2\/tags?post=1907"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}