Details

    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_21_STABLE

      Description

      MEta issue for planning of performance improvements

        Gliffy Diagrams

          Issue Links

          1.
          find out if more indexes are necessary in enrol tables Sub-task Closed Petr Skoda
           
          2.
          [Patch] Add in-memory cache of admin_category child objects Sub-task Closed Sam Hemelryk
           
          3.
          add performance profiling tools Sub-task Closed Eloy Lafuente (stronk7)
           
          4.
          Add index to user_info_data table Sub-task Closed Andrew Davis
           
          5.
          Calendar Pollutes Sessions, Causing Saved Sessions To Waste 99% Of Disk Space Sub-task Closed Sam Hemelryk
           
          6.
          Complete guest user info is repeatedly fetched for each guest access Sub-task Closed Jérôme Mouneyrac
           
          7.
          cron_setup_user() uses ugly hack to create global PAGE Sub-task Closed Unassigned
           
          8.
          new flag indicating empty admin tree Sub-task Closed Sam Hemelryk
           
          9.
          get rid of old YUI2 includes on each page Sub-task Closed Unassigned
           
          10.
          Problem with browser cache and resource download - solve with Etags? Sub-task Closed Petr Skoda
           
          11.
          reimplement text caching Sub-task Closed Petr Skoda
           
          12.
          is_enrolled() result caching Sub-task Closed Unassigned
           
          13.
          implement detection of repeated get_record(), get_records() Sub-task Closed Unassigned
           
          14.
          Use static variables in functions to improve performance Sub-task Closed Dongsheng Cai
           
          15.
          count/sizeof calls are slow for big arrays. Reduce them whenever possible. Sub-task Closed Aparup Banerjee
           
          16.
          CLONE - APC: Server->Performance - create plugin to utilize APC shmem Sub-task Closed Unassigned
           
          17.
          X-Sendfile and ETag support Sub-task Closed Petr Skoda
           
          18.
          refactor includes to lower memory requirements Sub-task Closed Unassigned
           
          19.
          prevent mediafilter regex executions when no closing a tag found Sub-task Closed Petr Skoda
           
          20.
          Backup / Restore / Import performance optimisations Sub-task Closed Rajesh Taneja
           
          21.
          Module security admin config performance improvement Sub-task Closed Tim Hunt
           
          22.
          Add repository instance caching Sub-task Closed Unassigned
           

            Activity

            Hide
            timhunt Tim Hunt added a comment -

            See http://docs.moodle.org/en/Development:Profiling_PHP for how to set up PHP profiling. It is surprisingly easy.

            Show
            timhunt Tim Hunt added a comment - See http://docs.moodle.org/en/Development:Profiling_PHP for how to set up PHP profiling. It is surprisingly easy.
            Hide
            jbkc85 Jason Cameron added a comment -

            I apologize if many have answered these questions before, but is there any sub-task for implementing Memcache or possible inclusion of support for Varnish in the new Moodle 2.0 releases? These are almost essential for dynamic sites to take some load off of the system, regardless of how well Moodle runs by itself.

            Show
            jbkc85 Jason Cameron added a comment - I apologize if many have answered these questions before, but is there any sub-task for implementing Memcache or possible inclusion of support for Varnish in the new Moodle 2.0 releases? These are almost essential for dynamic sites to take some load off of the system, regardless of how well Moodle runs by itself.
            Hide
            skodak Petr Skoda added a comment -

            The memcache was just a quick hack solution, the correct way is to cache specific stuff only. We are still trying to fix bugs in 2.0.x, the performance has lower priority, however there should be some significant perf improvements in 2.0.2

            Show
            skodak Petr Skoda added a comment - The memcache was just a quick hack solution, the correct way is to cache specific stuff only. We are still trying to fix bugs in 2.0.x, the performance has lower priority, however there should be some significant perf improvements in 2.0.2
            Hide
            jbkc85 Jason Cameron added a comment -

            Thanks for the quick response. Given that 2.0.2 was supposed to be out the 10th of February (according to tracker), do you happen to know of the timeline that is now being looked at for the 2.0.2 release and then the following releases that Memcache, Varnish, or a RO Database Option will be looked into? Even if its just speculation as I understand nothing is set in stone

            Show
            jbkc85 Jason Cameron added a comment - Thanks for the quick response. Given that 2.0.2 was supposed to be out the 10th of February (according to tracker), do you happen to know of the timeline that is now being looked at for the 2.0.2 release and then the following releases that Memcache, Varnish , or a RO Database Option will be looked into? Even if its just speculation as I understand nothing is set in stone
            Hide
            tsala Helen Foster added a comment -

            Here are a few discussion links with data on Moodle 2.0 performance:

            http://moodle.org/mod/forum/discuss.php?d=162045 Moodle performance testing: 1.9 vs. 2.0 (posts from Ruslan Kabalin LUNS Ltd)
            http://moodle.org/mod/forum/discuss.php?d=167413 Performance problems Moodle 1.9 vs. 2.0
            http://moodle.org/mod/forum/discuss.php?d=171356 Improve performance in moodle 2.0.2
            http://moodle.org/mod/forum/discuss.php?d=169619 Performance issue with 2.0

            Show
            tsala Helen Foster added a comment - Here are a few discussion links with data on Moodle 2.0 performance: http://moodle.org/mod/forum/discuss.php?d=162045 Moodle performance testing: 1.9 vs. 2.0 (posts from Ruslan Kabalin LUNS Ltd) http://moodle.org/mod/forum/discuss.php?d=167413 Performance problems Moodle 1.9 vs. 2.0 http://moodle.org/mod/forum/discuss.php?d=171356 Improve performance in moodle 2.0.2 http://moodle.org/mod/forum/discuss.php?d=169619 Performance issue with 2.0
            Show
            skodak Petr Skoda added a comment - Proposal: http://docs.moodle.org/en/Development:Performace_2.x
            Hide
            agroshek Amy Groshek added a comment - - edited

            This might not be directly related, but I did see a comment on the linked docs page about "ways how to simulate real life workloads." I have a real-life workload which is made extremely more difficult with the m2 file browser: I have to add 100 scorm activities to a moodle site. I upload them to my repo, ftp them, scp, whatever. Now I have to launch the file browser 100 times to browse to each individual zip dir... If I know the URL to the file in the repo, why can't I just paste that into the file browser? Why do I have to click a GUI, wasting precious time, to accomplish the same task which, in 1.9, I could accomplish by pasting in a URL, not even having to launch a file browser? I realize that this is a very big and important change, allows repositories, etc, wonderful, but it's a step backward for anyone with a Web dev background. A fix would make power users very happy.

            http://moodle.org/mod/forum/discuss.php?d=175041#p768052

            Also, there isn't any way to just open the file browser and browse and copy out the URL directly to a file. If I want to open the file browser, I have to create a resource or an activity which will provide the button to access the file picker.

            Getting the URL to a file is extremely useful if the file is multimedia that I want to embed in a "Web page" with other html content, for example. In some cases the alt-click is being hijacked for other options like "download, remove, etc." Where can I just get the URL to the resource? At present I have to add the file as an embed, browse the source, and copy the URL from the object tag in the source. In 1.9 I just browsed the course files, alt-click, and copy link location.

            These are things that content developers do a lot.

            Show
            agroshek Amy Groshek added a comment - - edited This might not be directly related, but I did see a comment on the linked docs page about "ways how to simulate real life workloads." I have a real-life workload which is made extremely more difficult with the m2 file browser: I have to add 100 scorm activities to a moodle site. I upload them to my repo, ftp them, scp, whatever. Now I have to launch the file browser 100 times to browse to each individual zip dir... If I know the URL to the file in the repo, why can't I just paste that into the file browser? Why do I have to click a GUI , wasting precious time, to accomplish the same task which, in 1.9, I could accomplish by pasting in a URL, not even having to launch a file browser? I realize that this is a very big and important change, allows repositories, etc, wonderful, but it's a step backward for anyone with a Web dev background. A fix would make power users very happy. http://moodle.org/mod/forum/discuss.php?d=175041#p768052 Also, there isn't any way to just open the file browser and browse and copy out the URL directly to a file. If I want to open the file browser, I have to create a resource or an activity which will provide the button to access the file picker. Getting the URL to a file is extremely useful if the file is multimedia that I want to embed in a "Web page" with other html content, for example. In some cases the alt-click is being hijacked for other options like "download, remove, etc." Where can I just get the URL to the resource? At present I have to add the file as an embed, browse the source, and copy the URL from the object tag in the source. In 1.9 I just browsed the course files, alt-click, and copy link location. These are things that content developers do a lot.
            Hide
            stronk7 Eloy Lafuente (stronk7) added a comment -

            Hi Amy,

            I see your point completely... perhaps if would be a good idea to comment about that in MDL-27197 where other usability issues are being handled?

            Ciao

            Show
            stronk7 Eloy Lafuente (stronk7) added a comment - Hi Amy, I see your point completely... perhaps if would be a good idea to comment about that in MDL-27197 where other usability issues are being handled? Ciao
            Hide
            skodak Petr Skoda added a comment -

            thanks everybody, we can create new meta issue in the future if necessary, closing...

            Show
            skodak Petr Skoda added a comment - thanks everybody, we can create new meta issue in the future if necessary, closing...

              People

              • Votes:
                9 Vote for this issue
                Watchers:
                15 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Fix Release Date:
                  14/Jan/13