summaryrefslogtreecommitdiffstats
authorJohn Feuerstein <john@feurix.com>2009-11-25 19:51:38 (GMT)
committer John Feuerstein <john@feurix.com>2009-11-25 19:51:38 (GMT)
commit1ea2c10fda773bfcf932061287b0dffb9d38e4b3 (patch) (side-by-side diff)
treec728d2e65926d464e36590f847569c3dda4df889
parent5b157ce3e77adc4ba03699d9442cd66800e517c0 (diff)
downloadpylsyncd-master.zip
pylsyncd-master.tar.gz
pylsyncd-master.tar.xz
Add notes on performanceHEADmaster
-rw-r--r--README17
1 files changed, 14 insertions, 3 deletions
diff --git a/README b/README
index c9a7f15..40233f3 100644
--- a/README
+++ b/README
@@ -33,11 +33,22 @@ While pylsyncd is running and monitoring /tmp/src, open another shell:
$ mkdir /tmp/src/foo
$ touch /tmp/src/foo/testfile
- $ ... play around and watch the debug log ...
+ # ... play around and watch the debug log ...
The default aggregation window is 60 seconds, so your changes above are
-queued, optimized and finally synchronized. This allows heavy IO loads
-and does not interfere with your usual disk performance.
+queued, optimized and finally synchronized.
+
+
+Performance
+-----------
+You might want to lower the IO priority of pylsyncd, so the forked rsync
+processes won't interfere with your workload. This can be done using
+ionice(1) on Linux 2.6.13 or later (see man ionice(1)):
+
+ $ ionice -n7 pylsyncd ...
+
+In addition you can fine-tune some (currently hardcoded) limits in
+pylsyncd.py.
Some notes on paths