Malinux' notes: Difference between revisions

From Roy's somewhat wise thoughts
Jump to navigation Jump to search
(Created page with "== Disable NCQ == Disabling NCQ (Native Command Queuing) can in some circumstances improve performance <syntaxhiglight lang="bash"> # To check if ncq is already off, its' lik...")
 
Line 1: Line 1:
== Disable NCQ ==
=== Disable NCQ ===
Disabling NCQ (Native Command Queuing) can in some circumstances improve performance
Disabling NCQ (Native Command Queuing) can in some circumstances improve performance



Revision as of 03:31, 21 November 2021

Disable NCQ

Disabling NCQ (Native Command Queuing) can in some circumstances improve performance

<syntaxhiglight lang="bash">

  1. 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

  1. it will return 32 if it's on
  2. To turn it off:

echo 1 > /sys/block/sdk/device/queue_depth

</syntaxhiglight>