• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Optimizing the performance of Chamilo LMS
 

Optimizing the performance of Chamilo LMS

on

  • 763 views

Presentation given by Patrick Roth from the University of Geneve in teh Chamilo Users Day Madrid 2013 showing how to optimize Chamilo for a better performance.

Presentation given by Patrick Roth from the University of Geneve in teh Chamilo Users Day Madrid 2013 showing how to optimize Chamilo for a better performance.

Statistics

Views

Total Views
763
Views on SlideShare
763
Embed Views
0

Actions

Likes
0
Downloads
6
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Optimizing the performance of Chamilo LMS Optimizing the performance of Chamilo LMS Presentation Transcript

    • Optimizing the performance of your LMS: example with Chamilo Patrick Roth, Abderrahim Oulmi, Laurent Opprecht, Olivier Jeannin NTICE
    • Institutional context The University of Geneva • # Students: 17500 • # Teachers: 2250 • # faculties: 8 NTICE
    • Institutional context eLearning tools at University of Geneva NTICE
    • Institutional context Information and training – Website: elearning.unige.ch – Blog: ciel.unige.ch, twitter (@cielge) – Workshops (Chamilo, Mahara, RCFE, etc.) – Techno-pedagogical advice – Copyright Expertise – Events (BarCamp, webinars, workshops, etc.) NTICE
    • Institutional context Dokeos@unige.ch – # Users: 18059 • # Teachers: 1571 • # Students: 16488 – # Active courses: 2068 NTICE
    • Institutional context Dokeos@unige.ch 2500 2000 1500 1000 500 0 NTICE
    • Institutional context Dokeos@unige.ch 2 million visits per academic year NTICE
    • Institutional context Dokeos@unige.ch 300,000 250,000 200,000 150,000 100,000 50,000 0 NTICE # of visits
    • Institutional context Dokeos@unige.ch 12,000 10,000 8,000 6,000 4,000 2,000 0 NTICE # of visits
    • Institutional context Dokeos@unige.ch 12,000 # of visits 10,000 8,000 6,000 4,000 2,000 0 1-Oct-12 2-Oct-12 3-Oct-12 4-Oct-12 5-Oct-12 6-Oct-12 7-Oct-12 NTICE
    • Institutional context Dokeos@unige.ch NTICE
    • Institutional context Dokeos@unige.ch NTICE Dokeos response time > 2 minutes
    • Institutional context Dokeos@unige.ch NTICE
    • Solution Optimizing the performance of Chamilo NTICE
    • Solution • Plan How ? – Goal to reach • Do Plan – Setup your simulation environment Act Do • Check – Measure Check NTICE • Act – Find the right optimization
    • Plan Solution Act Do Check Goal to reach • Obtain the best performance NTICE
    • Plan Solution Act Do Check Goal to reach • Psychology of web performance “How web page response time affect user psychology and behavior” (WebSiteOptimization, 2008) NTICE
    • Plan Solution Act Do Check Goal to reach • Psychology of web performance “lower perceived credibility” (Fogg et al. 2001) 8 to 10 seconds “lower perceived quality” (Bouch et al. 2000) “increase user frustration” (King 2003) Load times NTICE
    • Plan Solution Act Do Check Goal to reach • Psychology of web performance “perceived more interesting” (Ramsay et al. 1998) 8 to 10 seconds “perceived more attractive” (Skadberg and Kimmel) Load times NTICE
    • Plan Solution Act Do Check Goal to reach Web page response time < 10 seconds NTICE
    • Plan Solution Act Do Check Setup your simulation environment • Tool: Apache JMeter – Test plan • Scenario • Thread Group • Measure NTICE
    • Plan Solution Act Do Check Setup your simulation environment • JMeter Test Plan: scenario NTICE
    • Plan Solution Act Do Check Setup your simulation environment • JMeter Test Plan: thread group 2 seconds delay NTICE 2 seconds delay ... 500 users
    • Plan Solution Act Do Check Setup your simulation environment • JMeter Test Plan: measure – Average web page response time (in ms) NTICE
    • Plan Solution Act Do Check Measure • Hardware NTICE
    • Plan Solution Act Do Check Measure • Software – Average web page response time – Logs (apache, MySQL, etc.) NTICE
    • Plan Solution Act Do Check Find the right optimization • Hardware configuration (CPU, RAM, disk, network, etc.) • Operating System (Linux, Unix, Windows, etc.) • Web server performance – PHP performance (PHP accelerator, settings, etc.) – Apache performance (settings, modules, etc.) • Database performance (settings, engine, queries, etc.) NTICE
    • Results Our findings 1. Use real server instead of VM 2. Choose the right DB engine for each table (InnoDB vs MyISAM) 3. Add the right PHP accelerator 4. Update your LAMP components (Apache, PHP, MySQL) NTICE
    • Results Use real server instead of VM Find the right optimization • Hardware configuration (CPU, RAM, disk, network, etc.) • Operating System (Linux, Unix, Windows, etc.) • Web server performance – PHP performance (PHP accelerator, settings, etc.) – Apache performance (settings, modules, etc.) • Database performance (settings, engine, queries, etc.) NTICE
    • Results Choose the right DB engine Find the right optimization • Hardware configuration (CPU, RAM, disk, network, etc.) • Operating System (Linux, Unix, Windows, etc.) • Web server performance – PHP performance (PHP accelerator, settings, etc.) – Apache performance (settings, modules, etc.) • Database performance (settings, engine, queries, etc.) NTICE
    • Results Add the right PHP accelerator Find the right optimization • Hardware configuration (CPU, RAM, disk, network, etc.) • Operating System (Linux, Unix, Windows, etc.) • Web server performance – PHP performance (PHP accelerator, settings, etc.) – Apache performance (settings, modules, etc.) • Database performance (settings, engine, queries, etc.) NTICE
    • Results Our findings (Opcode Cache Benchmarks, 2013) NTICE
    • Results Update your LAMP components Find the right optimization • Hardware configuration (CPU, RAM, disk, network, etc.) • Operating System (Linux, Unix, Windows, etc.) • Web server performance – PHP performance (PHP accelerator, settings, etc.) – Apache performance (settings, modules, etc.) • Database performance (settings, engine, queries, etc.) NTICE
    • Results Our findings Component Before Updated Apache 2.2.22 2.4.6 PHP 5.3 5.5.3 Update your LAMP components NTICE
    • Results Our findings • Detect slow queries and optimize them NTICE
    • Results Our findings • Detect slow queries and optimize them NTICE
    • In summary 5 tips for optimizing your Chamilo 1. 2. 3. 4. 5. Use a real server Choose the right DB engine for each table Update your LAMP components Add the Zend Optimizer+ accelerator Detect slow queries and optimize them NTICE
    • Current situation Measure this week with Chamilo 1.9.x # of users 425 560 507 493 532 600 725 460 750 NTICE Chamilo response time [ms] 483
    • Current situation Measure this week Chamilo response time < 1 second NTICE
    • Thank you NTICE