[Csync2] linux kernel cpu optimization
Art -kwaak- van Breemen
ard+csync2 at telegraafnet.nl
Thu Sep 11 16:32:24 CEST 2008
On Thu, Sep 11, 2008 at 03:03:16PM +0200, Vincent Régnard wrote:
> How can I improve that situation ? Can I tweek kernel params to change
> that or is it csync2 internals specific ? NB: I do not have similar
> behaviour with other heavy processes (such as zipping/unzipping huge
> files, backup process etc..).
Possibilities:
1) you are running an old csync2 without sqlite query optimized
patches. That's one of the biggest CPU and time hogs with large
datasets.
2) Checking 1M+ files really is not funny. That's why your cpu's
are busy waiting on disk results.
Big improvements with csyncs2 can be had with -A -B option.
The fail in your setup is that you want to check 1M+ files. You
don't want to do that. Even with rsync it's not funny.
If you have a months patience, I will have my perl inotifier
thing ready, you will be able to only check files that have
changed with csync in "real time".
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in email?
More information about the Csync2
mailing list