On 2/21/19 6:35 AM, Josh Fisher wrote: > I think I get it now. You are "advising" the OS to read ahead and cache > several files before actually opening the first file. This allows the OS > to work on caching some of the next files while bacula-fd is > concurrently processing the current file. I think that is a great idea > and it seems it should be safe enough. Certainly easier than > multi-threading the fd, although I still think that multi-threading the > fd is more beneficial, since it allows multiple cores to work on the > compression and encryption phases in addition to the read-ahead.
Yes, this is the smart way to do it, rather than reinventing the wheel. -- Phil Stracchino Babylon Communications ph...@caerllewys.net p...@co.ordinate.org Landline: +1.603.293.8485 Mobile: +1.603.998.6958 _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users