LATENCY

Odpovědět
snake
Příspěvky: 20
Registrován: 14. 12. 2014, 9:52

31. 7. 2015, 12:13

TENTO NAVOD FUNGUJE ALESPON NA DVOUJADRU
--------------------------------------------------------------------------------------
http://www.linuxcnc.org/index.php/engli ... cs-success" onclick="window.open(this.href);return false;
--------------------------------------------------------------------------------------
irqstuff.zip
(717 bajtů) Staženo 252 x
LATENCY_1419ns.PNG.png
--------------------------------------------------------------------------------------
First of all my bios settings:
CPU
- disable Vanderpool Technology (cpu vitualization stuff for vm's)
- disable C1E support
- enable TM support (temperature monitoring - will throttle cpu if it overheats e.g. because of fan malfunction - will mess things up but better than a crash and toasted chip)

GENERAL
- disable anything that suggests that it could save power or automatically improve performance (over-clocking)
- enable APIC (advanced programmable interrupt controller), on my machine linux refused to see two separate cores if it was not enabled and furthermore we need it to redirect the IRQs anyway
- disable anything suggested by the makers of linuxcnc (although on my machine nothing else made a difference)

Linux related changes:
- edit /etc/default/grub and add the kernel options "isolcpus=1 acpi_irq_nobalance noirqbalance" (call update-grub afterwards)
- make sure that the software "irqbalance" is NOT installed, remove if it is there (Ubuntu software center -> installed software -> search for irqbalance -> remove)
- add the upstart script "irq-affinity.conf" to /etc/init (see attachments, it will move the irq-handling to the first core)
- add the sh scripts set-irq-affinity and watchirqs to /usr/local/sbin (first allows to set the affinity mask manually, second opens a console window that shows live how the irqs are scheduled to the different cores -> all numeric irqs but 0 should be handled by cpu0)
--------------------------------------------------------------------------------------
Odpovědět

Zpět na „LinuxCNC - drive pod nazvem EMC2“