BackupPC-users

[BackupPC-users] Utilizing posix_fadvise to not cache file contents

2013-10-23 10:29:01
Subject: [BackupPC-users] Utilizing posix_fadvise to not cache file contents
From: Marcel Meckel <mailinglist+backuppc-users AT foobar0815 DOT de>
To: <backuppc-users AT lists.sourceforge DOT net>
Date: Wed, 23 Oct 2013 16:08:08 +0200
Hi,

has there been any thoughts on utilizing posix_fadvise* in BackupPC?

Let's assume for a moment you have a really big pool where the speed
of pool operation improves dramatically when the directory structure
is cached in the linux file system cache.

Now backuppc starts to backup a client and because of not using
posix_fadvise each file written to disk is being cached in the file
system cache, eventually pushing the cached directory structure out
of the cache.

In the end i'm interested in keeping my directory structure in the
file system cache instead of files backupped from clients that are
not touched again any time soon.

Any ideas on using https://github.com/Feh/nocache with backuppc?

Thanks
Marcel

* http://linux.die.net/man/2/posix_fadvise

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

<Prev in Thread] Current Thread [Next in Thread>