script to enable compcache based on a percentage. Splits the load over the number of cores in the device