what optimizations can I do to run C# program faster?
<p>I'm writing trading software and I need every single microsecond in speed.
What can I do? I was thinking to use <code>ngen</code> but wikipedia tells that JIT might be even better. What can I tune? May I force it to use <code>Xeon E5</code> instructions somehow? Will changing priority in Windows to highest help and if so how to run program always with highest priority? May I add this program to "trusted" so .NET will not check security etc.</p>

<p>I.e. I want complete list of configurations in hardware/software/.net and actions (like running ngen) which can affect and help run program faster.</p>
