磁盘传输速率慢

磁盘传输速率慢

我遇到了磁盘传输速度慢的问题。它是我们网站的静态文件服务器。我正在备份数据,发现 tar 非常慢。所以我执行了 hdparm -t 然后...

hdparm -t /dev/sda3
/dev/sda3:
Timing buffered disk reads:   6 MB in  4.70 seconds =   1.28 MB/sec

现在是我们网站的流量低谷,所以巨大的 I/O 流量不是原因(iotop 显示低于 1 MB/s)。

这是 RAID10 设置(2x2 SATA 驱动器)。

Unit  UnitType  Status         %RCmpl  %V/I/M  Stripe  Size(GB)  Cache  AVrfy
------------------------------------------------------------------------------
u0    RAID-10   OK             -       -       64K     1396.96   W      ON     

VPort Status         Unit Size      Type  Phy Encl-Slot    Model
------------------------------------------------------------------------------
p0    OK             u0   698.63 GB SATA  0   -            WDC WD7500AADS-00M2 
p1    OK             u0   698.63 GB SATA  1   -            WDC WD7500AADS-00M2 
p2    OK             u0   698.63 GB SATA  2   -            WDC WD7500AADS-00M2 
p3    OK             u0   698.63 GB SATA  3   -            WDC WD7500AADS-00M2

我们最近更换了服务器的几乎所有组件(3ware 控制器 + 磁盘除外)。我认为问题就是从那时起开始的。可能是配置问题还是硬件问题?

编辑:

我在 dmesg 中发现了类似的东西

[166843.625843] irq 16: nobody cared (try booting with the "irqpoll" option)
[166843.625846] Pid: 0, comm: swapper Not tainted 3.1.5-gentoo #3
[166843.625847] Call Trace:
[166843.625848]  <IRQ>  [<ffffffff810859d5>] __report_bad_irq+0x35/0xc1
[166843.625856]  [<ffffffff81085cec>] note_interrupt+0x165/0x1e1
[166843.625859]  [<ffffffff8108445f>] handle_irq_event_percpu+0x16f/0x187
[166843.625861]  [<ffffffff810844a9>] handle_irq_event+0x32/0x51
[166843.625863]  [<ffffffff8108640b>] handle_fasteoi_irq+0x75/0x99
[166843.625866]  [<ffffffff810039d7>] handle_irq+0x83/0x8b
[166843.625868]  [<ffffffff810036ad>] do_IRQ+0x48/0xa0
[166843.625871]  [<ffffffff8155082b>] common_interrupt+0x6b/0x6b
[166843.625872]  <EOI>  [<ffffffff812981e8>] ? acpi_safe_halt+0x22/0x35
[166843.625877]  [<ffffffff812981e2>] ? acpi_safe_halt+0x1c/0x35
[166843.625879]  [<ffffffff81298216>] acpi_idle_do_entry+0x1b/0x2b
[166843.625881]  [<ffffffff81298276>] acpi_idle_enter_c1+0x50/0x99
[166843.625884]  [<ffffffff813b792a>] cpuidle_idle_call+0xed/0x171
[166843.625886]  [<ffffffff81001257>] cpu_idle+0x55/0x81
[166843.625888]  [<ffffffff81532a69>] rest_init+0x6d/0x6f
[166843.625891]  [<ffffffff81aa1aca>] start_kernel+0x329/0x334
[166843.625893]  [<ffffffff81aa12a6>] x86_64_start_reservations+0xb6/0xba
[166843.625894]  [<ffffffff81aa139c>] x86_64_start_kernel+0xf2/0xf9
[166843.625896] handlers:
[166843.625898] [<ffffffff812dc8de>] twl_interrupt
[166843.625900] Disabling IRQ #16

和问题有关吗?

编辑#2:

根据评论中的反馈,这里有更多信息。

猫/ proc /中断

16:     390813          0          0          0   IO-APIC-fasteoi   3w-sas

控制器型号:

[    1.095350] 3ware Storage Controller device driver for Linux v1.26.02.003.
[    1.095467] 3ware 9000 Storage Controller device driver for Linux v2.26.02.014.
[    1.095641] LSI 3ware SAS/SATA-RAID Controller device driver for Linux v3.26.02.000.
[    1.095787] 3w-sas 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[    1.095881] 3w-sas 0000:01:00.0: setting latency timer to 64
[    1.910801] 3w-sas: scsi0: Found an LSI 3ware 9750-4i Controller at 0xfe560000, IRQ: 16.
[    2.216537] 3w-sas: scsi0: Firmware FH9X 5.08.00.008, BIOS BE9X 5.07.00.011, Phys: 8.
[    2.216836] scsi 0:0:0:0: Direct-Access     LSI      9750-4i    DISK  5.08 PQ: 0 ANSI: 5

和主板:

description: Motherboard
product: P8H67-M
vendor: ASUSTeK Computer INC.

相关内容