From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: Re: Reducing impact of save/restore/dump on Dom0 Date: Tue, 06 Feb 2007 15:20:07 -0800 Message-ID: <45C90D27.6040903@goop.org> References: <342BAC0A5467384983B586A6B0B3767104A69BB9@EXNA.corp.stratus.com> <8A87A9A84C201449A0C56B728ACF491E04F46D@liverpoolst.ad.cl.cam.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8A87A9A84C201449A0C56B728ACF491E04F46D@liverpoolst.ad.cl.cam.ac.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Ian Pratt Cc: "Graham, Simon" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Ian Pratt wrote: > As for making the IO bypass the buffer cache, I'm not sure what the best > way to do this is. There are some occasions where we want the restore > image to be in the buffer cache (e.g. as used by the fault injection > testing for fast domain restart) but I agree that its not helpful in the > normal case. My first inclination would be O_DIRECT, but there may be a > better way. O_DIRECT is strongly deprecated. fadvise(..., FADV_DONTNEED, ...) is the preferred interface. J