[lkml]   [2004]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] speed up SATA
Nick Piggin wrote:
> Jeff Garzik wrote:
>> Nick Piggin wrote:
>>> I think 32MB is too much. You incur latency and lose
>>> scheduling grainularity. I bet returns start diminishing
>>> pretty quickly after 1MB or so.
>> See my reply to Bart.
>> Also, it is not the driver's responsibility to do anything but export
>> the hardware maximums.
>> It's up to the sysadmin to choose a disk scheduling policy they like,
>> which implies that a _scheduler_, not each individual driver, should
>> place policy limitations on max_sectors.
> Yeah I suppose you're right there. In practice it doesn't
> work that way though, does it?

Not my problem <grin>

People shouldn't be tuning max_sectors at the source code level: that
just embeds the policy decisions in the source code, and leads to
constant fiddling with the driver to get things "just right". Over time,
disks get faster and latency falls naturally. Thus the definition of
"just right" must be constantly tuned in the driver source code as time

I also wouldn't want to lock out any users who wanted to use SATA at
full speed ;-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:02    [W:0.150 / U:0.168 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site