From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christoph Hellwig Subject: Re: dd to a striped device with 9 disks gets much lower throughput when oflag=direct used Date: Fri, 27 Jan 2012 03:52:26 -0500 Message-ID: <20120127085226.GA16520@infradead.org> References: Reply-To: device-mapper development Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: dm-devel-bounces@redhat.com Errors-To: dm-devel-bounces@redhat.com To: device-mapper development List-Id: dm-devel.ids On Thu, Jan 26, 2012 at 05:06:42PM -0800, Richard Sharpe wrote: > Why do I see such a big performance difference? Does writing to the > device also use the page cache if I don't specify DIRECT IO? Yes. Trying adding conv=fdatasync to both versions to get more realistic results.