Skip to contentSkip to conversation

IDE TCQ #4

PATCH Petr Vandrovec 3 participants 3 messages Apr 15, 2002 – Apr 16, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 10 lines · Jens Axboe
Quoted 7 lines

You can run a IDENTIFY_DEVICE from user space with the task ioctls and look at word 83 -- bit 1 and 14 must be set for TCQ to be supported. If you give me the model identifier from the IBM drive, I can tell you if it has tcq or not...

I'll write a small util to detect this tomorrow and send it to you + the list.

Duh, you can of course just look at /proc/ide/ideX/hdY/identify and parse that. The info above is still valid for that, of course :-)

If I parsed file correctly (it is 83 decimal word, yes?), WD's WDC WD1200JB-00CRA0 supports TCQ too. I'm still deciding which of TCQ #X and IDE #YY patches should be aplied to 2.5.8 to get optimal results (and I have to disconnect slaves...).
Best regards,
Petr Vandrovec [email protected]

#1 lore raw
Quoted 7 lines · Petr Vandrovec
Quoted 5 lines · Jens Axboe
Quoted 5 lines

You can run a IDENTIFY_DEVICE from user space with the task ioctls and look at word 83 -- bit 1 and 14 must be set for TCQ to be supported. If you give me the model identifier from the IBM drive, I can tell you if it has tcq or not...

Quoted 8 lines
Quoted 5 lines
Quoted 2 lines

I'll write a small util to detect this tomorrow and send it to you + the list.

Duh, you can of course just look at /proc/ide/ideX/hdY/identify and parse that. The info above is still valid for that, of course :-)

If I parsed file correctly (it is 83 decimal word, yes?), WD's WDC WD1200JB-00CRA0 supports TCQ too. I'm still deciding which of

Ok

Quoted 2 lines

TCQ #X and IDE #YY patches should be aplied to 2.5.8 to get optimal results (and I have to disconnect slaves...).

The latest I posted, and slaves are fine.

Signature · 1 line
Jens Axboe
#2 lore raw
In reply to Petr Vandrovec
Quoted 11 lines · Petr Vandrovec
Quoted 8 lines · Jens Axboe
Quoted 7 lines

You can run a IDENTIFY_DEVICE from user space with the task ioctls and look at word 83 -- bit 1 and 14 must be set for TCQ to be supported. If you give me the model identifier from the IBM drive, I can tell you if it has tcq or not...

I'll write a small util to detect this tomorrow and send it to you + the list.

Quoted 8 lines
Quoted 2 lines

Duh, you can of course just look at /proc/ide/ideX/hdY/identify and parse that. The info above is still valid for that, of course :-)

If I parsed file correctly (it is 83 decimal word, yes?), WD's WDC WD1200JB-00CRA0 supports TCQ too. I'm still deciding which of TCQ #X and IDE #YY patches should be aplied to 2.5.8 to get optimal results (and I have to disconnect slaves...).

IDE 35 ist the latest from Jens with a fix for a wrong memset. So you should go for IDE 34, 35, since they apply on top of each other.