Abstract
Performance tuning faces challenges of the heterogeneousness, complexity and flexibility of the modern processors. Due to the limited knowledge of the underlining architecture, users are usually confused about which optimizing should be enabled to speed up their applications on the target processor. In this paper, a configurable tuning framework, CTFS, is proposed to probe the compiler options automatically to optimize programs on SHENWEI system. Tightly coupling with the system software of the SHENWEI family processors, CTFS provides flexible iterative target supports and configurable iterative progress, which dramatically improvement user-friendliness of the computer systems built on SHENWEI family processors. The evaluation shows that with the help of CTFS, the performance of the SWDNN cases can be improved about 9% on average compared with the -O3 optimizing level. A case study of a real-world application, Graph500, which is speeded up by 27% with the help of CTFS.