Objet : Developers list for StarPU
Archives de la liste
- From: Mirko Myllykoski <mirkom@cs.umu.se>
- To: starpu-devel@lists.gforge.inria.fr
- Subject: [Starpu-devel] Problem with performance model calibration
- Date: Mon, 18 May 2020 16:42:29 +0200
- Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=mirkom@cs.umu.se; spf=Pass smtp.mailfrom=mirkom@cs.umu.se; spf=None smtp.helo=postmaster@mail.cs.umu.se
- Ironport-phdr: 9a23:9N5exBziF/ACCQrXCy+O+j09IxM/srCxBDY+r6Qd0uoWK/ad9pjvdHbS+e9qxAeQG9mCtrQd07ed7P+ocFdDyK7JiGoFfp1IWk1NouQttCtkPvS4D1bmJuXhdS0wEZcKflZk+3amLRodQ56mNBXdrXKo8DEdBAj0OxZrKeTpAI7SiNm82/yv95HJbAhEmTqwbalvIBmqrQjducsbjIl/Iast1xXFpWdFdf5Lzm1yP1KTmBj85sa0/JF99ilbpuws+c1dX6jkZqo0VbNXAigoPGAz/83rqALMTRCT6XsGU2UZiQRHDg7Y5xznRJjxsy/6tu1g2CmGOMD9UL45VSi+46ptVRTnjzoJNyMi8GHPlMN/kL5brhympxx62YHUYYeVP+d6cq7Sed4WQGxMVdtTWSNcGIOxd5UBAeocM+ZfrIfzqVUBohSiCgejH+7v1jxFi2Xq0aEm3eksEwfL1xEgEdIUt3TUqc34OqATUeCvz6nIyijIYfRW2Df57IjJchMhofaXXbJzcMra1E4iFwbEjlWKqozlODaV2/8RvGiA9eZgSOevi3M9pwFqvDei38EhgZTGiYwJ0F7L7zl5wJorKt2iTk52ed6pHIZfuS2HK4Z7Qd4vTWFrtSsnyrMLp4O3cSgKxZklyRPTduCKf5WU7x/sWuucLjV1iXxrdr++iRu/8VWsxvP6W8Kp3lhKqS9FncPNtnALzxHT5cmHSud9/ke8wjmDzRzc6uZBIUwsmqrbLJkhwrE0lpUNq0jMAij2mEDugK+Lc0Uk5/Kk6//5bbjgu5SSNJd0hxnjPqkghsCzG/o0PwYKUmSB9umwyKfv8VP5TblSkPE6jrXVvI3fKMgFuqK1HxFZ34Mj5hmlETir0tEVkHYZI15beR+KipXlNEzQLP34CPqznlShnCp3y/3DML3tHJvNI3fGnbfvYbpy9k5RxQwuxt5F/Z1UEKsOIPfrV0/xqtPYChg5PhSxw+n9CdV90pkSVn6UAqODLaPStEKI6vg0I+aSfIMVuTD9JOY55/P2kHM0l0MRcbO30ZYZbH20BPtrL1mDbXbygtoNCWIKsRA/TOzuhl2CSzlTZ3OqUqI55zE7EoGmDYDGRo22nLOBxz23HoBTZmBbEFyMCmnne52eW/gQcCKSPtNhkjscWLi6V48uzwuutBfny7Z+M+Xb5DMYuozn1NVu4+3TlAoy9SBvD8iH3GGNQWZ0nnkHRzAoxqx/oEp9yk2C0adimfBYG8ZTtLt1VVIhKZfG1/E/B93sVwbpetaSVE3gTduhGz48CNM32d4HJUhnSPu4iRWW+iuwALhdsq2PAI039bnf3jClIsdnyHHD/KI6yUQjX41UODv11eZE6wHPCtuRwA2inKGwePFAjXeRplfG9nKHuQRjaCA1Sb/MBClNbVCQsNHkoFjPHef3WOYXdzBZwMvHEZNkL9jgjFFIXvDmYY2MaHn3hmKtQw2FlOrVMdjaPl4F1SCYM3Aq1gAe+XHfa1o7Dyal5WnFSiFrCBT0bhG0/A==
- List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
- List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>
- Organization: Umeå University / HPC2N
Hi,
I believe that I have a some type of problem with performance model calibration. I am using StarPU 1.3.3 but I have experienced similar problems with other StarPU version as well.
My code [1] is basically a mix of
* non-trivial CPU-only tasks and
* trivial CPU+GPU GEMM tasks (starneig_{left,right}_gemm_update).
The GEMM and starneig_push_bulges tasks should have quite consistent performance but the other tasks are expected to be more noisy since they contain iterative components.
I am using linear regression models (STARPU_REGRESSION_BASED) and all "expensive" codelets (including the CPU-only codelets) have have "size base" functions implemented. The GEMM codelets use the flop count as a "size base". I have also experimented with non-linear regression models (STARPU_NL_REGRESSION_BASED) and multiple-regression models (can be enabled with the STARNEIG_ENABLE_MRM CMake option). It appears that MRMs perform even worse than the linear models.
The ***main problem*** is that the performance is very unpredictable. This happens even if I first calibrate the models by setting STARPU_CALIBRATE=1 and running the code though a range of different problem sizes. The calibration data from one of my experiments can be found from [2].
My first ***question*** is: Is is normal that many rows in the calibration files have mainly zeros in them?
The machine consists of two 14-core Skylake CPUs and two V100 GPUs. If you are interested in replicating the numbers, then you can run:
$ ./starneig-test --experiment schur --init hessrand --n N --hooks
where N is the problem size. The models [2] were calibrated with N-values ranging from 1000 to 50000. A machine with 64GB memory can handle N ~ 30000 - 35000.
Best regards,
Mirko Myllykoski
[1]: https://github.com/NLAFET/StarNEig/tree/v0.1.2
[2]: https://drive.google.com/open?id=1Aj1-tAJ59dFDHcP-wozLBy5INGKQcbfi
--
Mirko Myllykoski, Ph.D.
Senior research engineer, Department of Computing Science
Application expert, HPC2N
Umeå University
By sending an email to Umeå University, the University processes your personal data. For more information, please read: https://www.umu.se/en/gdpr
- [Starpu-devel] Problem with performance model calibration, Mirko Myllykoski, 18/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Samuel Thibault, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Samuel Thibault, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Mirko Myllykoski, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Mirko Myllykoski, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Samuel Thibault, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Mirko Myllykoski, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Samuel Thibault, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Mirko Myllykoski, 20/05/2020
- Re: [Starpu-devel] Problem with performance model calibration, Mirko Myllykoski, 20/05/2020
Archives gérées par MHonArc 2.6.19+.