<?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>Hypervisor.fr &#187; PMP</title>
	<atom:link href="http://www.hypervisor.fr/?feed=rss2&#038;tag=pmp" rel="self" type="application/rss+xml" />
	<link>http://www.hypervisor.fr</link>
	<description>French Bare-Metal weblog</description>
	<lastBuildDate>Wed, 26 Jun 2024 22:42:28 +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>Pimp My (SATA) Ports</title>
		<link>http://www.hypervisor.fr/?p=5018</link>
		<comments>http://www.hypervisor.fr/?p=5018#comments</comments>
		<pubDate>Mon, 17 Feb 2014 17:57:42 +0000</pubDate>
		<dc:creator>NiTRo</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Performance]]></category>
		<category><![CDATA[ZFS]]></category>
		<category><![CDATA[gnuplot]]></category>
		<category><![CDATA[infiniband]]></category>
		<category><![CDATA[iozone]]></category>
		<category><![CDATA[microserver]]></category>
		<category><![CDATA[N40L]]></category>
		<category><![CDATA[N54L]]></category>
		<category><![CDATA[PMP]]></category>

		<guid isPermaLink="false">http://www.hypervisor.fr/?p=5018</guid>
		<description><![CDATA[Alors que nous pensions avoir fait le tour des possibilités du HP N40L N54L ProLiant MicroServer, nous somme tombé par hasard sur un post revisitant le fameux mod de BIOS, permettant d&#8217;avoir accès à tout un tas de hidden settings, afin de pouvoir utiliser un port multiplier sur le eSATA.
A Serial ATA port multiplier is [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: justify;">Alors que nous pensions avoir fait le tour <a href="http://www.hypervisor.fr/?p=4093" target="_blank">des possibilités du HP <span style="text-decoration: line-through;">N40L</span> <span style="text-decoration: line-through;">N54L</span> ProLiant MicroServer</a>, nous somme tombé par hasard sur <a href="http://homeservershow.com/hp-proliant-n40l-microserver-build-and-bios-modification-revisited.html" target="_blank">un post revisitant le fameux mod de BIOS</a>, permettant d&#8217;avoir accès à tout un tas de hidden settings, afin de pouvoir utiliser un <strong>port multiplier</strong> sur le eSATA.</p>
<blockquote><p><a href="http://en.wikipedia.org/wiki/Port_multiplier" target="_blank">A Serial ATA port multiplier is a device that allows <strong>multiple SATA devices to be connected to a single SATA host port</strong>.</a></p></blockquote>
<p style="text-align: justify;">Un peu comme un <a href="http://en.wikipedia.org/wiki/Serial_attached_SCSI#SAS_expanders" target="_blank">SAS expander</a> mais en un peu moins enterprise class&#8230; Au passage, c&#8217;est ce qu&#8217;utilise <a href="http://blog.backblaze.com/2009/09/01/petabytes-on-a-budget-how-to-build-cheap-cloud-storage/" target="_blank">Backblaze</a> pour faire tenir <a href="http://blog.backblaze.com/2013/02/20/180tb-of-good-vibrations-storage-pod-3-0/" target="_blank">180 To dans un server 4U</a>.</p>
<p style="text-align: justify;">L&#8217;idée de pouvoir se passer de la carte contrôleur qui monopolise le seul port pcie (potable) de notre N40L nous séduit. <a href="http://www.ebay.com/bhp/sata-port-multiplier" target="_blank">40€-et-quelques-sur-ebay</a> plus tard (carte et cables courts compris), FreeNAS reconnait parfaitement le bidule grâce aux modifications de BIOS :</p>
<blockquote><p><strong>pmp0</strong> at ahcich5 bus 0 scbus7 target 15 lun 0<br />
<strong> pmp0</strong>: ATA-0 device<br />
<strong> pmp0</strong>: 300.000MB/s transfers (SATA 2.x, NONE, PIO 8192bytes)<br />
<strong> pmp0</strong>: 5 fan-out ports</p></blockquote>
<p>La carte que nous avons trouvé étant limité à 5 ports, nous avons été contraint d&#8217;utiliser un rack 4x 2.5&#8243; mais le pcb se loge parfaitement entre ce dernier et la partie supérieure du boitier :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/pmp/n40l_pmp_01.jpg" title="n40l_pmp_01" rel="lightbox[5018]"><img class="alignnone size-thumbnail wp-image-5020" title="n40l_pmp_01" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/n40l_pmp_01-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://files.hypervisor.fr/img/pmp/n40l_pmp_02.jpg" title="n40l_pmp_02" rel="lightbox[5018]"><img class="alignnone size-thumbnail wp-image-5021" title="n40l_pmp_02" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/n40l_pmp_02-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://files.hypervisor.fr/img/pmp/n40l_pmp_03.jpg" title="n40l_pmp_03" rel="lightbox[5018]"><img class="alignnone size-thumbnail wp-image-5024" title="n40l_pmp_03" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/n40l_pmp_03-150x150.jpg" alt="" width="150" height="150" /></a></p>
<p>Vous l&#8217;aurez compris, c&#8217;est le port ODD interne que nous avons choisi d&#8217;utiliser pour rester dans l&#8217;esprit NAS compact.</p>
<p style="text-align: justify;">Pour avoir une idée de l&#8217;impact qu&#8217;une telle solution pouvait avoir sur les performances, nous l&#8217;avons comparée à une carte LSI 1068E. Après une séance d&#8217;iozone sur un zpool de 4 SSD en striping, nous avons fait chauffer le gnuplot :</p>
<p style="text-align: center;"><a href="http://files.hypervisor.fr/img/pmp/iozone_write_lsi.jpg" title="iozone_write_lsi" rel="lightbox[5018]"><img class="alignnone size-thumbnail wp-image-5029" title="iozone_write_lsi" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/iozone_write_lsi-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://files.hypervisor.fr/img/pmp/iozone_write_pmp.jpg" title="iozone_write_pmp" rel="lightbox[5018]"><img class="alignnone size-thumbnail wp-image-5030" title="iozone_write_pmp" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/iozone_write_pmp-150x150.jpg" alt="" width="150" height="150" /></a> <a href="http://files.hypervisor.fr/img/pmp/iozone_write_latency.png" title="iozone_write_latency" rel="lightbox[5018]"><img class="alignnone size-thumbnail wp-image-5031" title="iozone_write_latency" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/iozone_write_latency-150x150.png" alt="" width="150" height="150" /></a></p>
<p style="text-align: justify;">Si l&#8217;impact sur la latence est acceptable, celui sur les débits d&#8217;écriture est très important puisque l&#8217;on passe de ~800Mo/s à ~200Mo/s mais il fallait s&#8217;y attendre. On constate par contre que tant que les IO restent dans la fenêtre des <a href="http://blog.delphix.com/ahl/2012/zfs-fundamentals-transaction-groups/" target="_blank">TXG de ZFS</a>, les débits sont identiques.</p>
<p style="text-align: justify;">Au final, même si les performances sont moins bonnes qu&#8217;avec une carte contrôleur, elles sont malgré tout bien meilleures que ce qui pourra passer par un port GbE. De plus, FreeNAS ne supportant pas *encore* FC ou infiniband, une carte dual ou quad GbE  reste un bon début.</p>
<p><a href="http://files.hypervisor.fr/img/pmp/iozone_write_pmp_lsi.jpg" title="iozone_write_pmp_lsi" rel="lightbox[5018]"><img class="aligncenter size-medium wp-image-5034" title="iozone_write_pmp_lsi" src="http://www.hypervisor.fr/wp-content/uploads/2014/02/iozone_write_pmp_lsi-300x233.jpg" alt="" width="300" height="233" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.hypervisor.fr/?feed=rss2&amp;p=5018</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
