I was messing with my settigns and I managed to get the Intel vt-x and IOMMU turned on in my virtual machine. And I increased the cpu cores form 2 to 3 and now it's a lot smoother and the cpu usage has gone way down. thanks for the help you pointed me in the right direction.