I have been working with rstudio-server on wsl2 for a while and wanted to switch to rstudio-server on docker (also within wsl2) to make it more portable to other machines. However, I realized that with the same configurations and package versions, r on docker seems to be ~ 15% slower performing CPU heavy operations compared to my native wsl2 rstudio-server environment. I have tried some trouble-shooting (e.g. run with/without mounted drive) but nothing seemed to help so far so I wonder whether this is an expected slow-down due to how docker works or whether it is something that can be solved somehow. Does anyone have any pointers?
Thanks in advance and for the great work you all are doing here!
Hi all,
I have been working with rstudio-server on wsl2 for a while and wanted to switch to rstudio-server on docker (also within wsl2) to make it more portable to other machines. However, I realized that with the same configurations and package versions, r on docker seems to be ~ 15% slower performing CPU heavy operations compared to my native wsl2 rstudio-server environment. I have tried some trouble-shooting (e.g. run with/without mounted drive) but nothing seemed to help so far so I wonder whether this is an expected slow-down due to how docker works or whether it is something that can be solved somehow. Does anyone have any pointers?
Thanks in advance and for the great work you all are doing here!