lkml.org 
[lkml]   [2004]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] speed up SATA
Timothy Miller wrote:
>
>
> Jens Axboe wrote:
>
>> - The optimal_sectors calculation is just an average of previous maximum
>> with current maximum. The scheme has a number of break down points,
>> for instance writes starving reads will give you a bad read execution
>> time, further limiting ->optimal_sectors[READ]
>
>
>
> I did look through your code a bit, but one thing to be concerned with
> is that going only on max throughput might be fooled by cache hits on
> the drive.


If you are taking your samples over time, that shouldn't matter... if
the system workload is such that you are hitting the drive cache the
majority of the time, you're not being "fooled" by cache hits, the patch
would be taking those cache hits into account.

If the system isn't hitting the drive cache the majority of the time,
statistical sampling will automatically notice that too...

Jeff



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