It seems that a user may get more percentage of memory purchased for real use. I've got a xen VPS which has access to all 8 CPU cores. Guess this is a good thing to be able to burst CPU resources

[[email protected] ~]$ cat /proc/cpuinfo | grep processor | awk '{a++} END {print a}'

But this requires lots of kthread running to be able to access all CPU resources, which in turn consumes quite some memory, a valuable, limited resource on a small VPS instance.

[[email protected] ~]$ cat /proc/meminfo | grep Mem
MemTotal: 524288 kB
MemFree: 276128 kB

The output above is grathered when almost no other services are running except sshd.

While XEN VPS surely consumes more memory than OVZ VPS, I would suggest the Xen VPS can be built in such a way less memory is required to just do the housekeeping.

Of course, that would imply careful provisioning, maybe less "overselling" for the sake of lack of a term. The bottom line is how we can reduce the memory usage, while ensure individual VPS instance can still have fair share of CPU if needed.

Is there anyway in the VPS kernel config which can disable access to certain CPU core, thus reducing the number of kthreads and etc?