UNSOLVED

donaldfung

updated

18 years ago

0

38896

June 3rd, 2008 03:00

Problem in transfer rate for LSI SAS1068

Dear all,

 

A PE2950 (RHEL5) arrives with a LSI SAS1068 (SAS) and a LTO-4 tape drive. I try to backup the machine using dump but the transfer speed is much lower than expected (2 times slower with compared with old parallel SCSI system PE2850). Both system use the same standalone filesystem (ext3) and same dump version (0.4b41). The only different is the OS version and the new system is using OS internal driver.

 

 

Would anyone know the actual transfer speed and know how to tune the machine?

Thanks

 

 

Old PE2850 (RHEL 3)

Adaptec AHA-3960D / AIC-7899A

 

DUMP: Dumping /dev/sdb1 (/u02) to /dev/nst1
DUMP: Label: none
DUMP: Writing 10 Kilobyte records
DUMP: mapping (Pass I) [regular files]
DUMP: mapping (Pass II) [directories]
DUMP: estimated 96130087 blocks.
DUMP: Volume 1 started with block 1 at: Sun May 25 05:29:46 2008
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 13.22% done at 42361 kB/s, finished in 0:32
DUMP: 28.36% done at 45438 kB/s, finished in 0:25
DUMP: 43.22% done at 46163 kB/s, finished in 0:19
DUMP: 57.59% done at 46138 kB/s, finished in 0:14
DUMP: 71.28% done at 45679 kB/s, finished in 0:10
DUMP: 87.34% done at 46645 kB/s, finished in 0:04
DUMP: 97.61% done at 44680 kB/s, finished in 0:00
DUMP: Closing /dev/nst1
DUMP: Volume 1 completed at: Sun May 25 06:06:58 2008
DUMP: Volume 1 96120850 blocks (93868.02MB)
DUMP: Volume 1 took 0:37:12
DUMP: Volume 1 transfer rate: 43064 kB/s
DUMP: 96120850 blocks (93868.02MB) on 1 volume(s)
DUMP: finished in 2231 seconds, throughput 43084 kBytes/sec
DUMP: Date of this level 0 dump: Sun May 25 05:29:09 2008
DUMP: Date this dump completed: Sun May 25 06:06:58 2008

 

PE2950 (RHEL 5)

LSI Logic / Symbios Logic SAS1068

 

DUMP: Volume 1 started with block 1 at: Mon Jun 2 18:26:28 2008
DUMP: dumping (Pass III) [directories]
DUMP: dumping (Pass IV) [regular files]
DUMP: 4.48% done at 21209 kB/s, finished in 1:46
DUMP: 9.09% done at 21492 kB/s, finished in 1:40
DUMP: 13.70% done at 21597 kB/s, finished in 1:34
DUMP: 18.30% done at 21637 kB/s, finished in 1:29
DUMP: 22.89% done at 21658 kB/s, finished in 1:24
DUMP: 27.10% done at 21363 kB/s, finished in 1:20
DUMP: 31.06% done at 20990 kB/s, finished in 1:17
DUMP: 35.40% done at 20933 kB/s, finished in 1:12
DUMP: 40.01% done at 21029 kB/s, finished in 1:07
DUMP: 44.61% done at 21101 kB/s, finished in 1:02
DUMP: 49.22% done at 21165 kB/s, finished in 0:56
DUMP: 53.81% done at 21214 kB/s, finished in 0:51
DUMP: 58.43% done at 21263 kB/s, finished in 0:46
DUMP: 63.05% done at 21304 kB/s, finished in 0:41
DUMP: 67.66% done at 21336 kB/s, finished in 0:35
DUMP: 72.27% done at 21367 kB/s, finished in 0:30
DUMP: 76.88% done at 21392 kB/s, finished in 0:25
DUMP: 81.49% done at 21417 kB/s, finished in 0:20
DUMP: 85.76% done at 21351 kB/s, finished in 0:15
DUMP: 90.15% done at 21322 kB/s, finished in 0:10
DUMP: 94.76% done at 21346 kB/s, finished in 0:05
DUMP: 99.31% done at 21354 kB/s, finished in 0:00
DUMP: Closing /dev/nst0
DUMP: Volume 1 completed at: Mon Jun 2 20:17:14 2008
DUMP: Volume 1 141908010 blocks (138582.04MB)
DUMP: Volume 1 took 1:50:46
DUMP: Volume 1 transfer rate: 21352 kB/s
DUMP: 141908010 blocks (138582.04MB) on 1 volume(s)
DUMP: finished in 6645 seconds, throughput 21355 kBytes/sec
DUMP: Date of this level 0 dump: Mon Jun 2 18:23:10 2008
DUMP: Date this dump completed: Mon Jun 2 20:17:14 2008

