It’s a given that anything that runs in RAM will be faster than an item that
has to access the hard drive and virtual memory.
Edit the Registry key HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\
Control\Session Manager\Memory Management\DisablePagingExecutive to 1 to
disable paging and have the kernel run in RAM (set the value to 0 to undo
this hack). Exit the Registry and reboot.