hi
I'm trying to turn on TCQ on 2.5.59, but it doesn't seem be able to set it to
anything but 0 and 1. This is with TCQ default 'off':
# cat /proc/ide/hda/settings | grep using_tcq
using_tcq 0 0 32 rw
# echo using_tcq:32 > /proc/ide/hda/settings
# cat /proc/ide/hda/settings | grep using_tcq
using_tcq 1 0 32 rw
#
rebuilding kernel set to TCQ default 'on', I get this
# cat /proc/ide/hda/settings |grep tcq
using_tcq 1 0 32 rw
# echo using_tcq:32 > /proc/ide/hda/settings
# cat /proc/ide/hda/settings |grep tcq
using_tcq 1 0 32 rw
#
...so TCQ can't be set > 1. Attached is ispci, dmesg and some /proc/ide stuff
I found interesting (or something). Disk drive is a 60gig IBM 120GXP.
Thanks
--
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356
Computers are like air conditioners.
They stop working when you open Windows.
> I'm trying to turn on TCQ on 2.5.59, but it doesn't seem be able to set it to
> anything but 0 and 1. This is with TCQ default 'off':
>
> # cat /proc/ide/hda/settings | grep using_tcq
> using_tcq 0 0 32 rw
> # echo using_tcq:32 > /proc/ide/hda/settings
> # cat /proc/ide/hda/settings | grep using_tcq
> using_tcq 1 0 32 rw
but it's a flag, not a count. use CONFIG_BLK_DEV_IDE_TCQ_DEPTH
if you want something other than the default depth of 1.
On Sun, Jan 26 2003, Mark Hahn wrote:
> > I'm trying to turn on TCQ on 2.5.59, but it doesn't seem be able to set it to
> > anything but 0 and 1. This is with TCQ default 'off':
> >
> > # cat /proc/ide/hda/settings | grep using_tcq
> > using_tcq 0 0 32 rw
> > # echo using_tcq:32 > /proc/ide/hda/settings
> > # cat /proc/ide/hda/settings | grep using_tcq
> > using_tcq 1 0 32 rw
>
> but it's a flag, not a count. use CONFIG_BLK_DEV_IDE_TCQ_DEPTH
> if you want something other than the default depth of 1.
It's a flag, correct. The default depth is 32 though, not 1. And with
newer hdparms you can use -Q to set/query the tag depth of the drive. Be
careful with that though, it's not too well tested. IDE TCQ in 2.5 needs
a bit of work, I hope to do so soonish...
--
Jens Axboe
> > but it's a flag, not a count. use CONFIG_BLK_DEV_IDE_TCQ_DEPTH
> > if you want something other than the default depth of 1.
>
> It's a flag, correct. The default depth is 32 though, not 1. And with
> newer hdparms you can use -Q to set/query the tag depth of the drive. Be
> careful with that though, it's not too well tested. IDE TCQ in 2.5 needs
> a bit of work, I hope to do so soonish...
but shouldn't the 'echo using_tcq:32' be equivilent of hdparm -Q?
roy
--
Roy Sigurd Karlsbakk, Datavaktmester
ProntoTV AS - http://www.pronto.tv/
Tel: +47 9801 3356
Computers are like air conditioners.
They stop working when you open Windows.
On Mon, Jan 27 2003, Roy Sigurd Karlsbakk wrote:
> > > but it's a flag, not a count. use CONFIG_BLK_DEV_IDE_TCQ_DEPTH
> > > if you want something other than the default depth of 1.
> >
> > It's a flag, correct. The default depth is 32 though, not 1. And with
> > newer hdparms you can use -Q to set/query the tag depth of the drive. Be
> > careful with that though, it's not too well tested. IDE TCQ in 2.5 needs
> > a bit of work, I hope to do so soonish...
>
> but shouldn't the 'echo using_tcq:32' be equivilent of hdparm -Q?
Yes, doesn't that work?
--
Jens Axboe