Re: What is the correct way to disable NCQ? Where to report upstream?



On Wed, Jul 29, 2009 at 01:48:49PM -0500, Ron Johnson wrote:
Subsequently, I disabled NCQ with:
$ echo 1 > /sys/block/sda/device/queue_depth
$ echo 1 > /sys/block/sdb/device/queue_depth
I'd put them in rc.local, or /etc/sysctl.conf (depending on if Google says that /etc/sysctl.conf says that's the correct place).

No, not sysctl.conf, use /etc/sysfs.conf (package sysfsutils). You can then add the two lines:
block/sda/device/queue_depth=1
block/sdb/device/queue_depth=1

sysctl.conf is for /proc/sys.

Shade and sweet water!

Stephan

--
| Stephan Seitz E-Mail: stse@xxxxxxxxxxxxxxxxxxx |
| PGP Public Keys: http://fsing.rootsland.net/~stse/pgp.html |

Attachment: signature.asc
Description: Digital signature



Relevant Pages

  • Re: Twelve Years of Unwedded Bliss!
    ... Photoshop (and other much cheaper products) can be as good a friend as ... Google. ... Depending, of course, on ones motives. ...
    (rec.food.cooking)
  • Re: Advantages of .net?
    ... with no compiled DLLs then it would be safe to migrate to it, depending ... Win32 is still a sure bet -- even more sure than .NET ... > Sure, i know google. ...
    (borland.public.delphi.non-technical)
  • Re: Twelve Years of Unwedded Bliss!
    ... Photoshop (and other much cheaper products) can be as good a friend as ... Google. ... Depending, of course, on ones motives. ...
    (rec.food.cooking)
  • Re: Internet censorship December 9, 2005
    ... maybe the thirteenth, depending on where you live, unless you live on the Moon, ... happening on the American Internet is on moderated ... Even harsh critics of Google?s technical problems have admitted that Google has ... Censorship Command HQ ...
    (alt.internet.search-engines)
  • Re: What your GNU/Linux looks like? Suggestion for developers...
    ... Google for a screenshot. ... > Eww. ... Depending on the outcome, I might ...
    (alt.os.linux)