Message Edited by donaldfung on 06-03-2008 11:28 PM
  • warwizard55

    720 Posts

    1159

    0

    Posted June 5th, 2008 01:00

    Hi donaldfung,

     

      First let's get some basics out of the way.

    Hard drive types and if configured into any type of RAID (S/W RAID can still affect throughput).

    Memory total and allocations to pools for buffering requests. Processor quantity and types.

    IRQ assignments, looking for devices that are sharing the same IRQ especially if they are high usage.

     

    Once we determine that we're comparing apples to eggplants... :smileywink: we can start looking at some performance metrics to see where the bottleneck is.

     

    Regards,

    warwizard

  • 1159

    0

    Posted June 5th, 2008 05:00


        I know there would have some differences between the machines which may affect the performace. 

        Our old machine is running Xeon 2.80GHz dual core while the new is Dual Xeon E5420 2.50GHz Quad core with same memory size. During backup, I shut down all the applications. But the performance is not satisfied by my boss...

     

        Today, I get to solve the problem.

     

        Initially, the old machine is configure to have block size of 10 Kilobyte records. And the new machine block size of is also 10 Kilobyte records. From the stdout, the dump performance of new machine is poor.

     

        Then, I try to specify the block size of the new machine to 128K, and the performace is greatly improved.

        Maybe, the OS kernel is the constraint of the I/O of the tape.

         

     

      DUMP: estimated 141919096 blocks.
      DUMP: Volume 1 started with block 1 at: Thu Jun  5 12:55:02 2008
      DUMP: dumping (Pass III) [directories]
      DUMP: dumping (Pass IV) [regular files]
      DUMP: 25.02% done at 118377 kB/s, finished in 0:14
      DUMP: 43.66% done at 103272 kB/s, finished in 0:12
      DUMP: 65.39% done at 103112 kB/s, finished in 0:07
      DUMP: 85.90% done at 101596 kB/s, finished in 0:03
      DUMP: Closing /dev/nst0
      DUMP: Volume 1 completed at: Thu Jun  5 13:19:13 2008
      DUMP: Volume 1 141908224 blocks (138582.25MB)
      DUMP: Volume 1 took 0:24:11
      DUMP: Volume 1 transfer rate: 97800 kB/s
      DUMP: 141908224 blocks (138582.25MB) on 1 volume(s)
      DUMP: finished in 1449 seconds, throughput 97935 kBytes/sec
      DUMP: Date of this level 0 dump: Thu Jun  5 12:51:54 2008
      DUMP: Date this dump completed:  Thu Jun  5 13:19:13 2008
      DUMP: Average transfer rate: 97800 kB/s
      DUMP: DUMP IS DONE

  • warwizard55

    720 Posts

    1159

    0

    Posted June 6th, 2008 00:00

    Hi,

     

      Ok with block size change performance improves, says you were not getting as many transactions through to the hard drive as you should have, so the drive system was/is a bottleneck. We might be able to get some more performance with some more tweaking or driver and or F/W updates. The old system might improve with a block size change as well.

     

    I wanted the hard drive info so I could estimate what your performance levels should be. I suppose you are done when your boss is happy.

     

    warwizard

  • 1159

    0

    Posted June 6th, 2008 01:00

    Both system is running with latest dump (dump 0.4b39 (using libext2fs 1.32 of 09-Nov-2002))

     

    OLD PE2850

     

    Processor 1
    Processor Manufacturer Intel
    Processor Family Xeon
    Processor Version Model 4 Stepping 1

    Memory
    Total Installed Capacity 4096 MB

    Operating System
    Name Red Hat Enterprise Linux ES
    release 3 (Taroon Update 4) Kernel 2.4.21-27.0.2.ELsmp on i686

     

    Controller Card

     

    PERC 4e/Di (Embedded)

    Firmware Version 513O
    Driver Version 00.00.03.13

     
    Status Name State Layout Size Device Name Read Policy Write Policy Cache Policy Stripe Size

    Virtual Disk 0 Ready RAID-1 68.24GB /dev/sda Adaptive Read Ahead Write Back Direct I/O 64 KB
    Virtual Disk 1 Ready RAID-1 136.62GB /dev/sdb Adaptive Read Ahead Write Back Direct I/O 64 KB

    Channels

    Status Name State Termination SCSI Rate

    Channel 0 Ready Wide Terminated Ultra 320M SCSI
    Channel 1 Ready Wide Terminated Ultra 320M SCSI


    Adaptec AHA-3960D / AIC-7899A U160/m (rev 1).. (PCI Slot 1)

    SAS 5/E (PCI Slot 3)

    Firmware Version 00.10.51.00.06.12.05.00
    Driver Version 3.02.99.00rh

     

     

     

     

     

     

     

    New PE2950


    Processor 1
    Processor Brand Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
    Processor Version Model 23 Stepping 6
    Voltage 1400 mV

    Processor 2
    Processor Brand Intel(R) Xeon(R) CPU E5420 @ 2.50GHz
    Processor Version Model 23 Stepping 6
    Voltage 1400 mV

    Memory
    Total Installed Capacity 4096 MB

    Operating System
    Name Red Hat Enterprise Linux ES
    Version release 4 (Nahant Update 6) Kernel 2.6.9-67.0.15.ELsmp (i686)

     

    Controller Card

     

    PERC 6/i Integrated

    Firmware Version 6.0.2-0002
    Driver Version 00.00.03.13


    Status Name State Layout Size Device Name Type Read Policy Write Policy Stripe Element Size Disk Cache Policy

    Virtual Disk 0 Ready RAID-5 836.62GB /dev/sda SAS No Read Ahead Write Back 64 KB Disabled



    Status Name State Connector Type

    Connector 0 Ready SAS Port RAID Mode
    Connector 1 Ready SAS Port RAID Mode

     

    SAS 5/E (PCI Slot 3)

    Firmware Version 00.10.51.00.06.12.05.00
    Driver Version 3.02.99.00rh
    Message Edited by donaldfung on 06-05-2008 09:45 PM