This is especially important when you have your webserver and database server separated out on different hosts. Use gigabit ethernet for improved latency and throughput.Using GlusterFS / OCFS2 / GFS2 on a SAN device and Fiber Channel could improve performance (See more info on the Moodle forum thread, NFS performance tuing ) See the page on Caching and choose an alternative. NFS mount on to a NAS device) you will have performance issues with the default cache configuration (which writes to this storage). If your 'moodledata' area is going to be on relatively slow storage (e.g.Moodle, Web server and Database server on another set of disks configured as RAID-5.the operating system and swap drive on one set of disks configured as RAID-1.install a hardware RAID controller (if you can).Although there are many different RAID configurations you can create, the following generally works best: The general advice is to set it to 4 x physical RAM. This will improve the overall speed of your system, especially when accessing Moodle's reports. Purchase hard disks with a low seek time.If you must have SATA drives, check that your motherboard and the drives themselves support NCQ (Native Command Queuing). SATA drives will increase your system's CPU utilization, whereas SCSI drives have their own integrated processors and come into their own when you have multiple drives. If you can afford them, use SCSI hard disks instead of SATA drives.A modern BIOS should allow you to enable hyperthreading, but check if this makes a difference to the overall performance of the processors by using a CPU benchmarking tool. Better performance is gained by obtaining the best processor capability you can, i.e.Increasing primary memory will reduce the need for processes to swap to disk and will enable your server to handle more users. Note: The fastest and most effective change that you can make to improve performance is to increase the amount of RAM on your web server - get as much as possible (e.g. Installation for 3000 simultaneous users.A good understanding of these areas of system administration should be considered a minimum requirement. It's important that your shared file areas are properly tuned and that you use an effective cache (Redis is highly recommended). On very large, load-balanced, systems the performance of the shared components become critical. a MySQL cluster), but this is not an easy task and you should seek expert support, e.g. Similarly, the database could be a cluster of servers (e.g. The separate webservers should query the same database and refer to the same filestore and cache areas (see Caching), but otherwise the separation of the application layers is complete enough to make this kind of clustering feasible. It is possible to load-balance a Moodle installation, for example by using more than one webserver. Large sites usually separate the web server and database onto separate servers, although for smaller installations this is typically not necessary. (Please check the list of large Moodle installations.) Moodle's design (with clear separation of application layers) allows for strongly scalable setups. See moodledev JMeter documentation Scalability It can be interesting to install and use the Benchmark plugin in order to find the bottlenecks of your system that specifically affect Moodle or do a load test / stress test with tool like JMeter. The optimization order preference is usually: primary storage (more RAM), secondary storage (faster hard disks/improved hard disk configuration), processor (more and faster). If your system starts swapping, this is a sign that you need more RAM. It is especially important to try to eliminate swap file usage as much as you can. The overall aim of adjustments to improve performance is to use RAM (cacheing) and to reduce disk-based activity. Once you have quantitative data about how your system is performing currently, you'll be able to determine if the change you have made has had any real impact. For Linux try LBS (Note: Last updated May 2002) and for Windows use the Performance Monitor. 8 Performance of different Moodle modulesīefore attempting any optimization, you should obtain a baseline benchmark of the component of the system you are trying to improve.5.5 Lighttpd, NginX and Cherokee performance.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |