TY - JOUR AU - WANG, Haojie AU - MA, Zixuan AU - ZHENG, Liyan AU - WANG, Yuanwei AU - WANG, Fei AU - ZHAI, Jidong PY - 2022 TI - Efficient memory allocator for the New Generation Sunway supercomputer JO - Journal of Tsinghua University (Science and Technology) SN - 1000-0054 SP - 943 EP - 951 VL - 62 IS - 5 AB - Supercomputers provide enormous computing power for large applications. Traditional supercomputers have mainly targeted scientific computing problems. However, other applications have new requirements for the both supercomputer software and hardware designs. The New Generation Sunway supercomputer has an inefficient memory allocator when running in the dynamic mode. This study develops an efficient memory allocator, SWAlloc, that reduces the memory allocation time of the brain scale pretrained model training framework, BaGuaLu, by up to 75 839 times. Evaluations using PARSEC also show that SWAlloc can speed up the memory allocation by up to 51 times (36% on average). SWAlloc has been deployed on the New Generation Sunway supercomputer for use by various large applications, including SWPytorch and SWTensorFlow. UR - https://doi.org/10.16511/j.cnki.qhdxxb.2022.22.007 DO - 10.16511/j.cnki.qhdxxb.2022.22.007