[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49E31F9B.3030602@redhat.com>
Date: Mon, 13 Apr 2009 14:18:51 +0300
From: Avi Kivity <avi@...hat.com>
To: Linus Torvalds <torvalds@...ux-foundation.org>
CC: Robert Hancock <hancockrwd@...il.com>,
Szabolcs Szakacsits <szaka@...s-3g.com>,
Alan Cox <alan@...rguk.ukuu.org.uk>,
Grant Grundler <grundler@...gle.com>,
Linux IDE mailing list <linux-ide@...r.kernel.org>,
LKML <linux-kernel@...r.kernel.org>,
Jens Axboe <jens.axboe@...cle.com>,
Arjan van de Ven <arjan@...radead.org>
Subject: Re: 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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists