<?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 Re: P400 - Linux poor copy performance in Disk Enclosures</title>
    <link>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324667#M29534</link>
    <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I agree with you that performance will be better if I change RAID configuration, but not 2x times faster????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I not understand why a 4Go file copy under windows take 30 sec and my brand new server under Red hat minimum 2 minutes.....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;</description>
    <pubDate>Wed, 17 Dec 2008 16:28:21 GMT</pubDate>
    <dc:creator>Dédé</dc:creator>
    <dc:date>2008-12-17T16:28:21Z</dc:date>
    <item>
      <title>P400 - Linux poor copy performance</title>
      <link>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324664#M29531</link>
      <description>On my RH EL 5.5 I get poor copy performance.&lt;BR /&gt;&lt;BR /&gt;I use a Raid Hardware with an HP P400.&lt;BR /&gt;&lt;BR /&gt;When I use "dd" for my file creation test, all looks fine but a simple 2Go copy file took 2 Mn !&lt;BR /&gt;&lt;BR /&gt;I use 2 disks in RAID 0+1 for / and 4 disks in RAID 5 for /oracle. Find below all tests and config details, what is going wrong, is it my card or the config ?&lt;BR /&gt;&lt;BR /&gt;Thanks four your help&lt;BR /&gt;&lt;BR /&gt;P.S: Disk, controller and driver have been updated.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@wmdata:~# time sh -c "dd if=/dev/zero of=/oracle/file bs=1024k count=4000;"&lt;BR /&gt;4194304000 bytes (4.2 GB) copied, 20.8946 seconds, 201 MB/s&lt;BR /&gt;real    0m20.919s&lt;BR /&gt;user    0m0.005s&lt;BR /&gt;sys     0m9.652s&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@wmdata:~# time sh -c "dd if=/dev/zero of=/root/file bs=1024k count=4000;&lt;BR /&gt;4194304000 bytes (4.2 GB) copied, 35.2935 seconds, 119 MB/s               &amp;lt;------ Half the speed in RAID 1 ???&lt;BR /&gt;real    0m35.309s&lt;BR /&gt;user    0m0.004s&lt;BR /&gt;sys     0m9.996s&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@wmdata:~# time cp /root/file /root/file2&lt;BR /&gt;real    2m13.230s&lt;BR /&gt;user    0m0.645s&lt;BR /&gt;sys     0m14.726s&lt;BR /&gt;&lt;BR /&gt;root@wmdata:~# time cp /oracle/file /oracle/file2&lt;BR /&gt;real    2m0.086s&lt;BR /&gt;user    0m0.622s&lt;BR /&gt;sys     0m13.945s&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Smart Array P400 in Slot 1&lt;BR /&gt;   Bus Interface: PCI&lt;BR /&gt;   Slot: 1&lt;BR /&gt;   Serial Number: P61620F9VV6HE8&lt;BR /&gt;   Cache Serial Number: PA2270J9SWO1PS&lt;BR /&gt;   RAID 6 (ADG) Status: Enabled&lt;BR /&gt;   Controller Status: OK&lt;BR /&gt;   Chassis Slot:&lt;BR /&gt;   Hardware Revision: Rev D&lt;BR /&gt;   Firmware Version: 5.22&lt;BR /&gt;   Rebuild Priority: Medium&lt;BR /&gt;   Expand Priority: Medium&lt;BR /&gt;   Surface Scan Delay: 15 sec&lt;BR /&gt;   Cache Board Present: True&lt;BR /&gt;   Cache Status: OK&lt;BR /&gt;   Accelerator Ratio: 50% Read / 50% Write&lt;BR /&gt;   Drive Write Cache: Enabled&lt;BR /&gt;   Total Cache Size: 512 MB&lt;BR /&gt;   Battery Pack Count: 1&lt;BR /&gt;   Battery Status: OK&lt;BR /&gt;   SATA NCQ Supported: True&lt;BR /&gt;&lt;BR /&gt;   Array: A&lt;BR /&gt;      Interface Type: SAS&lt;BR /&gt;      Unused Space: 0 MB&lt;BR /&gt;      Status: OK&lt;BR /&gt;      MultiDomain Status: OK&lt;BR /&gt;&lt;BR /&gt;      Logical Drive: 1&lt;BR /&gt;         Size: 68.3 GB&lt;BR /&gt;         Fault Tolerance: RAID 1+0&lt;BR /&gt;         Heads: 255&lt;BR /&gt;         Sectors Per Track: 32&lt;BR /&gt;         Cylinders: 17562&lt;BR /&gt;         Stripe Size: 128 KB&lt;BR /&gt;         Status: OK&lt;BR /&gt;         MultiDomain Status: OK&lt;BR /&gt;         Array Accelerator: Enabled&lt;BR /&gt;         Unique Identifier: 600508B1001046395656364845380008&lt;BR /&gt;         Disk Name: /dev/cciss/c0d0&lt;BR /&gt;         Mount Points: /boot 101 MB&lt;BR /&gt;         Logical Drive Label: A1693596P61620F9VV6HE816AB&lt;BR /&gt;&lt;BR /&gt;      physicaldrive 2I:1:1&lt;BR /&gt;         Port: 2I&lt;BR /&gt;         Box: 1&lt;BR /&gt;         Bay: 1&lt;BR /&gt;         Active Path:&lt;BR /&gt;            Port: 2I Box: 1 Bay: 1&lt;BR /&gt;         Status: OK&lt;BR /&gt;         Drive Type: Data Drive&lt;BR /&gt;         Interface Type: SAS&lt;BR /&gt;         Size: 72 GB&lt;BR /&gt;         Rotational Speed: 10000&lt;BR /&gt;         Firmware Revision: HPDC&lt;BR /&gt;         Serial Number: 3NP2KSVB000098358U8T&lt;BR /&gt;         Model: HP      DG072BB975&lt;BR /&gt;         PHY Count: 2&lt;BR /&gt;         PHY Transfer Rate: 3.0GBPS, Unknown&lt;BR /&gt;      physicaldrive 2I:1:2&lt;BR /&gt;         Port: 2I&lt;BR /&gt;         Box: 1&lt;BR /&gt;         Bay: 2&lt;BR /&gt;         Active Path:&lt;BR /&gt;            Port: 2I Box: 1 Bay: 2&lt;BR /&gt;         Status: OK&lt;BR /&gt;         Drive Type: Data Drive&lt;BR /&gt;         Interface Type: SAS&lt;BR /&gt;         Size: 72 GB&lt;BR /&gt;         Rotational Speed: 10000&lt;BR /&gt;         Firmware Revision: HPDC&lt;BR /&gt;         Serial Number: 3NP2M5VE000098358VAP&lt;BR /&gt;         Model: HP      DG072BB975&lt;BR /&gt;         PHY Count: 2&lt;BR /&gt;         PHY Transfer Rate: 3.0GBPS, Unknown&lt;BR /&gt;&lt;BR /&gt;   Array: B&lt;BR /&gt;      Interface Type: SAS&lt;BR /&gt;      Unused Space: 0 MB&lt;BR /&gt;      Status: OK&lt;BR /&gt;      MultiDomain Status: OK&lt;BR /&gt;&lt;BR /&gt;      Logical Drive: 2&lt;BR /&gt;         Size: 410.1 GB&lt;BR /&gt;         Fault Tolerance: RAID 5&lt;BR /&gt;         Heads: 255&lt;BR /&gt;         Sectors Per Track: 32&lt;BR /&gt;         Cylinders: 65535&lt;BR /&gt;         Stripe Size: 64 KB&lt;BR /&gt;         Status: OK&lt;BR /&gt;         MultiDomain Status: OK&lt;BR /&gt;         Array Accelerator: Enabled&lt;BR /&gt;         Parity Initialization Status: Initialization Completed&lt;BR /&gt;         Unique Identifier: 600508B100104639565636484538000C&lt;BR /&gt;         Disk Name: /dev/cciss/c0d1&lt;BR /&gt;         Mount Points: None&lt;BR /&gt;         Logical Drive Label: A8279DD2P61620F9VV6HE865A1&lt;BR /&gt;&lt;BR /&gt;      physicaldrive 1I:1:5&lt;BR /&gt;         Port: 1I&lt;BR /&gt;         Box: 1&lt;BR /&gt;         Bay: 5&lt;BR /&gt;         Active Path:&lt;BR /&gt;            Port: 1I Box: 1 Bay: 5&lt;BR /&gt;         Status: OK&lt;BR /&gt;         Drive Type: Data Drive&lt;BR /&gt;         Interface Type: SAS&lt;BR /&gt;         Size: 146 GB&lt;BR /&gt;         Rotational Speed: 10000&lt;BR /&gt;         Firmware Revision: HPDC&lt;BR /&gt;         Serial Number: 3NM4527A00009821NQYY&lt;BR /&gt;         Model: HP      DG146BB976&lt;BR /&gt;         PHY Count: 2&lt;BR /&gt;         PHY Transfer Rate: 3.0GBPS, Unknown&lt;BR /&gt;      physicaldrive 1I:1:6&lt;BR /&gt;         Port: 1I&lt;BR /&gt;         Box: 1&lt;BR /&gt;         Bay: 6&lt;BR /&gt;         Active Path:&lt;BR /&gt;            Port: 1I Box: 1 Bay: 6&lt;BR /&gt;         Status: OK&lt;BR /&gt;         Drive Type: Data Drive&lt;BR /&gt;         Interface Type: SAS&lt;BR /&gt;         Size: 146 GB&lt;BR /&gt;         Rotational Speed: 10000&lt;BR /&gt;         Firmware Revision: HPDC&lt;BR /&gt;         Serial Number: 3NM5375C000098370FVW&lt;BR /&gt;         Model: HP      DG146BB976&lt;BR /&gt;         PHY Count: 2&lt;BR /&gt;         PHY Transfer Rate: 3.0GBPS, Unknown&lt;BR /&gt;      physicaldrive 1I:1:7&lt;BR /&gt;         Port: 1I&lt;BR /&gt;         Box: 1&lt;BR /&gt;         Bay: 7&lt;BR /&gt;         Active Path:&lt;BR /&gt;            Port: 1I Box: 1 Bay: 7&lt;BR /&gt;         Status: OK&lt;BR /&gt;         Drive Type: Data Drive&lt;BR /&gt;         Interface Type: SAS&lt;BR /&gt;         Size: 146 GB&lt;BR /&gt;         Rotational Speed: 10000&lt;BR /&gt;         Firmware Revision: HPDC&lt;BR /&gt;         Serial Number: 3NM3LR0Q00009816LNR9&lt;BR /&gt;         Model: HP      DG146BB976&lt;BR /&gt;         PHY Count: 2&lt;BR /&gt;         PHY Transfer Rate: 3.0GBPS, Unknown&lt;BR /&gt;      physicaldrive 1I:1:8&lt;BR /&gt;         Port: 1I&lt;BR /&gt;         Box: 1&lt;BR /&gt;         Bay: 8&lt;BR /&gt;         Active Path:&lt;BR /&gt;            Port: 1I Box: 1 Bay: 8&lt;BR /&gt;         Status: OK&lt;BR /&gt;         Drive Type: Data Drive&lt;BR /&gt;         Interface Type: SAS&lt;BR /&gt;         Size: 146 GB&lt;BR /&gt;         Rotational Speed: 10000&lt;BR /&gt;         Firmware Revision: HPDC&lt;BR /&gt;         Serial Number: 3NM4523400009823WS1D&lt;BR /&gt;         Model: HP      DG146BB976&lt;BR /&gt;         PHY Count: 2&lt;BR /&gt;         PHY Transfer Rate: 3.0GBPS, Unknown&lt;BR /&gt;&lt;BR /&gt;=&amp;gt;&lt;BR /&gt;root@wmdata:~# uname -a&lt;BR /&gt;Linux wmdata.infotecnet.com 2.6.18-53.el5PAE #1 SMP Wed Oct 10 16:48:18 EDT 2007&lt;BR /&gt; i686 i686 i386 GNU/Linux&lt;BR /&gt;root@wmdata:~#&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;root@wmdata:~# df -h&lt;BR /&gt;Filesystem            Size  Used Avail Use% Mounted on&lt;BR /&gt;/dev/mapper/VolGroup00-LogVol00&lt;BR /&gt;                       65G   22G   40G  35% /&lt;BR /&gt;/dev/mapper/VolGroup01-LogVol03&lt;BR /&gt;                      392G   15G  358G   4% /oracle&lt;BR /&gt;/dev/cciss/c0d0p1      99M   15M   80M  16% /boot&lt;BR /&gt;tmpfs                 2.0G     0  2.0G   0% /dev/shm&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2008 08:49:15 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324664#M29531</guid>
      <dc:creator>Dédé</dc:creator>
      <dc:date>2008-12-17T08:49:15Z</dc:date>
    </item>
    <item>
      <title>Re: P400 - Linux poor copy performance</title>
      <link>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324665#M29532</link>
      <description>hi,&lt;BR /&gt;&lt;BR /&gt;  i notice that the stripe sizes are different for the two arrays , the smaller stripe on the raid five will generally speaking allow it to split the data up into smaller pieces and spread it across 4 drives , whereas the 2 disk raid 0 is effectively writing 128kb chunks to 1 drive - if you were to make it a straight raid 0 and decrease stripe size and/or increase the number of disks in the 0 + 1 then you should see a difference in the performance.&lt;BR /&gt;restore will be quicker on the 0 + 1 as it currently stands with the smaller drives and larger stripe size due to better positioning.&lt;BR /&gt;&lt;BR /&gt;fwiw &lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2008 13:03:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324665#M29532</guid>
      <dc:creator>marsh_1</dc:creator>
      <dc:date>2008-12-17T13:03:47Z</dc:date>
    </item>
    <item>
      <title>Re: P400 - Linux poor copy performance</title>
      <link>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324666#M29533</link>
      <description>There is nothing wrong with your setup. I too have found out that in many cases RAID5 by far outperforms RAID10 using similar dd tests. I have also read that the new algorithms for RAID5 are more efficient that older ones and take advantage of the larger number of spindles (more combined i/o) in RAID5. If you had a 4 disk RAID10 and a 4 disk RAID5 the results might be different (or not). That's why it is always a good idea to run these tests with all array systems (small and large) before choosing the RAID type and number of disks in it. Of course with internal RAID controllers you don't have much flexibility (limited power and and number of disks). The first two disks are used in RAID1 for the OS wich is not i/o demanding as compared with the rest of the disks which are used for database and application i/o.</description>
      <pubDate>Wed, 17 Dec 2008 13:09:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324666#M29533</guid>
      <dc:creator>TTr</dc:creator>
      <dc:date>2008-12-17T13:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: P400 - Linux poor copy performance</title>
      <link>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324667#M29534</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I agree with you that performance will be better if I change RAID configuration, but not 2x times faster????&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;I not understand why a 4Go file copy under windows take 30 sec and my brand new server under Red hat minimum 2 minutes.....&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks for your help&lt;BR /&gt;</description>
      <pubDate>Wed, 17 Dec 2008 16:28:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/disk-enclosures/p400-linux-poor-copy-performance/m-p/4324667#M29534</guid>
      <dc:creator>Dédé</dc:creator>
      <dc:date>2008-12-17T16:28:21Z</dc:date>
    </item>
  </channel>
</rss>

