Module: xenomai-forge
Branch: next
Commit: 882d09d85bc1c9ce41f7077878356fcd933ee36b
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=882d09d85bc1c9ce41f7077878356fcd933ee36b

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Aug  8 14:42:01 2014 +0200

doc/autotune: mention the potentially long auto-tuning delay

---

 doc/asciidoc/man1/autotune.adoc |   20 +++++++++++++++++++-
 1 file changed, 19 insertions(+), 1 deletion(-)

diff --git a/doc/asciidoc/man1/autotune.adoc b/doc/asciidoc/man1/autotune.adoc
index 4c93ae6..42d76bf 100644
--- a/doc/asciidoc/man1/autotune.adoc
+++ b/doc/asciidoc/man1/autotune.adoc
@@ -104,9 +104,27 @@ done for each of them in sequence.
 
 VERSIONS
 --------
-
 *autotune* appeared in Xenomai 3.0 for the _Cobalt_ real-time core.
 
+NOTES
+-----
+The auto-tuning process may take some time for completing the
+estimation. Although this delay may vary across hardware platforms,
+running for 30 seconds is common.
+
+Once the gravity values are known for a particular hardware, one may
+write them to +/proc/xenomai/clock/coreclck+ from some system init
+script to set up the Xenomai core clock accordingly, e.g:
+    
+------------------------------------------------------
+    /* change the user gravity to 1728 ns (default) */
+# echo 1728 > /proc/xenomai/clock/coreclck
+    /* change the IRQ gravity to 129 ns */
+# echo 129i > /proc/xenomai/clock/coreclck
+    /* change the user and kernel gravities to 1728 and 907 ns resp. */
+# echo "1728u 907k" > /proc/xenomai/clock/coreclck
+------------------------------------------------------
+
 AUTHOR
 -------
 *autotune* was written by Philippe Gerum <r...@xenomai.org>.


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to