|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] [PATCH][TOOLS] Reducing impact ofdomainsave/restore/dump
On 21/2/07 15:06, "Graham, Simon" <Simon.Graham@xxxxxxxxxxx> wrote:
> 2. sync-then-advise is only done at the end of writing a file to ensure
> that all
> of the cached pages are discarded. Whilst writing the file, I only
> fadvise
> which triggers a write back and discards any clean pages up to the
> specified offset.
> This is indeed a performance thing -- fsyncing on every write makes
> it very slow.
Do you need the fsync at all? It's possible that the kernel will
launder-then-discard the affected pages automatically, just from the
fadvise() alone.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|