Difference between revisions of "HFT: Setup and Optimization"
Jump to navigation
Jump to search
| Line 15: | Line 15: | ||
=== System Tuning === | === System Tuning === | ||
| − | + | <syntaxhighlight> | |
| − | + | modprobe acpi-cpufreq | |
| − | + | cpupower set --perf-bias 0 | |
| − | + | cpupower frequency-set --governor performance | |
| − | + | tuned-adm profile latency-performance | |
| + | tuna -S0 -i; tuna -S1 -i | ||
# Use taskset or numactl to bind application to specific CPU core | # Use taskset or numactl to bind application to specific CPU core | ||
| + | </syntaxhighlight> | ||
Latest revision as of 19:45, 14 July 2014
Supermicro HFT Low Latency / Jitter OS Optimization
This set up was designed for the SYS-6027AX-72RF/TRF-HFT3, however it will help all othe HFT systems.
System Setup
- Fresh Minimal Install fof SL / RHEL 6.4
- OS Boot parameters: intel_idle.max_cstate0= processor.max_cstate=0 idle=poll pcie_aspm=performance mce=ignore_ce, isolcpus=2,3,4
- Configure a noatime or OS parition
- Disable all unnecessary services using chkconfig command
- Install CPUpower, tuned, tuna (yum install cpupowerutils tuned tuna )
- sysctl kernel.sched_wakeup_granularity_ns=3000000
System Tuning
modprobe acpi-cpufreq
cpupower set --perf-bias 0
cpupower frequency-set --governor performance
tuned-adm profile latency-performance
tuna -S0 -i; tuna -S1 -i
# Use taskset or numactl to bind application to specific CPU core