<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 10pt; color: #000000'>I have done some tests <div><br></div><div>with opensscsi vs libiscsi</div><div><br></div><div>on a gigabit link</div><div><br></div><div>open-iscsi: 15000iops</div><div>libiscsi: 21000iops (gigabit limited)</div><div><br></div><div>So yes, something must be wrong with current openscsi.</div><div><br></div><div>don't know if it's related, but in 2.6.38</div><div><a href="http://kerneltrap.org/mailarchive/linux-scsi/2010/12/31/6888002">http://kerneltrap.org/mailarchive/linux-scsi/2010/12/31/6888002</a></div><div>"<span style="background-color: rgb(255, 255, 255); font-family: 'bitstream vera sans mono', monaco, monospace; line-height: 1.4em; font-size: 10pt; ">They fix a couple bugs and remove the host lock from the queuecommand</span><pre style="background-color: rgb(255, 255, 255); font-family: 'bitstream vera sans mono', monaco, monospace; line-height: 1.4em; padding: 0px; border: 0px; margin-top: 0px; margin-bottom: 0px; margin-left: 10px; ">path."</pre><pre style="background-color: rgb(255, 255, 255); font-family: 'bitstream vera sans mono', monaco, monospace; line-height: 1.4em; padding: 0px; border: 0px; margin-top: 0px; margin-bottom: 0px; margin-left: 10px; "><br></pre><br><hr id="zwchr"><div style="color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>De: </b>"Alexandre DERUMIER" <aderumier@odiso.com><br><b>À: </b>"Stefan Priebe - Profihost AG" <s.priebe@profihost.ag><br><b>Cc: </b>pve-devel@pve.proxmox.com<br><b>Envoyé: </b>Lundi 23 Juillet 2012 11:57:37<br><b>Objet: </b>Re: [pve-devel] little iops with PVE kernel than vanilla 3.5<br><br>Maybe can you try to backport scsi module from 3.5 kernel ?<br><br>BTW,I never test the multi-sessions,seem to be very new in 2.0.873.<br>How do you configure multi-session ?<br><br><br>from open-icsi doc, for module compilation:<br><br><br>"By default the kernel's iSCSI modules will be used. Running:<br><br> make<br> make install<br><br>will install the iSCSI tools iscsiadm and iscsid to /sbin.<br><br>For 2.6.14 - 2.6.34 the modules in the kernel dir can built and install<br>by running:<br><br> make kernel<br><br>When building those modules the kernel source found at<br>/lib/modules/`uname -a`/build<br>will be used to compile the open-iscsi modules. To specify a different<br>kernel to build against use:<br><br> make kernel KSRC=<kernel-src><br><br>or cross-compilation:<br><br> make kernel KSRC=<kernel-src> KARCH="ARCH=um"<br><br>To compile on SUSE Linux you'll have to use<br><br> make kernel KSRC=/usr/src/linux \<br> KBUILD_OUTPUT=/usr/src/linux-obj/<arch>/<config><br><br>where <config> is the kernel configuration to use (eg. 'smp').<br><br>To install the kernel modules that were built run:<br><br> make install_kernel<br><br>This will copy: iscsi_tcp.ko, libiscsi_tcp.ko, libiscsi.ko and<br>scsi_transport_iscsi to<br>/lib/modules/`uname -r`/kernel/drivers/scsi/<br>overwriting existing iscsi modules.<br><br>For Debian, be sure to install the linux-headers package that<br>corresponds to your kernel in order to compile the kernel modules<br>('aptitude install linux-headers-`uname -r`'). You may also wish to<br>run 'make -C kernel/ dpkg_divert' before installing kernel modules if<br>you run a Debian-provided kernel. This will use dpkg-divert(8) to<br>move the packaged kernel modules out of the way, and ensure that<br>future kernel upgrades will not overwrite them.<br><br>Also, please be aware that the compatibility patches that enable these<br>iscsi modules to run on kernels older than 2.6.25 will not update the<br>ib_iser module; you may get warnings related to mismatched symbols on<br>this driver, in which case you'll be unable to load ib_iser and<br>open-iscsi simultaneously.<br>"<br><br>----- Mail original ----- <br><br>De: "Stefan Priebe - Profihost AG" <s.priebe@profihost.ag> <br>À: "Alexandre DERUMIER" <aderumier@odiso.com> <br>Cc: pve-devel@pve.proxmox.com, "Martin Maurer" <martin@proxmox.com> <br>Envoyé: Lundi 23 Juillet 2012 09:32:57 <br>Objet: Re: [pve-devel] little iops with PVE kernel than vanilla 3.5 <br><br>Am 22.07.2012 19:24, schrieb Alexandre DERUMIER: <br>> Maybe the iscsi module is faster on 3.5 ? <br>> But It could be also network driver, or something else in the kernel. <br>No both tested. Both has the same speed. <br><br>See my posted part here: <br>> On my KVM Host i get constant 100.000 4k random iops with vanilla 3.5 <br>> and latest PVE kernel - so no difference. <br><br>> Did you have tested fio directly on the host ? (with the 2 differents kernel). <br>> I would like to see if the slowdown come from kvm or not. <br>Yes host speed is the same. <br><br>Stefan <br><br><br><br>-- <br><br>-- <br><br><br><br> <br><br>Alexandre D e rumier <br><br>Ingénieur Systèmes et Réseaux <br><br><br>Fixe : 03 20 68 88 85 <br><br>Fax : 03 20 68 90 88 <br><br><br>45 Bvd du Général Leclerc 59100 Roubaix <br>12 rue Marivaux 75002 Paris <br><br>_______________________________________________<br>pve-devel mailing list<br>pve-devel@pve.proxmox.com<br>http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel<br></div><br><br><br>-- <br><div><span name="x"></span><br class="Apple-interchange-newline"><table cellspacing="3" cellpadding="0" border="0" style="background-color: rgb(255, 255, 255); font-family: Calibri; height: 150px; "><tbody><tr><td class="style2"><p><span style="font-size: 12pt; "><img width="248" height="150" src="http://www.odiso.com/library/img/signature/logo_blanc.png" src="http://www.odiso.com/library/img/signature/logo_blanc.png"></span></p></td><td width="100%" class="style3" style="padding-left: 10px; "><table cellspacing="5" cellpadding="5" border="0" class="MsoNormalTable"><tbody><tr><td><p><b><span style="font-size: 12.5pt; "><font color="#198ea3">Alexandre </font></span></b><b><span style="font-size: 12.5pt; color: rgb(66, 66, 66); ">D</span></b><b style="font-size: 10pt; "><span style="font-size: 12.5pt; color: rgb(66, 66, 66); ">e</span></b><b style="font-size: 10pt; "><span style="font-size: 12.5pt; color: rgb(66, 66, 66); ">rumier</span></b><span style="font-size: 10pt; "> </span></p><p><b><span style="color: rgb(66, 66, 66); "><font size="2">Ingénieur Systèmes et Réseaux</font></span></b></p></td></tr><tr><td><p><font size="2"><b><span style="color: rgb(66, 66, 66); ">Fixe </span><span style="color: rgb(66, 66, 66); ">: </span></b><span style="color: rgb(99, 100, 102); ">03 20 68 88 85</span> <br> <br><b><span style="color: rgb(66, 66, 66); ">Fax : </span></b><span style="color: rgb(99, 100, 102); ">03 20 68 90 88</span></font></p></td></tr><tr><td class="style1"><p><font size="2"><span style="color: gray; ">45 Bvd du Général Leclerc 59100 Roubaix </span><br><span style="color: gray; ">12 rue Marivaux 75002 Paris</span></font><span style="font-size: 12pt; "></span></p></td></tr></tbody></table></td></tr></tbody></table><span style="font-family: Arial; background-color: rgb(255, 255, 255); "></span><br style="font-family: Arial; background-color: rgb(255, 255, 255); "><span name="x"></span><br></div></div></div></body></html>