{"id":1791,"date":"2015-12-23T19:15:10","date_gmt":"2015-12-23T19:15:10","guid":{"rendered":"http:\/\/microsoftgeek.com\/?p=1791"},"modified":"2018-09-06T23:15:37","modified_gmt":"2018-09-06T23:15:37","slug":"creating-a-windows-server-performance-baseline","status":"publish","type":"post","link":"https:\/\/microsoftgeek.com\/?p=1791","title":{"rendered":"Creating a Windows Server Performance baseline"},"content":{"rendered":"<div class=\"introduction steps-content sui-opt-in\">\n<h2>Introduction<\/h2>\n<p>Every Microsoft Windows server should be monitored for performance issues, but if you have nothing to compare it against, how do you know when its over worked or ticking over?<\/p>\n<\/div>\n<div class=\"steps-section sui-opt-in\">\n<h2>Steps <span class=\"subheader\">(6 total)<\/span><\/h2>\n<div class=\"how-to-step steps-content \">\n<div class=\"step-header\">\n<div class=\"number\">1<\/div>\n<h3>Opening the tool<\/h3>\n<\/div>\n<div class=\"step-image resized\"><img decoding=\"async\" src=\"https:\/\/static.spiceworks.com\/images\/how_to_steps\/0000\/0265\/Perfmon_open.jpg\" alt=\"\" \/><\/p>\n<div class=\"expand-wrapper\">Expand<\/div>\n<\/div>\n<div class=\"step-content\">\n<p>First open performance monitor on the server (you can run or setup a schedule from your own machine with domain admin rights, but i won&#8217;t cover that in this demo)<br \/>\nThe images will be from a server console.<br \/>\nThe performance icon can be found in the control panel under Administrative tools<\/p>\n<p>Once opened, it gives you 3 counters with current utilisations.<\/p>\n<\/div>\n<\/div>\n<div class=\"how-to-step steps-content \">\n<div class=\"step-header\">\n<div class=\"number\">2<\/div>\n<h3>Selecting objects or counters<\/h3>\n<\/div>\n<div class=\"step-image resized\"><img decoding=\"async\" src=\"https:\/\/static.spiceworks.com\/images\/how_to_steps\/0000\/0273\/perfmon_selected_counters.jpg\" alt=\"\" \/><\/p>\n<div class=\"expand-wrapper\">Expand<\/div>\n<\/div>\n<div class=\"step-content\">\n<p>The big question of performance monitoring is &#8216;What do you want to know&#8217; &#8211; this all depends on what the function of the servers is &#8211; if its an SQL server, you will want to monitor SQL performance objects more than other objects, if its a general data and print server then just monitoring the CPU, Memory and disk activity is a good start.<br \/>\nThe difference between an Object and a Counter is &#8211; the object is the whole item &#8211; i.e. the Processor as a whole. The counter allows you to dig a little deeper and monitor different aspects of the Object &#8211; i.e. Dual Core &#8211; Both cores.<\/p>\n<p>For recommended baseline objects and counters &#8211; see the reference link i have added.<\/p>\n<\/div>\n<\/div>\n<div class=\"how-to-step steps-content \">\n<div class=\"step-header\">\n<div class=\"number\">3<\/div>\n<h3>Creating and selecting a new log<\/h3>\n<\/div>\n<div class=\"step-image resized\"><img decoding=\"async\" src=\"https:\/\/static.spiceworks.com\/images\/how_to_steps\/0000\/0267\/perfmon_add_counters.jpg\" alt=\"\" \/><\/p>\n<div class=\"expand-wrapper\">Expand<\/div>\n<\/div>\n<div class=\"step-content\">\n<p>Expand the Performance Logs and Alerts section and select Counter Logs.<br \/>\nIn the right hand window, right click and select &#8216;New Log Settings&#8217;<br \/>\nGive the new log a name &#8211; i&#8217;ve called mine &#8216;Test&#8217; for the sake of this demo.<br \/>\nThen select the &#8216;Objects&#8217; or &#8216;Counters&#8217; you wish to monitor.<br \/>\n(see next section)<\/p>\n<\/div>\n<\/div>\n<div class=\"how-to-step steps-content \">\n<div class=\"step-header\">\n<div class=\"number\">4<\/div>\n<h3>Log files and scheduling<\/h3>\n<\/div>\n<div class=\"step-image resized\"><img decoding=\"async\" src=\"https:\/\/static.spiceworks.com\/images\/how_to_steps\/0000\/0271\/perfmon_schedule.jpg\" alt=\"\" \/><\/p>\n<div class=\"expand-wrapper\">Expand<\/div>\n<\/div>\n<div class=\"step-content\">\n<p>Once you are happy that you are monitoring the correct aspects of your server, and at the correct interval (This depends on how long you wish to monitor the performance &#8211; if its over the course of a whole day, every 15 seconds is a little too much!), move on to the log files tab and change the location and type of log file you wish to save. The defaults are normally ok.<\/p>\n<p>The Schedule is the important Tab &#8211; in order to get a good baseline, you need to run the monitor at a time when the server is doing an average workload &#8211; there&#8217;s no point running the counter at night if no one is in &#8211; the server will be doing nothing. On the same contrast, don&#8217;t run the counter when everyone is working flat out, i.e. 15 minutes before your company has to hand in a tender!<br \/>\nSelect a good time and day to run the baseline, go back and keep changing the day and time to compare results; making sure you are getting an average workload.<br \/>\nMy example schedule will run Automatically from 10am, after the intial login load has passed &#8211; till 2pm. covering morning working, lunch time slow down, and lunch time peak return.<\/p>\n<p>It useful to note that this scheduled job will run as a service and once submitted, the performance monitor program can be closed.<br \/>\nYou can submit multiple jobs to run at multiple times with multiple counters in each.<\/p>\n<\/div>\n<\/div>\n<div class=\"how-to-step steps-content \">\n<div class=\"step-header\">\n<div class=\"number\">5<\/div>\n<h3>Viewing the results.<\/h3>\n<\/div>\n<div class=\"step-image resized\"><img decoding=\"async\" src=\"https:\/\/static.spiceworks.com\/images\/how_to_steps\/0000\/0275\/perfmon_view_counters.jpg\" alt=\"\" \/><\/p>\n<div class=\"expand-wrapper\">Expand<\/div>\n<\/div>\n<div class=\"step-content\">\n<p>Now that you have created the baseline &#8211; set the schedule and the counters have run &#8211; you need to look at the results.<\/p>\n<p>Go back to the Performance monitor application.<br \/>\nSelect the System Monitor icon in the left hand pane &#8211; and remove all current counters by clicking the X button accross the toolbar in the right hand pane until no counters exist.<\/p>\n<p>Now you need to load in the log file.<br \/>\nOn the toolbar, the 3rd button in from the left &#8211; is the &#8216;view log data&#8217; button &#8211; or CTRL L.<br \/>\nSelect this and when the window opens you need to point it to the correct log file you created &#8211; if you selected the defaults this will be C:\\perfmon\\Xxxx.Csv<br \/>\nLoad this log file in to the data source window, then select the Data Tab.<br \/>\nThis is where you can select all or some of the counters in the log to view in the chart.<br \/>\nIn the same way you added the counters, go back and add them back in to the counters to view window.<br \/>\nWhen you have finished &#8211; click OK and all the counters will show in the chart.<\/p>\n<\/div>\n<\/div>\n<div class=\"how-to-step steps-content \">\n<div class=\"step-header\">\n<div class=\"number\">6<\/div>\n<h3>Troubleshooting &amp; Analysing<\/h3>\n<\/div>\n<div class=\"step-content\">\n<p>One item you need to be aware of is the Performance Service &#8211; this needs to be set to Automatic in the services section in control panel in order for Schedules to run. If this is Disabled the performance counters will not work.<\/p>\n<p>Now that you have your graph, you need to analyse the data.<br \/>\nTo make it easier to view each counter &#8211; select it in the bottom window and click on the &#8216;Bulb&#8217; icon on the toolbar to highlight its result &#8211; this is especially handy when you have lots of counters.<br \/>\nWhen you look at the results, try and view them in consideration of what might have been happening in the company at that time.<\/p>\n<p>Now that you have your baseline, you have something to compare all other performance logs too &#8211; you can now go back and run the counters at quiet night times &#8211; when the backups are being run, or when the company is running at peak times. This allows you to compare and contrast the results and take action as necessary.<\/p>\n<\/div>\n<\/div>\n<\/div>\n<div class=\"conclusion steps-content sui-opt-in\">\n<h2>Conclusion<\/h2>\n<p>The Performance tool is very powerful,but because of this can be quite confusing as to what to monitor and what the results mean.<br \/>\nThe best way if you are just starting out using this tool is to select one counter only and monitor this on your server &#8211; make it one that you can understand like CPU time or Memory pages\/sec. Then work upwards from there.<\/p>\n<\/div>\n<p>Thanks for reading and happy monitoring!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Every Microsoft Windows server should be monitored for performance issues, but if you have nothing to compare it against, how do you know when its over worked or ticking over? Steps (6 total) 1 Opening the tool Expand First open performance monitor on the server (you can run or setup a schedule from your [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4,6],"tags":[],"class_list":["post-1791","post","type-post","status-publish","format-standard","hentry","category-general-2003-stuff","category-general-2008"],"_links":{"self":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1791","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1791"}],"version-history":[{"count":1,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1791\/revisions"}],"predecessor-version":[{"id":1792,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=\/wp\/v2\/posts\/1791\/revisions\/1792"}],"wp:attachment":[{"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1791"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1791"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/microsoftgeek.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1791"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}