<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic MegaRAID (megaide.o) driver slow in linux in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126621#M8130</link>
    <description>Can someone help me with the problem described below? Our server is still painfully slow and LSI can't seem to help me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------------&lt;BR /&gt;Hi Edwin&lt;BR /&gt;&lt;BR /&gt;If you are using onboard ATA (MegaRAID IDEal), please note&lt;BR /&gt;&lt;BR /&gt;1. It is a Software RAID and not hardware RAID&lt;BR /&gt;2. LSI does not provide support for any LSI Components embedded onto a&lt;BR /&gt;Motherboard. It is the responsibility of the Motherboard or OEM as LSI does&lt;BR /&gt;not carry out test on this combination.&lt;BR /&gt;&lt;BR /&gt;I am afraid that I will not be much helpful to you as in this case.&lt;BR /&gt;&lt;BR /&gt;You ought to contact Compaq for more support.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Saba&lt;BR /&gt;&lt;BR /&gt;---------- Forwarded message ----------&lt;BR /&gt;Date: Tue, 11 Nov 2003 13:00:23 +0100 (CET)&lt;BR /&gt;From: Edwin Eefting &lt;EDWIN&gt;&lt;BR /&gt;To: Saba Nesar &lt;SABAN&gt;&lt;BR /&gt;Subject: MegaRaid (megaide) very slow&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I still have trouble with my HP proliant and MegaRaid configuration. I use&lt;BR /&gt;2 harddisks of 80gb in raid 1 (mirror) configuration. The individual disks&lt;BR /&gt;get 54mb/s with the hdparm -t test.&lt;BR /&gt;&lt;BR /&gt;However, the mirrored configuration gets 3mb/s - 54mb/s. In the beginning&lt;BR /&gt;this problem wasn't a big issue, as the very slow speeds only occured once&lt;BR /&gt;in a while. (we assumed this was normal and the system was busy with&lt;BR /&gt;something) However, after extensive use it seems the system gets slower&lt;BR /&gt;and slower, and the load gets very high. Here is some testoutput from our&lt;BR /&gt;HP Proliant DL320:&lt;BR /&gt;&lt;BR /&gt;root@pizza:/home/erwin/Maildir/new# hdparm -t /dev/sda&lt;BR /&gt;&lt;BR /&gt;/dev/sda:&lt;BR /&gt;Timing buffered disk reads: 64 MB in 14.34 seconds = 4.46 MB/sec&lt;BR /&gt;&lt;BR /&gt;root@pizza:/home/erwin/Maildir/new# uptime&lt;BR /&gt;12:39:59 up 10 days, 21:00, 11 users, load average: 3.83, 3.97, 4.04&lt;BR /&gt;&lt;BR /&gt;When the server was first booted, it would show 54MB/s when i runned the&lt;BR /&gt;test again, however after this uptime it stays that slow. When I run "top"&lt;BR /&gt;the box is idle most of the time, and both the system and user cpu usage&lt;BR /&gt;are low:&lt;BR /&gt;&lt;BR /&gt;12:40:59 up 10 days, 21:01, 11 users, load average: 3.92, 3.97, 4.04&lt;BR /&gt;166 processes: 161 sleeping, 5 running, 0 zombie, 0 stopped&lt;BR /&gt;CPU states: 2.8% user, 2.3% system, 0.0% nice, 94.9% idle&lt;BR /&gt;Mem: 515476K total, 447996K used, 67480K free, 80408K buffers&lt;BR /&gt;Swap: 979956K total, 105736K used, 874220K free, 138804K cached&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also tried to disable Swap and i tried running default kernels with the&lt;BR /&gt;default binairy driver. Currently i use kernel 2.4.22 with the&lt;BR /&gt;compiled megaide driver i received from you. I seems that the bottleneck&lt;BR /&gt;is I/O, maybe the megaide driver isn't communicating with the IDE&lt;BR /&gt;controller the right way, somehow?&lt;BR /&gt;&lt;BR /&gt;Offcourse I understand that a mirrored configuration is slower, but not&lt;BR /&gt;_this_ slow. On a system with limited i/o bandwith I would expect a 50%&lt;BR /&gt;drop in disk writing performance, and no change in read performance.&lt;BR /&gt;(since only one disk is needed while reading)&lt;BR /&gt;&lt;BR /&gt;I hope you can help me, since our systems are slower then their&lt;BR /&gt;predecessors right now. (pentium 200's) Even a simple "ls" can take&lt;BR /&gt;10-15 seconds when the system is "busy". Please let me know if I can&lt;BR /&gt;provide you with anymore usefull information. I'm even willing to give&lt;BR /&gt;someone of you root access to one of our machines so you can try some&lt;BR /&gt;tests yourself.&lt;BR /&gt;&lt;BR /&gt;Thank you very much,&lt;BR /&gt;Edwin&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; On Mon, 27 Oct 2003, Saba Nesar wrote:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Hi Edwin&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; LSI Logic's Shim driver has its raid intelligence as binary file&lt;BR /&gt;&amp;gt; &amp;gt; megaide_lib.o and the rest of the driver is open. megaide_lib.o can be build&lt;BR /&gt;&amp;gt; &amp;gt; with the open source to get driver image megaide.o. Source tree is also&lt;BR /&gt;&amp;gt; &amp;gt; provided with the Make file for the same. The following instruction explains&lt;BR /&gt;&amp;gt; &amp;gt; how to build the driver module.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; The above information can be used without NDA. Files are herewith attached.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Regards&lt;BR /&gt;&amp;gt; &amp;gt; Saba&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; -----Original Message-----&lt;BR /&gt;&amp;gt; &amp;gt; From: Edwin Eefting [mailto:edwin@datux.nl]&lt;BR /&gt;&amp;gt; &amp;gt; Sent: 27 October 2003 13:00&lt;BR /&gt;&amp;gt; &amp;gt; To: eurosupport@lsil.com&lt;BR /&gt;&amp;gt; &amp;gt; Subject: MegaRaid (megaide) support for linux 2.4.22 kernel?&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Hello,&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; We're having trouble getting the default binairy driver to work with a&lt;BR /&gt;&amp;gt; &amp;gt; couple of HP Proliant servers of our custommers. The drivers on the&lt;BR /&gt;&amp;gt; &amp;gt; lsilogic.com site are all for 2.4.20 kernels and don't seem to work with&lt;BR /&gt;&amp;gt; &amp;gt; newer versions.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; However, it's imperative that we use a 2.4.22 kernel because of other&lt;BR /&gt;&amp;gt; &amp;gt; technical issues. (2.4.20 is almost a year old now, and a lot has happend&lt;BR /&gt;&amp;gt; &amp;gt; in the mean time.)&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; My question is: Is it possible to get a newer binairy driver, or is it&lt;BR /&gt;&amp;gt; &amp;gt; possible to get the sourcecode of the driver after signing a&lt;BR /&gt;&amp;gt; &amp;gt; non-disclosure contract? If this isn't possible we're forced to look into&lt;BR /&gt;&amp;gt; &amp;gt; another solution with hardware from a different vendor for our new&lt;BR /&gt;&amp;gt; &amp;gt; customers.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Thanks,&lt;BR /&gt;&amp;gt; &amp;gt; Edwin&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; --&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; //||\\ Edwin Eefting&lt;BR /&gt;&amp;gt; &amp;gt; || || || DatuX - Linux solutions and innovations&lt;BR /&gt;&amp;gt; &amp;gt; \\||// &lt;A href="http://www.datux.nl" target="_blank"&gt;http://www.datux.nl&lt;/A&gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;-- &lt;BR /&gt;&lt;BR /&gt;//||\\ Edwin Eefting&lt;BR /&gt;|| || || DatuX - Linux solutions and innovations&lt;BR /&gt;\\||// &lt;A href="http://www.datux.nl" target="_blank"&gt;http://www.datux.nl&lt;/A&gt;&lt;/SABAN&gt;&lt;/EDWIN&gt;</description>
    <pubDate>Sat, 22 Nov 2003 15:31:17 GMT</pubDate>
    <dc:creator>Edwin Eefting</dc:creator>
    <dc:date>2003-11-22T15:31:17Z</dc:date>
    <item>
      <title>MegaRAID (megaide.o) driver slow in linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126621#M8130</link>
      <description>Can someone help me with the problem described below? Our server is still painfully slow and LSI can't seem to help me.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;----------------------------&lt;BR /&gt;Hi Edwin&lt;BR /&gt;&lt;BR /&gt;If you are using onboard ATA (MegaRAID IDEal), please note&lt;BR /&gt;&lt;BR /&gt;1. It is a Software RAID and not hardware RAID&lt;BR /&gt;2. LSI does not provide support for any LSI Components embedded onto a&lt;BR /&gt;Motherboard. It is the responsibility of the Motherboard or OEM as LSI does&lt;BR /&gt;not carry out test on this combination.&lt;BR /&gt;&lt;BR /&gt;I am afraid that I will not be much helpful to you as in this case.&lt;BR /&gt;&lt;BR /&gt;You ought to contact Compaq for more support.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Saba&lt;BR /&gt;&lt;BR /&gt;---------- Forwarded message ----------&lt;BR /&gt;Date: Tue, 11 Nov 2003 13:00:23 +0100 (CET)&lt;BR /&gt;From: Edwin Eefting &lt;EDWIN&gt;&lt;BR /&gt;To: Saba Nesar &lt;SABAN&gt;&lt;BR /&gt;Subject: MegaRaid (megaide) very slow&lt;BR /&gt;&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I still have trouble with my HP proliant and MegaRaid configuration. I use&lt;BR /&gt;2 harddisks of 80gb in raid 1 (mirror) configuration. The individual disks&lt;BR /&gt;get 54mb/s with the hdparm -t test.&lt;BR /&gt;&lt;BR /&gt;However, the mirrored configuration gets 3mb/s - 54mb/s. In the beginning&lt;BR /&gt;this problem wasn't a big issue, as the very slow speeds only occured once&lt;BR /&gt;in a while. (we assumed this was normal and the system was busy with&lt;BR /&gt;something) However, after extensive use it seems the system gets slower&lt;BR /&gt;and slower, and the load gets very high. Here is some testoutput from our&lt;BR /&gt;HP Proliant DL320:&lt;BR /&gt;&lt;BR /&gt;root@pizza:/home/erwin/Maildir/new# hdparm -t /dev/sda&lt;BR /&gt;&lt;BR /&gt;/dev/sda:&lt;BR /&gt;Timing buffered disk reads: 64 MB in 14.34 seconds = 4.46 MB/sec&lt;BR /&gt;&lt;BR /&gt;root@pizza:/home/erwin/Maildir/new# uptime&lt;BR /&gt;12:39:59 up 10 days, 21:00, 11 users, load average: 3.83, 3.97, 4.04&lt;BR /&gt;&lt;BR /&gt;When the server was first booted, it would show 54MB/s when i runned the&lt;BR /&gt;test again, however after this uptime it stays that slow. When I run "top"&lt;BR /&gt;the box is idle most of the time, and both the system and user cpu usage&lt;BR /&gt;are low:&lt;BR /&gt;&lt;BR /&gt;12:40:59 up 10 days, 21:01, 11 users, load average: 3.92, 3.97, 4.04&lt;BR /&gt;166 processes: 161 sleeping, 5 running, 0 zombie, 0 stopped&lt;BR /&gt;CPU states: 2.8% user, 2.3% system, 0.0% nice, 94.9% idle&lt;BR /&gt;Mem: 515476K total, 447996K used, 67480K free, 80408K buffers&lt;BR /&gt;Swap: 979956K total, 105736K used, 874220K free, 138804K cached&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I also tried to disable Swap and i tried running default kernels with the&lt;BR /&gt;default binairy driver. Currently i use kernel 2.4.22 with the&lt;BR /&gt;compiled megaide driver i received from you. I seems that the bottleneck&lt;BR /&gt;is I/O, maybe the megaide driver isn't communicating with the IDE&lt;BR /&gt;controller the right way, somehow?&lt;BR /&gt;&lt;BR /&gt;Offcourse I understand that a mirrored configuration is slower, but not&lt;BR /&gt;_this_ slow. On a system with limited i/o bandwith I would expect a 50%&lt;BR /&gt;drop in disk writing performance, and no change in read performance.&lt;BR /&gt;(since only one disk is needed while reading)&lt;BR /&gt;&lt;BR /&gt;I hope you can help me, since our systems are slower then their&lt;BR /&gt;predecessors right now. (pentium 200's) Even a simple "ls" can take&lt;BR /&gt;10-15 seconds when the system is "busy". Please let me know if I can&lt;BR /&gt;provide you with anymore usefull information. I'm even willing to give&lt;BR /&gt;someone of you root access to one of our machines so you can try some&lt;BR /&gt;tests yourself.&lt;BR /&gt;&lt;BR /&gt;Thank you very much,&lt;BR /&gt;Edwin&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; On Mon, 27 Oct 2003, Saba Nesar wrote:&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Hi Edwin&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; LSI Logic's Shim driver has its raid intelligence as binary file&lt;BR /&gt;&amp;gt; &amp;gt; megaide_lib.o and the rest of the driver is open. megaide_lib.o can be build&lt;BR /&gt;&amp;gt; &amp;gt; with the open source to get driver image megaide.o. Source tree is also&lt;BR /&gt;&amp;gt; &amp;gt; provided with the Make file for the same. The following instruction explains&lt;BR /&gt;&amp;gt; &amp;gt; how to build the driver module.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; The above information can be used without NDA. Files are herewith attached.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Regards&lt;BR /&gt;&amp;gt; &amp;gt; Saba&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; -----Original Message-----&lt;BR /&gt;&amp;gt; &amp;gt; From: Edwin Eefting [mailto:edwin@datux.nl]&lt;BR /&gt;&amp;gt; &amp;gt; Sent: 27 October 2003 13:00&lt;BR /&gt;&amp;gt; &amp;gt; To: eurosupport@lsil.com&lt;BR /&gt;&amp;gt; &amp;gt; Subject: MegaRaid (megaide) support for linux 2.4.22 kernel?&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Hello,&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; We're having trouble getting the default binairy driver to work with a&lt;BR /&gt;&amp;gt; &amp;gt; couple of HP Proliant servers of our custommers. The drivers on the&lt;BR /&gt;&amp;gt; &amp;gt; lsilogic.com site are all for 2.4.20 kernels and don't seem to work with&lt;BR /&gt;&amp;gt; &amp;gt; newer versions.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; However, it's imperative that we use a 2.4.22 kernel because of other&lt;BR /&gt;&amp;gt; &amp;gt; technical issues. (2.4.20 is almost a year old now, and a lot has happend&lt;BR /&gt;&amp;gt; &amp;gt; in the mean time.)&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; My question is: Is it possible to get a newer binairy driver, or is it&lt;BR /&gt;&amp;gt; &amp;gt; possible to get the sourcecode of the driver after signing a&lt;BR /&gt;&amp;gt; &amp;gt; non-disclosure contract? If this isn't possible we're forced to look into&lt;BR /&gt;&amp;gt; &amp;gt; another solution with hardware from a different vendor for our new&lt;BR /&gt;&amp;gt; &amp;gt; customers.&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; Thanks,&lt;BR /&gt;&amp;gt; &amp;gt; Edwin&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; --&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt; //||\\ Edwin Eefting&lt;BR /&gt;&amp;gt; &amp;gt; || || || DatuX - Linux solutions and innovations&lt;BR /&gt;&amp;gt; &amp;gt; \\||// &lt;A href="http://www.datux.nl" target="_blank"&gt;http://www.datux.nl&lt;/A&gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt; &amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&amp;gt;&lt;BR /&gt;&lt;BR /&gt;-- &lt;BR /&gt;&lt;BR /&gt;//||\\ Edwin Eefting&lt;BR /&gt;|| || || DatuX - Linux solutions and innovations&lt;BR /&gt;\\||// &lt;A href="http://www.datux.nl" target="_blank"&gt;http://www.datux.nl&lt;/A&gt;&lt;/SABAN&gt;&lt;/EDWIN&gt;</description>
      <pubDate>Sat, 22 Nov 2003 15:31:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126621#M8130</guid>
      <dc:creator>Edwin Eefting</dc:creator>
      <dc:date>2003-11-22T15:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: MegaRAID (megaide.o) driver slow in linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126622#M8131</link>
      <description>Hi Edwin,&lt;BR /&gt;I'm not a fan of software raid but try ditching the LSI raid configuration for JBOD at the controller and use the standard Linux software raid with the mirror formatted using JFS.&lt;BR /&gt;&lt;BR /&gt;Cheers!&lt;BR /&gt;-erik</description>
      <pubDate>Sun, 23 Nov 2003 03:22:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126622#M8131</guid>
      <dc:creator>erik petersen_1</dc:creator>
      <dc:date>2003-11-23T03:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: MegaRAID (megaide.o) driver slow in linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126623#M8132</link>
      <description>I figured that out myself by now. I already used linux software raid (MD), but i figured it would be better to use LSI's software riad so that i can rebuild my disk in the bios in case of failure.&lt;BR /&gt;&lt;BR /&gt;With linux MD you have to go trough much more trouble, especially if you wanna have multiple partions. (you can create a partion INSIDE a MD disk, you have to create several MD's, one for every partition :(&lt;BR /&gt;</description>
      <pubDate>Sun, 23 Nov 2003 08:22:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126623#M8132</guid>
      <dc:creator>Edwin Eefting</dc:creator>
      <dc:date>2003-11-23T08:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: MegaRAID (megaide.o) driver slow in linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126624#M8133</link>
      <description>Have you tried LVM?</description>
      <pubDate>Sun, 23 Nov 2003 13:32:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126624#M8133</guid>
      <dc:creator>erik petersen_1</dc:creator>
      <dc:date>2003-11-23T13:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: MegaRAID (megaide.o) driver slow in linux</title>
      <link>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126625#M8134</link>
      <description>no i didn't test it with LVM, currently I just want the current situation to work correctly. (i don't want to take the server down and reinstall it at this point.)&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Nov 2003 03:50:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/megaraid-megaide-o-driver-slow-in-linux/m-p/3126625#M8134</guid>
      <dc:creator>Edwin Eefting</dc:creator>
      <dc:date>2003-11-24T03:50:47Z</dc:date>
    </item>
  </channel>
</rss>

