<?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>Kudithipudi.Org &#187; Technology</title>
	<atom:link href="http://kudithipudi.org/category/technology/feed/" rel="self" type="application/rss+xml" />
	<link>http://kudithipudi.org</link>
	<description>Too much time on hand!!!</description>
	<lastBuildDate>Tue, 13 Jul 2010 02:33:09 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Lessons of the Trade : Purging Databases</title>
		<link>http://kudithipudi.org/2010/07/12/lessons-of-the-trade-purging-databases/</link>
		<comments>http://kudithipudi.org/2010/07/12/lessons-of-the-trade-purging-databases/#comments</comments>
		<pubDate>Tue, 13 Jul 2010 02:33:09 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=825</guid>
		<description><![CDATA[We ran into an interesting issue at work recently. Documenting the solution for my records.. BACKGROUND : We had a table in one of our databases that served as a &#8220;hopping&#8221; point for some jobs. Data was inserted into this table and at jobs get kicked off at periodic intervals to &#8220;process&#8221; the data and [...]]]></description>
			<content:encoded><![CDATA[<p>We ran into an interesting issue at work recently. Documenting the solution for my records..</p>
<p>BACKGROUND : We had a table in one of our databases that served as a &#8220;hopping&#8221; point for some jobs. Data was inserted into this table and at jobs get kicked off at periodic intervals to &#8220;process&#8221; the data and delete it.</p>
<p>CURRENT METHOD : Launch multiple jobs to process the data and delete the rows as soon as the data is processed. This is causing locks on the table because there are multiple delete operations occurring at the same time. Which in turn means that the jobs cannot complete processing the data causing the table to grow in size.</p>
<p>PROPOSED METHOD : Add a new column to the table called &#8220;PROCESSED_STATE&#8221; and modify the &#8220;processing&#8221; jobs to set a flag &#8220;Y&#8221; in this column as soon as the data is processed. Create a new job that will be launched periodically, which checks the PROCESSED_STATE column and if the flag is set to &#8220;Y&#8221;, deletes the row.</p>
<p>Morale of the story.. <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  .. Multiple deletes on a table are bad. Better way is to have multiple updates and one delete.</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2010/07/12/lessons-of-the-trade-purging-databases/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What happens when you get busy (lazy)?</title>
		<link>http://kudithipudi.org/2010/06/16/what-happens-when-you-get-busy-lazy/</link>
		<comments>http://kudithipudi.org/2010/06/16/what-happens-when-you-get-busy-lazy/#comments</comments>
		<pubDate>Thu, 17 Jun 2010 03:53:09 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=816</guid>
		<description><![CDATA[Your site goes down And traffic to the site drops!! Things have been a bit crazy at work recently, so I didn&#8217;t get a chance to fix the site as soon as it went down (due to an error I still haven&#8217;t figured out). And as a result, the traffic to the site dropped. I [...]]]></description>
			<content:encoded><![CDATA[<p>Your site goes down <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><img class="alignnone" title="Kudithipudi.Org error" src="http://farm5.static.flickr.com/4020/4708281368_4c00542cfb.jpg" alt="" width="500" height="321" /></p>
<p>And traffic to the site drops!!</p>
<p><img class="alignnone" title="Google Analytics Traffic Drop" src="http://farm5.static.flickr.com/4047/4707638083_50e9b6ba64_o.png" alt="" width="496" height="141" /></p>
<p>Things have been a bit crazy at work recently, so I didn&#8217;t get a chance to fix the site as soon as it went down (due to an error I still haven&#8217;t figured out). And as a result, the traffic to the site dropped.</p>
<p>I finally took the chance to move the site to a dedicated server running on the RackSpace Cloud services. Am putting together a post on how I handled this migration and will publish it soon.</p>
<p>The bad news is that I have lost traffic to the site that I have built over a period of time.. the good news is that I am the master of my own house (website) at last <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2010/06/16/what-happens-when-you-get-busy-lazy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>I like to be in control of my destiny</title>
		<link>http://kudithipudi.org/2010/05/12/i-like-to-be-in-control-of-my-destiny/</link>
		<comments>http://kudithipudi.org/2010/05/12/i-like-to-be-in-control-of-my-destiny/#comments</comments>
		<pubDate>Wed, 12 May 2010 13:52:41 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Rantings]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=809</guid>
		<description><![CDATA[I don&#8217;t have a Facebook or twitter account and that surprises a lot of my friends since I am such a geek . And the reason I keep (kept) giving was that I want to be in control of my destiny. In this case, destiny being content. While Facebook and Twitter provide you with a [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t have a <a href="http://www.facebook.com">Facebook</a> or <a href="http://www.twitter.com">twitter</a> account and that surprises a lot of my friends since I am such a geek <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . And the reason I keep (kept) giving was that I want to be in control of my destiny. In this case, destiny being content. While Facebook and Twitter provide you with a easy way to connect with friends/relatives/<a href="http://www.facebookstalker.net/news/">stalkers</a> etc, I believe it gives a lot of leeway on control over the content for the companies running these applications. I have all the means and ways to communicate with my friends and advertise what I need to world. How I do that? That is a blog post that I have been &#8220;drafting&#8221; for the last couple of months <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ..Hope to publish it soon. And looks like the wider audience is finally waking up to it.</p>
<p>Check out <a href="http://www.readwriteweb.com/archives/more_web_industry_leaders_quit_facebook_call_for_o.php">this</a> article on ReadWriteWeb regd how the tech leaders are calling for a boycott of Facebook and advocating for an open social networking protocol (<a href="http://www.readwriteweb.com/archives/more_web_industry_leaders_quit_facebook_call_for_o.php">http://www.readwriteweb.com/archives/more_web_industry_leaders_quit_facebook_call_for_o.php</a>).</p>
<p>Another <a href="http://www.readwriteweb.com/archives/study_twitter_isnt_very_social.php">article</a> on the same website, speaks about a study by the Advanced Institute of Science and Technology in Korea, which shows that Twitter is really not a social networking site, but more of a medium to broadcast your content (<a href="http://www.readwriteweb.com/archives/study_twitter_isnt_very_social.php">http://www.readwriteweb.com/archives/study_twitter_isnt_very_social.php</a>). Doesn&#8217;t really support the argument I made earlier that <a href="http://kudithipudi.org/2009/11/03/twitter-is-not-going-to-make-it/">Twitter is not going to make it</a>..but it certainly supports the notion that once the hype is gone the influence of twitter as a medium will decrease.</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2010/05/12/i-like-to-be-in-control-of-my-destiny/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Express.com DNS outage</title>
		<link>http://kudithipudi.org/2010/04/26/express-com-dns-outage/</link>
		<comments>http://kudithipudi.org/2010/04/26/express-com-dns-outage/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 01:42:19 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=805</guid>
		<description><![CDATA[I am sure a lot of people shop on express.com , but I probably get the credits for being the first blogger to post that express.com has not been responding to DNS queries since ~7:00 PM CST (4/26). Looks like Qwest is hosting DNS for Express. The name servers (most probably global load balancers) are [...]]]></description>
			<content:encoded><![CDATA[<p>I am sure a lot of people shop on <a href="http://www.express.com">express.com </a>, but I probably get the credits for being the first blogger to post that express.com has not been responding to DNS queries since ~7:00 PM CST (4/26). Looks like Qwest is hosting DNS for Express. The name servers (most probably global load balancers) are not responding to DNS requests.</p>
<p>Here&#8217;s what I get, when I queried for www.express.com</p>
<div>
<div id="output">
<h4>Nameserver  trace for www.express.com:</h4>
<ul>
<li>Looking for who is responsible  for root zone and followed h.root-servers.net.</li>
<li>Looking for who  is responsible for com and followed h.gtld-servers.net.</li>
<li>Looking  for who is responsible for express.com and followed  dca-ans-01.inet.qwest.net.</li>
</ul>
<h4>Nameservers for  www.express.com:</h4>
<ul>
<li><strong>dca-ans-01.inet.qwest.net</strong> returned (NORECORDS)</li>
<li><strong>svl-ans-01.inet.qwest.net</strong> returned (NORECORDS)</li>
</ul>
<p>I feel for the poor ops team scrambling around to bring up the service <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Another reason, you want diversity in your DNS hosting.</p>
<p><img class="aligncenter" title="Express.Com site outage" src="http://farm4.static.flickr.com/3161/4556053235_74281750fc.jpg" alt="" width="500" height="383" /></p>
</div>
</div>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2010/04/26/express-com-dns-outage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Configure mime type mappings in Jboss</title>
		<link>http://kudithipudi.org/2010/04/12/how-to-configure-mime-type-mappings-in-jboss/</link>
		<comments>http://kudithipudi.org/2010/04/12/how-to-configure-mime-type-mappings-in-jboss/#comments</comments>
		<pubDate>Mon, 12 Apr 2010 19:44:32 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=800</guid>
		<description><![CDATA[Instructions for configuring the mime type mappings in Jboss. Mime types essentially tells the application processing the content (typically a browser), what the content is. More information here (http://en.wikipedia.org/wiki/Internet_media_type). Locate the web.xml file for your Jboss instance. It is usually in $JBOSS_HOME/server/INSTANCE/deploy/jboss-web.deployer/conf/web.xml Locate the setting &#60;mime-mapping&#62; and make the required edits. For example, the code [...]]]></description>
			<content:encoded><![CDATA[<p>Instructions for configuring the mime type mappings in Jboss. Mime types essentially tells the application processing the content (typically a browser), what the content is. More information <a href="http://en.wikipedia.org/wiki/Internet_media_type">here</a> (<a href="http://en.wikipedia.org/wiki/Internet_media_type">http://en.wikipedia.org/wiki/Internet_media_type</a>).</p>
<ul>
<li>Locate the web.xml file for your Jboss instance. It is usually in $JBOSS_HOME/server/INSTANCE/deploy/jboss-web.deployer/conf/web.xml</li>
<li>Locate the setting &lt;mime-mapping&gt; and make the required edits. For example, the code for defining the mime type for javascript looks like this</li>
</ul>
<p><code><br />
    <mime-mapping><br />
        <extension>js</extension><br />
        <mime-type>application/javascript</mime-type><br />
    </mime-mapping><br />
</code></p>
<ul>
<li>Restart Jboss</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2010/04/12/how-to-configure-mime-type-mappings-in-jboss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Burj Dubai is down..</title>
		<link>http://kudithipudi.org/2010/01/04/burj-dubai-is-down/</link>
		<comments>http://kudithipudi.org/2010/01/04/burj-dubai-is-down/#comments</comments>
		<pubDate>Mon, 04 Jan 2010 17:31:41 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=757</guid>
		<description><![CDATA[Not the building .. In fact, it just opened up officially today. But it looks like the IT team of the Burj did not anticipate the traffic spike to it&#8217;e website http://www.burjdubai.com/, when the building opens. The site has been down since early CST. All the free publicity the site is getting from the media [...]]]></description>
			<content:encoded><![CDATA[<p>Not the <a href="http://en.wikipedia.org/wiki/Burj_Dubai">building</a> <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .. In fact, it just opened up officially today. But it looks like the IT team of the Burj did not anticipate the traffic spike to it&#8217;e website <a href="http://www.burjdubai.com/">http://www.burjdubai.com/</a>, when the building opens. The site has been down since early CST.</p>
<p>All the free publicity the site is getting from the media is wasted because the site is down (OK.. I am exagerrating things a bit <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Â If only the IT team at the Burj thought about this and deployed the site on a <a href="http://en.wikipedia.org/wiki/Content_delivery_network">CDN</a>, they could have averted this downtime. Using a CDN to power your site is becoming more of a norm than a luxury now a days. And with all the options in the market you have for a CDN, there is no excuse for any IT team to not implement this for a customer facing website.</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2010/01/04/burj-dubai-is-down/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>HOW TO : Improve Jboss startup times</title>
		<link>http://kudithipudi.org/2009/12/31/how-to-improve-jboss-startup-times/</link>
		<comments>http://kudithipudi.org/2009/12/31/how-to-improve-jboss-startup-times/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 22:11:41 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=749</guid>
		<description><![CDATA[We run multiple applications in Jboss at my work and one of the applications used to take an inordinate time to come up. A typical application would take &#60; 1 minute to get deployed and this particular application for some reason was taking ~7-8 minutes. We initially thought it was a bug in the code [...]]]></description>
			<content:encoded><![CDATA[<p>We run multiple applications in Jboss at my work and one of the applications used to take an inordinate time to come up. A typical application would take &lt; 1 minute to get deployed and this particular application for some reason was taking ~7-8 minutes. We initially thought it was a bug in the code and gave hell to our development team <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .. But on closer investigation, we found out that a feature we enabled in the Jboss server settings which allows content to be hosted on network storage was causing the issue.</p>
<p>I blogged the feature in Jboss to follow sym links here (<a href="http://kudithipudi.org/2008/07/25/howto-configure-jboss-to-follow-symbolic-links/">http://kudithipudi.org/2008/07/25/howto-configure-jboss-to-follow-symbolic-links/</a>). So essentially when Jboss was started, it was checking all the content in these network path to check for applications to deploy. And traversing a network share with 1000s of directories isn&#8217;t fun <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ..</p>
<p>We fixed it by making a simple edit to the start up script. Here&#8217;s the psuedo code for the script</p>
<ol>
<li>Remove soft links to network share</li>
<li>Start Jboss</li>
<li>Put soft links to network share</li>
</ol>
<p>And now the application starts in less than a minute <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>I guess there might be other elegant ways to do this. i.e. Configure Jboss to only deploy certain applications, but this did the trick for us <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2009/12/31/how-to-improve-jboss-startup-times/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HOW TO : Advanced search and replace in Notepad++</title>
		<link>http://kudithipudi.org/2009/12/13/how-to-advanced-search-and-replace-in-notepad/</link>
		<comments>http://kudithipudi.org/2009/12/13/how-to-advanced-search-and-replace-in-notepad/#comments</comments>
		<pubDate>Sun, 13 Dec 2009 07:08:05 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=742</guid>
		<description><![CDATA[Jhanvi asked me to help with editing a text file recently. She had a file in the format '512' '345' '876' and needed to convert it into the format below INSERT INTO BLAH VALUE ('512'); INSERT INTO BLAH VALUE ('345'); INSERT INTO BLAH VALUE ('876'); There are multiple ways, one can do this. Here is [...]]]></description>
			<content:encoded><![CDATA[<p>Jhanvi asked me to help with editing a text file recently. She had a file in the format</p>
<p><code><br />
'512'<br />
'345'<br />
'876'<br />
</code><br />
and needed to convert it into the format below</p>
<p><code><br />
INSERT INTO BLAH VALUE ('512');<br />
INSERT INTO BLAH VALUE ('345');<br />
INSERT INTO BLAH VALUE ('876');</code></p>
<p>There are multiple ways, one can do this. Here is how I did this using <a href="http://notepad-plus.sourceforge.net/uk/site.htm">Notepad++</a>, an open source text editor. I used the regular expression capability of Notepad++ it&#8217;s search and replace function.</p>
<ul>
<li>Press &#8220;Ctrl + h&#8221; to bring up the search and replace window.</li>
<li>Replace the single quote at the beginning of the line by using &#8221; ^&#8217; &#8220;</li>
<li>Replace the single quote at the end of the line by using &#8221; &#8216;$ &#8220;</li>
</ul>
<h3 style="text-align: center;">Screenshots from the operation</h3>
<p>The data in it&#8217;s original format</p>
<p><img class="aligncenter" title="Notepad++ : Screenshot 0" src="http://farm3.static.flickr.com/2759/4180092991_63bb8ba6e5.jpg" alt="" width="377" height="336" /></p>
<p>Replacing the first quote mark</p>
<p><img class="aligncenter" title="Notepad++ : Screenshot 1" src="http://farm5.static.flickr.com/4048/4180855864_e754f8a122_o.png" alt="" width="482" height="320" /></p>
<p>Data after the first search and replace operation</p>
<p><img class="aligncenter" title="Notepad++ : Screenshot 3" src="http://farm3.static.flickr.com/2723/4180855890_fa2471b362_o.png" alt="" width="479" height="309" /></p>
<p>Replacing the second quote mark</p>
<p><img class="aligncenter" title="Notepad++ : Screenshot 4" src="http://farm3.static.flickr.com/2740/4180855908_394c5dd782_o.png" alt="" width="482" height="320" /></p>
<p>Data in the final format</p>
<p><img class="aligncenter" title="Notepad++ : Screenshot 4" src="http://farm5.static.flickr.com/4037/4180855924_b1c28711a7_o.png" alt="" width="487" height="279" /></p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2009/12/13/how-to-advanced-search-and-replace-in-notepad/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>HOW TO : Load/Stress test a Linux based server</title>
		<link>http://kudithipudi.org/2009/12/09/howto-loadstress-test-a-linux-based-server/</link>
		<comments>http://kudithipudi.org/2009/12/09/howto-loadstress-test-a-linux-based-server/#comments</comments>
		<pubDate>Thu, 10 Dec 2009 01:03:25 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[HOWTO]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Networking]]></category>
		<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=738</guid>
		<description><![CDATA[We ran into an issue at work recently, which prompted us to do some performance testing on some of our Linux servers. The requirement was to stress test the key components of the server (CPU, RAM, HDD, Network) and prove that different servers with the same configuration were capable of performing identically. Pretty simple right [...]]]></description>
			<content:encoded><![CDATA[<p>We ran into an issue at work recently, which prompted us to do some performance testing on some of our Linux servers. The requirement was to stress test the key components of the server (<a href="http://en.wikipedia.org/wiki/Central_processing_unit">CPU</a>, <a href="http://en.wikipedia.org/wiki/RAM">RAM</a>, <a href="http://en.wikipedia.org/wiki/Hard_disk_drive">HDD</a>, Network) and prove that different servers with the same configuration were capable of performing identically. Pretty simple right <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .. The challenge was to find tools that could be run to stress test each of the components. There were a lot of tools for CPU and memory (RAM) testing, but not a lot for network and hard drive (HDD) testing. After searching high and low, we found a couple of tools, that I wanted to document here for future reference.</p>
<h2>HDD Testing :</h2>
<p>I found a pretty interesting tool called Iozone written by William Norcott (Oracle) and Don Capps. You can get the source code and builds for major OSs at <a href="http://iozone.org">http://iozone.org</a> . Despite installing the program using RPM, we were not able toÂ  run the program without specifying the complete path.</p>
<p>There are a ton of options for the program, but the easiest method to run it was in automated mode with the output going to an Excel spreadsheet (more like a glorified CSV file <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  ). Here is the command we used</p>
<p><code> /opt/iozone/bin/iozone -a -Rb output_excel_file.xls </code></p>
<p>The &#8220;-a&#8221; is to tell the program in automated mode and the &#8220;-Rb&#8221; is to tell the program to format the output in Excel format. And you can then go ahead and open the spreadsheet in Excel and create 3D graphs to check and compare the output.</p>
<h2>Network Testing :</h2>
<p>Most of the information out there in terms of testing the network stack of a machine is either to copy large files over a network share or via FTP. We didn&#8217;t find that was enough to really max out a Gigport since there were protocol limitations that didn&#8217;t allow us to saturate the network port. After some searching, we stumbled across a tool called &#8220;ettcp&#8221; on Sourceforge. ettcp itself is an offshoot of ttcp. <a href="http://ftp.arl.mil/~mike/ttcp.html">ttcp</a> (stands for test tcp) was created to test network performance between two nodes. I couldn&#8217;t find any place to download ttcp itself, but you can download ettcp at http://ettcp.sourceforge.net/.</p>
<p>We used a server, to act as a common receiver for all the servers we intended to do a performance test on. Here are the commands we used to run the test</p>
<p>RECEIVER (Common Server)<br />
<code>./ettcp -r -s -f M </code></p>
<p>The options are</p>
<ul>
<li>&#8220;-r&#8221; for designating the machine as receiver</li>
<li>&#8220;-f M&#8221; for showing the output in Mega Bytes.</li>
</ul>
<p>TRANSMITTER (Test Servers)<br />
<code>./ettcp -t -s receiver_hostname -n 10000000 -f M</code></p>
<p>the options are</p>
<ul>
<li>&#8220;-t&#8221; for designating the machine as transmitter</li>
<li>&#8220;-s receiver_hostname&#8221; to define the receiver</li>
<li>&#8220;-n&#8221; to define the number of packets to send to the receiver</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2009/12/09/howto-loadstress-test-a-linux-based-server/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Wikipedia Needs You!!</title>
		<link>http://kudithipudi.org/2009/12/07/wikipedia-needs-you/</link>
		<comments>http://kudithipudi.org/2009/12/07/wikipedia-needs-you/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 15:05:33 +0000</pubDate>
		<dc:creator>Vinay</dc:creator>
				<category><![CDATA[Rantings]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://kudithipudi.org/?p=736</guid>
		<description><![CDATA[As you check the list of charities and gifts you need to contribute to for this holiday season, please put Wikipedia on your list . I did my part by supporting the annual Wikipedia fund raising effort. It is not easy and cheap to be running one of the most popular (6th most popular as [...]]]></description>
			<content:encoded><![CDATA[<p>As you check the list of charities and gifts you need to contribute to for this holiday season, please put <a href="http://en.wikipedia.org">Wikipedia</a> on your list <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . I did my part by supporting the annual <a href="http://wikimediafoundation.org/wiki/Support_Wikipedia/en">Wikipedia fund raising</a> effort. It is not easy and cheap to be running one of the most popular (<a href="http://www.alexa.com/siteinfo/wikipedia.org">6th most popular as per Alexa&#8217;s latest figures</a>) sites on the Internet.</p>
<p>Donate.. Share..Enlighten <img src='http://kudithipudi.org/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Here is the link to the donations page <a href="http://wikimediafoundation.org/wiki/Support_Wikipedia/en">http://wikimediafoundation.org/wiki/Support_Wikipedia/en</a></p>
]]></content:encoded>
			<wfw:commentRss>http://kudithipudi.org/2009/12/07/wikipedia-needs-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
