{"action":"created","issue":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/873","repository_url":"https://api.github.com/repos/Microsoft/BashOnWindows","labels_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/873/labels{/name}","comments_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/873/comments","events_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/873/events","html_url":"https://github.com/Microsoft/BashOnWindows/issues/873","id":170770603,"number":873,"title":"Major performance (I/O?) issue in /mnt/*","user":{"login":"Mika56","id":600347,"avatar_url":"https://avatars.githubusercontent.com/u/600347?v=3","gravatar_id":"","url":"https://api.github.com/users/Mika56","html_url":"https://github.com/Mika56","followers_url":"https://api.github.com/users/Mika56/followers","following_url":"https://api.github.com/users/Mika56/following{/other_user}","gists_url":"https://api.github.com/users/Mika56/gists{/gist_id}","starred_url":"https://api.github.com/users/Mika56/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mika56/subscriptions","organizations_url":"https://api.github.com/users/Mika56/orgs","repos_url":"https://api.github.com/users/Mika56/repos","events_url":"https://api.github.com/users/Mika56/events{/privacy}","received_events_url":"https://api.github.com/users/Mika56/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":13,"created_at":"2016-08-11T23:31:08Z","updated_at":"2016-08-16T12:57:43Z","closed_at":null,"body":"# A brief description\r\nAs a Symfony developer, it's always been hard to get a stable/fast development environment. My current setup is a Ubuntu running under VirtualBox (using vagrant). While page generation is fast, my IDE accesses my PHP files through SMB, which is really (sometimes horribly) slow.\r\nI'm now trying to use WSL to improve all of this. However, I'm having a major performance issue when using `/mnt/*` folders.\r\nIf I set up a Symfony project under `/mnt/c`, it is really slow. If I set it up under `/home/mikael`, it is very fast.\r\n\r\n# Expected results\r\nDrives mounted under /mnt should be as fast a any other folder.\r\n\r\n# Actual results\r\nWith a new Symfony 3.1.3 project, under `/home/mikael` takes between 100ms and 130ms to generate the home page.\r\nThe same project under `/mnt/c/` takes between 1200ms and  1500ms.\r\n\r\n# Your Windows build number\r\n10.0.14393.51\r\n\r\n# Steps / commands required to reproduce the error\r\n```\r\n# Install PHP5\r\n$ sudo apt-get install -y php5 php5-json\r\n\r\n# Download Symfony installer\r\n$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony\r\n$ sudo chmod a+x /usr/local/bin/symfony\r\n\r\n# Download Symfony\r\ncd\r\nsymfony new symfony_test\r\n\r\n# Start Symfony\r\ncd symfony_test\r\nphp bin/console server:run\r\n```\r\nOpen your browser and go to http://127.0.0.1:8000/.\r\nOnce the page is loaded, refresh it (on first request, Symfony had to generate its cache).\r\nGeneration time is displayed on the bottom left\r\n![Image](http://glados.aperture.fr.nf/up/load/2016/08/2016-08-12_01-18-38.png)\r\n\r\nYou can then do the same under `/mnt/c/`\r\n\r\n```\r\ncd /mnt/c/\r\nsymfony new symfony_test\r\ncd symfony_test\r\nphp bin/console server:run\r\n```\r\n\r\n# Additional information\r\nI've added my dev folders as excluded folders in Windows Defender, as well as %LOCALAPPDATA%\\lxss.\r\nI've tried having my project in `~` and pointing my IDE to %LOCALAPPDATA%\\lxss\\home\\mikael\\ but as I've later read, there is no supported way of editing WSL files.\r\nWSL is installed in its default location under C (no strange junction or symlink), which is a healthy SSD.\r\nMy computer is attached to a domain, if this might have any influence."},"comment":{"url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/comments/240093361","html_url":"https://github.com/Microsoft/BashOnWindows/issues/873#issuecomment-240093361","issue_url":"https://api.github.com/repos/Microsoft/BashOnWindows/issues/873","id":240093361,"user":{"login":"Adraesh","id":3873988,"avatar_url":"https://avatars.githubusercontent.com/u/3873988?v=3","gravatar_id":"","url":"https://api.github.com/users/Adraesh","html_url":"https://github.com/Adraesh","followers_url":"https://api.github.com/users/Adraesh/followers","following_url":"https://api.github.com/users/Adraesh/following{/other_user}","gists_url":"https://api.github.com/users/Adraesh/gists{/gist_id}","starred_url":"https://api.github.com/users/Adraesh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adraesh/subscriptions","organizations_url":"https://api.github.com/users/Adraesh/orgs","repos_url":"https://api.github.com/users/Adraesh/repos","events_url":"https://api.github.com/users/Adraesh/events{/privacy}","received_events_url":"https://api.github.com/users/Adraesh/received_events","type":"User","site_admin":false},"created_at":"2016-08-16T12:57:43Z","updated_at":"2016-08-16T12:57:43Z","body":"Exactly the same \"issue\" detailed above, as I am as well a Symfony dev.\r\n\r\nMy SF projects are all located into /mnt/d/.... my apache2 server (running on ubuntu bash) root folder is linked using a symlink and the perfs are aweful ...\r\n\r\nThis also lead to some issue with Symfony cache system btw."}}
{"actor":{"display_login":"Adraesh"}}