lkml.org 
[lkml]   [2009]   [Apr]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Implementing NVMHCI...
Linus Torvalds wrote:
> The hardware sector size is very different. If you have a 32kB hardware
> sector size, that implies that _all_ IO has to be done with that
> granularity. Now you can no longer treat the eight pages as individual
> pages - you _have_ to write them out and read them in as one entity. If
> you dirty one page, you effectively dirty them all. You can not drop and
> re-allocate pages one at a time any more.
>

You can still drop clean pages. Sure, that costs you performance as
you'll have to do re-read them in order to write a dirty page, but in
the common case, the clean pages around would still be available and
you'd avoid it.

Applications that randomly write to large files can be tuned to use the
disk sector size. As for the rest, they're either read-only (executable
mappings) or sequential.

--
error compiling committee.c: too many arguments to function



\
 
 \ /
  Last update: 2009-04-13 13:23    [W:0.046 / U:0.668 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site