# Finally managed to peg my CPU

…and this is what it took. Since Adobe removed multi-processing from After Effects I’ve been using the shell to run multiple instances of the aerender application. This can lead to massive performance gains – the screenshot below shows a 4,000% improvement in speed.

For projects such as this one, which wasn’t heavy on memory, I wanted to make the most of the 40 physical cores on this machine (it’s a dual Xeon E5-2690 with 20 cores on each CPU). As a single instance aerender was doing one frame every 3 seconds, and hardly using any resources. Adding another 39 instances hardly changed the per-frame render time for each instance, meaning that it was roughly 40 times as fast.

For powershell users the Start-Process command comes in handy here:

for ($i = 0 ;$i -lt 40; \$i++ ){
}