<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://docs.moodle.org/38/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jonspurs</id>
	<title>MoodleDocs - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://docs.moodle.org/38/en/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Jonspurs"/>
	<link rel="alternate" type="text/html" href="https://docs.moodle.org/38/en/Special:Contributions/Jonspurs"/>
	<updated>2026-05-12T00:50:07Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.43.5</generator>
	<entry>
		<id>https://docs.moodle.org/38/en/index.php?title=Performance_FAQ&amp;diff=67542</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/38/en/index.php?title=Performance_FAQ&amp;diff=67542"/>
		<updated>2010-01-22T16:35:33Z</updated>

		<summary type="html">&lt;p&gt;Jonspurs: /* How do you define &amp;quot;concurrent users&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querying the database or simply transferring a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
See also: &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Jonspurs</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/38/en/index.php?title=Performance_FAQ&amp;diff=67541</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/38/en/index.php?title=Performance_FAQ&amp;diff=67541"/>
		<updated>2010-01-22T16:34:56Z</updated>

		<summary type="html">&lt;p&gt;Jonspurs: /* How do you define &amp;quot;concurrent users&amp;quot;? */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
See also: &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Jonspurs</name></author>
	</entry>
	<entry>
		<id>https://docs.moodle.org/38/en/index.php?title=Performance_FAQ&amp;diff=67540</id>
		<title>Performance FAQ</title>
		<link rel="alternate" type="text/html" href="https://docs.moodle.org/38/en/index.php?title=Performance_FAQ&amp;diff=67540"/>
		<updated>2010-01-22T16:34:01Z</updated>

		<summary type="html">&lt;p&gt;Jonspurs: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;{{stub}}&lt;br /&gt;
&lt;br /&gt;
===How do you define &amp;quot;concurrent users&amp;quot;?===&lt;br /&gt;
As has been repeatedly stressed in the [http://moodle.org/mod/forum/view.php?f=94 Hardware and performance] forum, the load on the server depends primarily on the number of concurrent users, not on the total number of users neither the number of users logged-in at a given time. In this context, the concurrent users are those for whom the server actively doing something (see Wikipedia [http://en.wikipedia.org/wiki/Concurrency_(computer_science) Concurrency]). It may by processing a webpage written in PHP, querrying the database or simply transfering a file.&lt;br /&gt;
&lt;br /&gt;
===How do I benchmark a Moodle-site?===&lt;br /&gt;
You can of course benchmark each component of the software stack: operating system, webserver, database server, PHP (see [[Performance#Obtain_a_baseline_benchmark]]). But there is no easy formula to deduct the maximum number of concurrent users from those results.&lt;br /&gt;
&lt;br /&gt;
There is a PHP-script, the [http://moodle.org/mod/forum/discuss.php?d=57028 Performance perspectives - a little script], circulating amoung the Moodle-community which calculates a ballpark figure. The current version is attached to the [http://moodle.org/mod/forum/discuss.php?d=57028#p296907 posting on 1. March 2007].&lt;br /&gt;
&lt;br /&gt;
Warning: Note that running this script on a production server may have unwanted side-effects. You are strongly adviced to run it on a test-site.&lt;br /&gt;
&lt;br /&gt;
===What are PHP-accelerators?===&lt;br /&gt;
See Wikipedia article [http://en.wikipedia.org/wiki/PHP_accelerator PHP accelerator].&lt;br /&gt;
&lt;br /&gt;
Available software are documented [[Performance#PHP_performance]].&lt;br /&gt;
&lt;br /&gt;
===How do I cluster Moodle?===&lt;br /&gt;
&lt;br /&gt;
See [[Performance#Scalability]]&lt;br /&gt;
&lt;br /&gt;
===How do I replicate Moodle?===&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===My site is very slow, what should I do?===&lt;br /&gt;
&lt;br /&gt;
First find out &amp;quot;how slow&amp;quot;. (The theme-trick here).&lt;br /&gt;
&lt;br /&gt;
The next question is, whether the performance is normal or something malfunctions. There are many things which can malfunction:&lt;br /&gt;
* hardware&lt;br /&gt;
* crashed filesystems, specially network filesystems&lt;br /&gt;
* memory leaks or other crashes in the system&lt;br /&gt;
* bug in Moodle&lt;br /&gt;
* corrupted database&lt;br /&gt;
&lt;br /&gt;
Or your performance could be &amp;quot;normal&amp;quot; under the given circumstances:&lt;br /&gt;
* Is it a root-server, dedicated server, virtual (shared) server&lt;br /&gt;
* How much RAM, processing power do you have?&lt;br /&gt;
* What is the software stack you use? (Unix or Windows, Apache or IIS, MySQL, PostgreSQL or SQL-Server, ...?)&lt;br /&gt;
* how many concurrent users slows the system down&lt;br /&gt;
* what modules/activities they use? Check [[Performance#Performance of different Moodle modules]]&lt;br /&gt;
* is your networt setup property? DNS, firewalls. Also check local firewalls and other local security tools?&lt;br /&gt;
&lt;br /&gt;
[[Performance#Obtain a baseline benchmark]] and compare it with the published figures.&lt;br /&gt;
&lt;br /&gt;
See also: &lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=102978 1000 concurrent users]&lt;br /&gt;
* [http://moodle.org/mod/forum/discuss.php?d=103040 Tool to estimate server&#039;s maximum concurrent users]&lt;br /&gt;
&lt;br /&gt;
===What are the requirements for N users?===&lt;br /&gt;
&lt;br /&gt;
[http://moodle.org/mod/forum/discuss.php?d=111847 A moodle setup for 10K simultaneous users]&lt;br /&gt;
&lt;br /&gt;
===How many users will my installation support?===&lt;br /&gt;
&lt;br /&gt;
This is another way of asking the same question as above. Please move up.&lt;br /&gt;
&lt;br /&gt;
===Which operating system is the best?===&lt;br /&gt;
&lt;br /&gt;
===What is the best webserver?===&lt;br /&gt;
&lt;br /&gt;
===Should I go for 64 bit or is 32 bit OK?===&lt;br /&gt;
&lt;br /&gt;
===What hosting provider do you recommend?===&lt;br /&gt;
http://moodle.org/mod/forum/discuss.php?d=99405&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]] I [[Category: Administrator]] I [[Category:Performance]]&lt;/div&gt;</summary>
		<author><name>Jonspurs</name></author>
	</entry>
</feed>