采用PLX桥接的NVMe驱动器性能较差

最近我已经为我运行的家庭服务器购买了几个NVME驱动器。

我决定让预算更友好,并且可能通过selectSupermicro的附加卡来改善IOP,该附加卡在pcie插槽上使用PLX桥接器,以允许一次连接两个2.5尺寸的ssds。

该卡的型号是:AOC-SLG3-2E4

我已经引导到一个单独的普通SSD上的Linux,并可以看到卡和驱动器正常工作与以下检查:

liang@Sonny:~$ lspci |grep 0953 06:00.0 Non-Volatile memory controller: Intel Corporation Device 0953 (rev 01) 07:00.0 Non-Volatile memory controller: Intel Corporation Device 0953 (rev 01) liang@Sonny:~$ lspci |grep PLX 04:00.0 PCI bridge: PLX Technology, Inc. PEX 8718 16-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev aa) 05:01.0 PCI bridge: PLX Technology, Inc. PEX 8718 16-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev aa) 05:02.0 PCI bridge: PLX Technology, Inc. PEX 8718 16-Lane, 5-Port PCI Express Gen 3 (8.0 GT/s) Switch (rev aa) liang@Sonny:~$ 

问题是,我没有得到广告的900mb / s的写入速度:

 liang@Sonny:~$ sudo dd if=/dev/zero of=/dev/nvme0 dd: writing to '/dev/nvme0': Invalid argument 1+0 records in 0+0 records out 0 bytes (0 B) copied, 0.000297179 s, 0.0 kB/s liang@Sonny:~$ sudo dd if=/dev/zero of=/dev/nvme0n1 ^C7058361+0 records in 7058361+0 records out 3613880832 bytes (3.6 GB) copied, 14.3664 s, 252 MB/s liang@Sonny:~$ sudo dd if=/dev/zero of=/dev/nvme1n1 ^C764433+0 records in 764433+0 records out 391389696 bytes (391 MB) copied, 2.48995 s, 157 MB/s liang@Sonny:~$ sudo dd if=/dev/nvme0n1 of=/dev/nvme1n1 ^C930417+0 records in 930417+0 records out 476373504 bytes (476 MB) copied, 2.98179 s, 160 MB/s liang@Sonny:~$ sudo dd if=/dev/nvme0n1 of=/dev/nvme1n1 ^C23402049+0 records in 23402049+0 records out 11981849088 bytes (12 GB) copied, 59.4382 s, 202 MB/s 

可以看出它只有200mb / s左右,我已经检查过它不是一个CPU瓶颈,而在我开始使用的普通SSD上,我得到的是300mb / s:

 liang@Sonny:~$ sudo dd if=/dev/nvme0n1 of=/home/liang/asdfasdf ^C3717510+0 records in 3717509+0 records out 1903364608 bytes (1.9 GB) copied, 5.71793 s, 333 MB/s 

任何人都有类似的经历? 是否需要安装一些驱动程序? 这有可能是错误的卡吗? 还是有什么软件相关的,在传输速度创造开销?

干杯。

编辑其他细节

 liang@Sonny:~$ uname -a Linux Sonny 3.16.0-30-generic #40~14.04.1-Ubuntu SMP Thu Jan 15 17:43:14 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux 

主板:华硕Z10PE-D8硬盘产品代码:SSDPE2MW400G4R5(Intel 750系列NVME SSD 400GB容量)

你是错误的基准:发出dd if=/dev/zero of=/dev/nvme0你正在使用512字节的写入,这显然非常小。

尝试使用dd if=/dev/zero of=/dev/nvme0 bs=1M ,您将拥有更多的号码。

作为一个方面说明,使用512字节写入,直接连接的磁盘由于更低的延迟(PLX不可避免地增加一些延迟)而具有更高的性能。