[09:43:11] re UFFR: it’s that way on Wikimedia sites too; there is a task for changing it, but I think it’s doubtful whether it’ll ever happen https://phabricator.wikimedia.org/T14619 [13:58:35] Hello. I'm trying to setup MediaWiki-Docker through WSL, but it is extremely slow. Loading the main page takes 20 seconds. I've tried a few different cache settings, profiling with Xdebug, switching between sqlite/mariadb but nothing seems to stand out. Here is an example waterfall: https://i.imgur.com/7pVE8ul.png [14:27:54] I had tried to help with the above issue, but I couldn't work out why this was happening. [14:46:30] MediaWiki needs a lot of cache tuning to not be slow, something a stock docker image won't have [15:05:27] My Docker wiki loads pages in under a second. We share the same RAM and have similar CPU stats. [15:05:50] I haven't made any changes to make it faster myself (from my memory) [15:06:07] are the mediawiki files on the WSL linux filesystem or on the windows filesystem? [15:06:30] I'll let DatGuy speak to that, but I have them on WSL. [15:07:43] Im guessing they should be on the WSL linux filesystem? From XDebug the filemtime calls were taking ages. [17:28:42] taavi: yes! that fixed it! thank you [17:30:52] Thanks for finding that fix. [17:32:50] It is in DEVELOPERS.md [17:32:51] >**Windows users**: [17:32:51] >We recommend [configuring Docker to use the Windows Subsystem for Linux (WSL)](https://docs.docker.com/desktop/wsl/#best-practices). This will result in performance improvements. [17:33:02] But maybe it should be made a little more verbose/explicit? :) [17:33:30] Well configuring docker to use WSL and placing the files in it are two different things to my understanding [17:33:55] There is a 'use the WSL 2 based engine' checkbox on docker desktop that is unchecked by default [17:34:35] >In addition, WSL 2 provides improvements to file system sharing and boot time. [17:35:47] I use neither, fwiw ;) [17:36:04] But was more pointing out where there's already some related docs that sound a lot like they should be expanded on [17:37:40] aha I've spotted a little something [17:38:14] when DEVELOPERS.md was written the best-practices section may have been a section inside the wsl docs bit instead of a separate page [17:39:07] the current link is the same as https://docs.docker.com/desktop/wsl without the link jumping to a section. If you remove the # however, to https://docs.docker.com/desktop/wsl/best-practices/, it clearly states "Performance is much higher when files are bind-mounted from the Linux filesystem, rather than remoted from the Windows host. Therefore avoid docker run -v /mnt/c/users:/users, where /mnt/c is mounted from Windows", which is what I missed [17:53:24] Please feel free to add a PR to improve the docs :)