Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Beide Seiten der vorigen RevisionVorhergehende Überarbeitung
Nächste Überarbeitung
Vorhergehende Überarbeitung
Letzte ÜberarbeitungBeide Seiten der Revision
software:linux:realtime:benchmark:start [2019-02-11 16:09] mgehrig2software:linux:realtime:benchmark:start [2023-04-11 11:16] Urs Graf
Zeile 9: Zeile 9:
 Standard tool to measure the maximum jitter of a system. Standard tool to measure the maximum jitter of a system.
  
-**[[software:linux:realtime:benchmark:cyclictest|Cyclictest]]**+**[[..:cyclictest|Cyclictest]]**
  
  
Zeile 23: Zeile 23:
   * BIOS settings   * BIOS settings
   * Some drivers, like WiFi driver, may negatively influence latency   * Some drivers, like WiFi driver, may negatively influence latency
 +
 +==== Don't ====
 +  * Don't start the application 'Grub customizer' while a real-time application is running. This can introduce latencies of more than 4msec.
 +
 +
 +==== Does ====
 +  * You should remove as many of the unknowns as possible. This means that only the necessary drivers should be loaded.
 +  * If possible, use only a text based system. See '[[software:linux:linux_os:text_only:start|Boot Ubuntu in text mode]]'.
 +  * Run only software that is absolutely necessary on the real-time master.
 +  * Deactivate automatic updates.
 +  * A stable system can only be guaranteed if it has been sufficiently tested. Each system is different and must be tested.
 +
  
 ===== Methodical procedure ===== ===== Methodical procedure =====
Zeile 39: Zeile 51:
  
 ==== 1.) Test hardware, BIOS settings and kernel version ==== ==== 1.) Test hardware, BIOS settings and kernel version ====
-  - Build a [[software:linux:realtime:preempt_rt:build_kernel|RT-kernel]] and install it. The "//make_oldconfig//" method should work fine.+  - Build a [[software:linux:realtime:preempt_rt:build_kernel|RT-kernel]] and install it.
   - Install the [[software:linux:realtime:benchmark:cyclictest|cyclictest]]   - Install the [[software:linux:realtime:benchmark:cyclictest|cyclictest]]
   - Reboot with the new kernel in [[software:linux:linux_os:run_lvl_1|RunLevel 1]]   - Reboot with the new kernel in [[software:linux:linux_os:run_lvl_1|RunLevel 1]]
Zeile 45: Zeile 57:
  
 **Tipp**: You may want to use [[https://wiki.archlinux.org/index.php/GNU_Screen |screen]]. **Tipp**: You may want to use [[https://wiki.archlinux.org/index.php/GNU_Screen |screen]].
-This application provides multiple virtual terminal sessions when you want to run multiple programs in parallel..+This application provides multiple virtual terminal sessions if you want to run multiple programs in parallel..
  
 === Tuning === === Tuning ===
Zeile 52: Zeile 64:
  
   * Tune some [[software:linux:realtime:tune_bios_settings|BIOS settings]]   * Tune some [[software:linux:realtime:tune_bios_settings|BIOS settings]]
-  * Tune some kernel settings TODO 
   * Use a different kernel version. (4.4.169-rt177 seems to be better than 4.19.15-rt12)   * Use a different kernel version. (4.4.169-rt177 seems to be better than 4.19.15-rt12)
 +  * Tune some kernel settings TODO
   * If the jitter is still too high, you may have to choose a different CPU   * If the jitter is still too high, you may have to choose a different CPU
  
Zeile 69: Zeile 81:
 === Other possible causes === === Other possible causes ===
   * WLAN driver   * WLAN driver
-  * Ethernet Triber+  * Ethernet driver
   * Bluetooth driver   * Bluetooth driver
   * Various peripheral devices   * Various peripheral devices
Zeile 90: Zeile 102:
  
 If the processor does overheat: If the processor does overheat:
-  * Disable hyperthreading in BIOS+  * Disable hyper.threading in BIOS
   * Deactivate Turboboost in BIOS   * Deactivate Turboboost in BIOS
   * Ensure better cooling   * Ensure better cooling