|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] [TOOLS] Reducing impact of domain dump on Dom0
Thanks to all the suggestions, I have a *much* cleaner (and more PC)
version of the patch to improve the impact of doing dumps of large
DomUs; this is based on using fadvise64(DONTNEED) to throw the page
cache away once it has been written to disk -- with this in place,
memory usage does go up somewhat but then immediately drops again when
the dump is done and this change, in conjunction with setting the
vm.dirty_ratio sysctl parameter seems to gives very good results.
So - attached is a patch that helps dump performance -- I'll send
save/restore separately based on the same approach.
Simon
-----------------------------------
Reduce impact of dumping large domains on Dom0 memory usage by means of
fadvise64() to tell
the OS to discard the cache pages used for the dump file.
Signed-off-by: Simon Graham <Simon.Graham@xxxxxxxxxxx>
xen-dump-cache.patch
Description: xen-dump-cache.patch
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [PATCH] [TOOLS] Reducing impact of domain dump on Dom0,
Graham, Simon <=
|
|
|
|
|