Malinux' notes: Difference between revisions
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
Disabling NCQ (Native Command Queuing) can in some circumstances improve performance | Disabling NCQ (Native Command Queuing) can in some circumstances improve performance | ||
< | <syntaxhighlight lang="bash"> | ||
# To check if ncq is already off, its' likely not if you haven't already turned it off | # To check if ncq is already off, its' likely not if you haven't already turned it off | ||
cat /sys/block/sdX/device/queue_depth | cat /sys/block/sdX/device/queue_depth |
Revision as of 03:32, 21 November 2021
Disable NCQ
Disabling NCQ (Native Command Queuing) can in some circumstances improve performance
<syntaxhighlight lang="bash">
- To check if ncq is already off, its' likely not if you haven't already turned it off
cat /sys/block/sdX/device/queue_depth
- it will return 32 if it's on
- To turn it off:
echo 1 > /sys/block/sdk/device/queue_depth
</syntaxhiglight>