lkml.org 
[lkml]   [2001]   [Apr]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: aic7xxx TCQ settings?
Date
From
>
>I'm using 2.4.3 vanilla with aic7xxx (aic7880 onboard)
>I set the max # of TCQ commands per device setting to 50..what's a really
>good setting for this, just the default of 253?

Depends on the device. The aic7xxx driver will determine the
maximum number of tags that a particular device can handle and limit
the transactions accordingly. For devices with now hard limit, transactions
will be dynamically varied to limit the occurrance of queue full but
to otherwise try to keep the limit as high as possible. Some devices
do not perform well when lots of transactions are outstanding even though
they never report queue full. On these devices, you will get better
performance if you lower your transaction settings.

>
>In /proc/scsi/aic7xxx/0 i see for my drives these numbers:
> Commands Queued 140000

This is a count of the number of commands ever queued to the device.
The only time it will "decrease" is when the counter wraps to 0.
The counter, at least in the 6.1.8 driver, is an unsigned long.

> Commands Active 0

This is a count of the number of commands currently outstanding to the
device. You system was idle, SCSI wise, when you pulled this information.

> Command Openings 253

Current "soft limit" on tagged transactions. We've never seen a queue full
from this device, so the tag count has not been reduced from its original
setting.

> Max Tagged Openings 253

Hard limit on the number of tagged transactions. The hard limit is
set by monitoring the device's "queue full" behavior.

--
Justin
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:22    [W:0.047 / U:7.572 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site