Application-aware Performance Optimization for Software Managed Manycore Architectures