Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 11 Oct 2002 04:08:17 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 11 Oct 2002 04:08:17 -0400 Received: from denise.shiny.it ([194.20.232.1]:23213 "EHLO denise.shiny.it") by vger.kernel.org with ESMTP id ; Fri, 11 Oct 2002 04:08:16 -0400 Message-ID: X-Mailer: XFMail 1.4.7 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <20021010224417.GA2673@matchmail.com> Date: Fri, 11 Oct 2002 10:13:59 +0200 (CEST) From: Giuliano Pochini To: Mike Fedyk Subject: Re: [PATCH] O_STREAMING - flag for optimal streaming I/O Cc: linux-kernel@vger.kernel.org, Helge Hafting Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 857 Lines: 23 On 10-Oct-2002 Mike Fedyk wrote: >> [...] I would >> like a way to read the db so that the cached part of >> the db (the 20% which gets 80% of accesses) is not >> expunged. > > Unless you are pausing the database (causing the files on disk to be in a > useful state) and then reading the file you will have trouble. Anything > else will have to syncronize with the database itself, and thus can't use > O_STREAMING. All the cached db pages will be dropped regardless its state. Any further access to the db will read the data from disk again. I'm talking only about performance, not about db coherency. Bye. - 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/