linux硬盘打开ncq,linux下如何开启ncq

0de1abac293596c6181300856edd7ed7.png

参看 http://linux-ata.org/sata-status.html[/quote]

Queueing support

Preliminary support for SATA Native Command Queueing (NCQ) is available in the libata-dev git repository. Queueing support is not currently available in any release kernel.

Tangent: Host-based queueing and Native Command Queueing

Queueing is the process of sending multiple commands to a single device, without waiting for prior commands to finish. This increases performance and reduces latency. There are three types of queueing in the ATA world:

"legacy TCQ" -- some PATA devices support this. This design is largely a hack on top of existing ATA, to enable queueing for certain devices. Since host controllers did not require updates to support this, there are many limitations and complications that an OS driver must deal with, to enable legacy TCQ. As a result, legacy TCQ will only be supported on those few host controllers which provide host-based TCQ (see next item). This is very low priority, and may never be supported.

"host-based TCQ" -- the host controller supports a queue of drive commands, whether or not the drive supports it.

"Native Command Queueing" -- both host and drive cooperate in the queueing and execution of drive commands. This should provide the highest performance and lowest latency of all three options.

#1 will be supported only where hardware handles all the details. (legacy TCQ + host-based TCQ)

#2 may supported by libata, on a per-driver basis, for all hardware that supports it.

#3 will be supported by libata, for all hardware and devices that support NCQ. Test code is currently available in the 'ncq' branch of libata-dev.git.

◆◆

评论读取中....

请登录后再发表评论!

◆◆

修改失败,请稍后尝试

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值