lkml.org 
[lkml]   [2003]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Problem with aacraid driver in 2.5.63-bk-latest
From
Date
On Wed, 2003-03-12 at 23:55, Douglas Gilbert wrote:
> /*
> * Limit max queue depth on a single lun to 256 for now. Remember,
> * we allocate a struct scsi_command for each of these and keep it
> * around forever. Too deep of a depth just wastes memory.
> */
> if(tags > 256)
> return;
> ....

I can see the memory consideration. However the thing can really handle big
queues well. Possibly we should be setting the queue to 512 / somefunction(volumes)
though to avoid the worst case overcommit here

-
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:33    [W:0.064 / U:0.124 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site