<?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>langui.sh &#187; benchmark</title>
	<atom:link href="http://langui.sh/tag/benchmark/feed/" rel="self" type="application/rss+xml" />
	<link>http://langui.sh</link>
	<description>Fun hacks, WP plugins, photography, and PKI junk.  Languishing since 2008.</description>
	<lastBuildDate>Tue, 17 Jan 2012 20:23:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/>		<item>
		<title>Using OpenSSL s_time</title>
		<link>http://langui.sh/2009/03/28/using-openssl-s_time/</link>
		<comments>http://langui.sh/2009/03/28/using-openssl-s_time/#comments</comments>
		<pubDate>Sat, 28 Mar 2009 20:28:28 +0000</pubDate>
		<dc:creator>Paul Kehrer</dc:creator>
				<category><![CDATA[Posts]]></category>
		<category><![CDATA[benchmark]]></category>
		<category><![CDATA[crypto]]></category>
		<category><![CDATA[openssl]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://langui.sh/?p=431</guid>
		<description><![CDATA[<a href="http://langui.sh/2009/03/28/using-openssl-s_time/" title="Using OpenSSL s_time"></a>Recently I needed to do some performance testing of an SSL instance on a VM. I considered using JMeter, but decided to use OpenSSL to get a rudimentary picture instead. To obtain a basic result, we connect to the server &#8230;<p class="read-more"><a href="http://langui.sh/2009/03/28/using-openssl-s_time/">Read more &#187;</a></p>]]></description>
			<content:encoded><![CDATA[<a href="http://langui.sh/2009/03/28/using-openssl-s_time/" title="Using OpenSSL s_time"></a><p>Recently I needed to do some performance testing of an SSL instance on a VM.  I considered using JMeter, but decided to use OpenSSL to get a rudimentary picture instead.</p>
<p>To obtain a basic result, we connect to the server and pull the /index.php file.  You can specify whatever file you&#8217;d like to download, or none at all if you simply want to test connections.<sup class='footnote'><a href='#fn-431-1' id='fnref-431-1'>1</a></sup></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">openssl s_time <span style="color: #660033;">-www</span> <span style="color: #000000; font-weight: bold;">/</span>index.php <span style="color: #660033;">-new</span> <span style="color: #660033;">-connect</span> www.trustwave.com:<span style="color: #000000;">443</span></pre></div></div>

<p>Your result will look something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="none" style="font-family:monospace;">No CIPHER specified
Collecting connection statistics for 30 seconds
ttttttttttttttttttttttttttttttttttttttttttttttttttttttttt
159 connections in 5.82s; 27.32 connections/user sec, bytes read 62328
159 connections in 31 real seconds, 392 bytes read per connection</pre></div></div>

<p>If you&#8217;d like to get more specific with performance testing you can even use the -ciphers parameter to explicitly choose the negotiated cipher.  You can obtain a list of available ciphers with &#8220;openssl ciphers&#8221;.</p>
<div class='footnotes'>
<div class='footnotedivider'></div>
<ol>
<li id='fn-431-1'>If you would prefer to reuse connections rather than create a new one for each request replace -new with -reuse. <span class='footnotereverse'><a href='#fnref-431-1'>&#8617;</a></span></li>
</ol>
</div>
]]></content:encoded>
			<wfw:commentRss>http://langui.sh/2009/03/28/using-openssl-s_time/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using memcached
Page Caching using memcached
Database Caching 4/12 queries in 0.004 seconds using memcached
Object Caching 409/417 objects using memcached

Served from: langui.sh @ 2012-02-07 06:39:01 -->
