I would like to give VirtualBox priority over anything else running on my install of Elementary OS. Within VirtualBox, I have dedicated 4GB of ram and 4 CPU cores to my VM, however the VM is still "laggy" while in use. I would like to know if there is a way to either turn off as many services as possible when VirtualBox starts, or if there is a way to give VirtualBox an extremely high priority over anything else running on my computer. Thank you all for any help in advance.
You could try to use System Monitor(install from AppCenter) for these. First open System Monitor from Applications, and go click on Processes, and find your VM process, depends on which VM one you using