<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>LoadRunner TnT &#187; hardware</title>
	<atom:link href="http://www.loadrunnertnt.com/tag/hardware/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.loadrunnertnt.com</link>
	<description>Performance Testing, LoadRunner Tips &#38; Tricks</description>
	<lastBuildDate>Mon, 08 Mar 2010 07:57:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Planning for a Load Test</title>
		<link>http://www.loadrunnertnt.com/planning/planning-for-a-load-test/</link>
		<comments>http://www.loadrunnertnt.com/planning/planning-for-a-load-test/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 07:13:20 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Planning]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[hardware]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[Load Testing]]></category>
		<category><![CDATA[LoadRunner]]></category>
		<category><![CDATA[probe]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=662</guid>
		<description><![CDATA[Seldom, we discuss about the planning and implementation of the load test in our site.  As such, we are taking a change in this and will be touching on some considerations you as a performance tester/test manager/consultant should be thinking for every load test.  These considerations enable you to smooth up the process of the [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.loadrunnertnt.com/wp-content/uploads/2010/01/planning.jpg"><img class="alignleft size-thumbnail wp-image-663" title="planning" src="http://www.loadrunnertnt.com/wp-content/uploads/2010/01/planning-150x150.jpg" alt="" width="89" height="89" /></a>Seldom, we discuss about the planning and implementation of the load test in our site.  As such, we are taking a change in this and will be touching on some considerations you as a performance tester/test manager/consultant should be thinking for every load test.  These considerations enable you to smooth up the process of the entire load test and reduce any load test risks associated with it.   More than often, we focus on gathering the customers requirements for the load test such as user amount to generate, how long the load test will be conducted, where will it be conducted, the location that the virtual users will generate from, etc… That is basic information.  However, additional information will be required to smoothen the load test project and below are some of the additional considerations, you as a performance tester/test manager/consultant should be asking yourself or client.<span id="more-662"></span></p>
<ol>
<li><strong>Do you have sufficient hardware</strong>? – How may load generators are      required for the entire load test?  Refer      to this document from HP Support, <em><a href="http://support.openview.hp.com/selfsolve/document/KM767319">“Is resource      (cpu and memory) footprint information available to help in estimating the      load generators required for load testing with LoadRunner?”</a> </em>for      estimating the load generators required by multiplying the observations      with the total number of virtual users generated in the test.   In addition to the processor      utilization recommended in the document, do watch the memory and network      consumption of the load generators.        The network interface card (NIC) can become a bottleneck for load      generation.  A 1GB NIC will      definitely generate and receive more load than a 100MB NIC.  Therefore, do a check on the machines      assuming the load generator roles and make appropriate measures to prevent      the NIC in becoming the bottleneck.        With the above, you will get a rough gauge of the required resource      for your test.</li>
<li><strong>Do you need spare hardware?</strong> – Do cater some spare machines if      additional load generators are required, such as an additional of 5 load      generators.  This is to stand by in      the event of increasd virtual users and machine malfunction.</li>
<li><strong>Remember that it’s a team effort!</strong> – Can you secure human resources      for the load test?  You will need      the web, application and database server teams to be around to observe the      system behavior during the test or to assist in any reboot or refresh      activities for the system.  Network      and firewall/security team may be required to ensure that connectivity is      allowed for the load test.    Therefore, in the planning, you have to      get the relevant parties to commit the human resources!</li>
<li><strong>Installation of LoadRunner</strong> – This require administrative or      power users privileges in order for installation to be successful.  That raise another set of questions:      Will you be able to install LoadRunner in the premises?  Who can you look for to install the      LoadRunner program?  Do you need      clearance for installation?  Is the      system being hardened to prevent installation?</li>
<li><strong>Offshore Installation </strong>– Is offshore installation required      for the load test setup?  Can you      perform the installation via remote connection or do you require someone      from the site to assist in the installation?</li>
<li><strong>Running of JVM/.NET Probes for      Diagnostics</strong> – This      will require installation and instrumentation on the application server,      meaning it will be intrusive to the system as a whole.  Do you require additional permissions      for such installation?</li>
<li><strong>Post-installation</strong> – Do remember to test if the      installation is complete and the programs are working before moving on to      the next phase.  Remember to do a      connectivity check between the load generators to the controller to ensure      they communicate prior the load test.</li>
<li><strong>Working in different environments </strong>– Are you required to work in      different stages of a load test project?       Example, you are required to run the test in (A) the  data center followed by (B) the local      client segment and lastly (C) the remote client segment?  In this context, how do you ensure the      scripts worked from A to C?  It will      be easy if it is a change of hostnames and URL addresses that is being      used in these environments as it can be achieved through      parameterization.  But what if there      are additional authentication mechanism introduced in environment B and      C?  Authentication mechanisms such      as additional cookie in the clients are added into the URL or 2-factor      authentication can render the scripts developed in environment A      useless!  How do you go about      it?  Should you cater more time to      re-script for the worst scenario or is it better to disable the      authentication mechansim during the load test?</li>
</ol>
<p>These are some basic considerations we usually asked our ourselves and clients.  Hope it will be useful in your planning.  What are other considerations make for a load test for you?</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/planning/planning-for-a-load-test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do we determine hardware functionality?</title>
		<link>http://www.loadrunnertnt.com/analyze/how-do-we-determine-hardware-functionality/</link>
		<comments>http://www.loadrunnertnt.com/analyze/how-do-we-determine-hardware-functionality/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:52:40 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Analyze]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=336</guid>
		<description><![CDATA[In this article, we will discuss two counters proposed by Mitch Tulloch to detect if the hardware is functioning properly. The two counters, System\Context Switches/sec and Processor(_Total)\% Privileged Time, both related to processor are great counters to use. In general, by using the two counters, what we want to determine the type of threads that [...]]]></description>
			<content:encoded><![CDATA[<p>In this article, we will discuss two counters proposed by Mitch Tulloch to detect if the hardware is functioning properly. The two counters, System\Context Switches/sec and Processor(_Total)\% Privileged Time, both related to processor are great counters to use. In general, by using the two counters, what we want to determine the type of threads that the processor is currently working (or had been working on) and if it is busy handling interrupts instead of performing useful work.<span id="more-336"></span></p>
<p><strong>System\Context Switches/sec</strong></p>
<p>This counter measures how frequently the processor has to switch from <strong>user-mode</strong> to <strong>kernel-mode</strong> to handle a request from a thread running in user mode. The heavier the workload running on your machine, the higher this counter will generally be, but over long term the value of this counter should remain fairly constant. If this counter suddenly starts increasing however, it may be an indicating of a malfunctioning device, especially if you are seeing a similar jump in the <strong>Processor(_Total)\Interrupts/sec</strong> counter on your machine.</p>
<p>You may also want to check <strong>Processor(_Total)\% Privileged Time</strong> counter and see if this counter shows a similar unexplained increase, as this may indicate problems with a device driver that is causing an additional hit on kernel mode <strong>processor</strong> utilization. Drill down using <strong>Process(instance)\% Processor Time</strong> counter for each process instances running on your machine. This won’t directly tell you which driver is utilizing processor time, but it may indicate which calling application is indirectly causing the problem and may help you troubleshoot the issue further.<a href="http://www.windowsnetworking.com/articles_tutorials/Key-Performance-Monitor-Counters.html" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">(Source: Mitch Tulloch, Windows Networking)</span></span></a></p>
<p><strong>Processor(_Total)\Interrupts/sec</strong></p>
<p>This counter measures the number of interrupts the processor have to respond over time. Interrupts are generated from hardware components like <strong>hard disk</strong> controller adapters and network interface cards. A sustained value over <strong>1000</strong> is usually an indication of a problem. Problems would include a poorly configured <strong>drivers</strong>, errors in drivers, excessive utilization of a device (like a <strong>NIC</strong> on an <strong>IIS</strong> server), or hardware failure. Compare this value with the <strong>System\Systems Calls/sec</strong> or <strong>System\Context Switches/sec</strong>. If the Interrupts/sec is much larger over a sustained period, you probably have a hardware issue. <a href="http://www.microsoft.com/technet/archive/winntas/maintain/perform.mspx?mfr=true" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">(Source: Microsoft TechNet)</span></span></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/analyze/how-do-we-determine-hardware-functionality/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Do we need to scale up our servers?</title>
		<link>http://www.loadrunnertnt.com/analyze/do-we-need-to-scale-up-our-servers/</link>
		<comments>http://www.loadrunnertnt.com/analyze/do-we-need-to-scale-up-our-servers/#comments</comments>
		<pubDate>Tue, 22 Apr 2008 04:04:37 +0000</pubDate>
		<dc:creator>TnT Admin</dc:creator>
				<category><![CDATA[Analyze]]></category>
		<category><![CDATA[Bottleneck]]></category>
		<category><![CDATA[hardware]]></category>

		<guid isPermaLink="false">http://www.loadrunnertnt.com/?p=343</guid>
		<description><![CDATA[Back to the counters Processor(_Total)\Interrupts/sec and System\Context Switches/sec. If Processor(_Total)\Interrupts/sec does not correlate well with System\Context Switches/sec yet you noticed a sudden jump in context switches may instead suggest that your application is hitting its scalability limit on your particular machine and you may need to scale out your application (for example by clustering) or [...]]]></description>
			<content:encoded><![CDATA[<p>Back to the counters <strong>Processor(_Total)\Interrupts/sec</strong> and <strong>System\Context Switches/sec</strong>. If Processor(_Total)\Interrupts/sec does not correlate well with System\Context Switches/sec yet you noticed a sudden jump in context switches may instead suggest that your application is hitting its <strong>scalability</strong> limit on your particular machine and you may need to scale out your application (for example by clustering) or possibly redesign how it handles user mode requests. <a href="http://www.windowsnetworking.com/articles_tutorials/Key-Performance-Monitor-Counters.html" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">(Source: Mitch Tulloch, Windows Networking)<span id="more-343"></span></span></span></a></p>
<p><strong>So, what does System\Context Switches/sec represent?</strong></p>
<p>A context switch occurs when the <strong>kernel</strong> switches the processor from one <strong>thread</strong> to another. A high rate of <strong>context switching</strong> means that the processor is being shared repeatedly between threads of the same priority (too many threads being generated from users or server that the processor spent time switching rather than performing useful work). <a href="http://www.microsoft.com/technet/prodtechnol/windows2000serv/reskit/core/fned_ana_pftl.mspx?mfr=true" target="_blank"><span style="text-decoration: underline;"><span style="color: #0066cc;">(Source: Microsoft TechNet)</span></span></a></p>
<p>It’s a good idea to monitor <strong>System\Context Switches/sec</strong> over a period of time to establish a baseline for this counter. Why this is important, in the context of a load test, the System\Context Switches/sec will be collected as usual but you do not have a way of determining the acceptable threshold. A <strong>baseline</strong> of during its normal operation will greatly assist in analysing.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.loadrunnertnt.com/analyze/do-we-need-to-scale-up-our-servers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
