iMX6Q SATA performance (speed limit)

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

iMX6Q SATA performance (speed limit)

3,518 次查看
Androider
Contributor I

Hi all,

I've been testing the VAR-SOM-MX6 dev kit, and have noticed that the SATA write speed is well below what I would expect.

Both using a custom app and dding zeros to 2 separate SSD drives, I'm maxing out at around 96MB/s, less than a third of the rated speed of a SATA II interface.

Is there anything I'm missing here? I've looked through the IMX6DQAEC datasheet, and can't find anything about the read/write speed being less that 3.0 gbps. Could it be a limitation of the dev kit? Could anyone point me in the direction of the driver?

The SSDs I'm using are a 1tb Crucial M550 and a 120gb Kingston HyperX, and I'm running the Linaro Ubuntu 11.10 distro from the Variscite Wiki.

Thanks in advance.

标签 (3)
7 回复数

1,396 次查看
tonyzheng
NXP Employee
NXP Employee

Hi, Androider

The SATA II's theory speed is 300MB/s, but actually, it can't realize this speed because of many reasons.

I have test it on SabreSDP, its average speed is 124.6MB/s64G Kingstone,Read) and 109.5MB/s(64G Kingstone,Write).

1,396 次查看
tordandersson
Contributor I

Hi Tao,

What is the physical limit on the iMX6 SATA interface throughput when using a fast SSD (>=480MB/s)?

In other words, what would be the maximum read and write throughput be if we could optimize all SW layers as much as possible?

Would it be possible to increase the throughput substantially from the ~120MB/s range or would we only gain small improvements (<10%)?

Best Regards,

Tord

0 项奖励

1,396 次查看
tonyzheng
NXP Employee
NXP Employee

Hi, Tord

There are many factor (SW or HW)to influence SATA performance.

  1. Stroage device. It depends on different storage device;
  2. CPU limilt. In general, The CPU compute speed will also influence read/write operation of SATA device;
  3. SATA phyiscal signal quality. Good signal quality will reduce bit error rate.
  4. Software stack complexity.
  5. SATA IP features.
  6. And some other factors.

So, we have no such accurate data. But you can do some tuning works on SATA device, such as modifying  FIFO length, AHB burst length and so on.

0 项奖励

1,396 次查看
yaolinchang
Contributor I

Hi Tao,

       Can you tell me how to modify FIFO length and AHB burst length?

Can you provide sample code for this?

Thanks,

Best Regards,

Yao

0 项奖励

1,396 次查看
tonyzheng
NXP Employee
NXP Employee

Hi, Yao

You can directly use memtool to write related registers. But it seems that this SATA IP don't provide the access to FIFO and burst size register for custom. The only register you can use is SATA_P0DMACR.

0 项奖励

1,396 次查看
alejandrolozan1
NXP Employee
NXP Employee

Hi Tao,

Thanks for the information, it helped a lot to me too.

Best Regards,

Alejandro

0 项奖励

1,396 次查看
tonyzheng
NXP Employee
NXP Employee

Hi,

It is my pleasure. In addition,you can use strong IO test tools-IOZone to test your SATA speed.

0 项奖励