Here are our findings after doing months of trials n tests when we switched from cloudlinux to enhance,
First of all, always always prefer dedicated server or VPS with dedicated resources, do not prefer vps with shared cpu unless you're just hosting 1 or max 3 websites with average traffic, also prefer good provider, follow this respectively as per your need and situation.. and always choose NVMe (recomended) or SSD disk..
Use ram:swap in 2:1 ratio, like if your server has 16 GB RAM then use at least 8 GB of swap (again NVMe disk recommended)
then set following base optimization config at bottom in /etc/sysctl.conf
(now, be careful here, you should monitor and if this works for you then great otherwise tweak it till you find stable spot)
vm.swappiness=10
vm.vfs_cache_pressure=100
vm.dirty_background_ratio = 5
vm.dirty_ratio = 20
and lastly,
We typically use this as basic plan to start,
1 vCPU
2 GB RAM
IO Unlimited
IOPS Unlimited
35 or 40 NPROC
Hope this helps... play around you'll find what works best for you...