
i am trying to istall moodle on raspberry pi so that students in a class can access educative contents and probably take tests by connecting their device through wifi connection to the pi, so i am wondering how many students should be able to connect at a time.
i am trying to istall moodle on raspberry pi so that students in a class can access educative contents and probably take tests by connecting their device through wifi connection to the pi, so i am wondering how many students should be able to connect at a time.Heater wrote: ↑Thu May 23, 2019 7:15 pm2innocent,
It's impossible to answer that question unless you give more information on what you require.
What kind of connection do you mean: To a web server (HTTP), terminal sessions(SSH), VNC connections, database connection, .... ?
What kind of work load do you expect those users to have?
How do you know you want to increase whatever limit it might be before you know what it is?
I'm sure Linux can hold thousands of network connections open at the same time if they are not doing anything. The limit will be on what service they are to provide. At some point you will run out of processing speed, memory space, storage access speed, network bandwidth.
it is basically for students to connect, learn and take testsW. H. Heydt wrote: ↑Thu May 23, 2019 6:26 pmAt 20 connected sessions a PDP-11/70 running bsd 2.9 got pretty slow. A Pi3B+ is *lot* faster, but Raspbian has a lot more background stuff running.
How many people are *likely* to be connected at the same time? It also depends, of course, on what the people are doing. If they're all trying to compile a Linux kernel, it won't take many to bring the system to its knees. If they're all running trn or elm, it would probably handle a fairly large number.
yes dear, i mean at the same time. i am trying to set up moodle on raspberry pi for students to connect to and take tests in a class. the connection is via wifi. so m wondering how many students can connect at a time using RPi 3
it is suppose to be an offline learning repository hence it shouldnt be hitting any web server. Thanks, i understand it has its limitations, just trying to be creative with what it can do.Andyroo wrote: ↑Thu May 23, 2019 6:39 pmGets even worse if they are hitting a web server as the server application can have significant impact when the number of users go up...
As for increasing it - buy a Pi 3B+ or CM3+
If you want lots of users go Intel / AMD and Linux - more memory and more cores
By the way - welcome to the forum. We are not trying to put you off but please remember these wonderful cards are £35 and not the answer to everything computers can do.
Taken from https://moodlebox.net/en/help/moodlebox ... any-users/MoodleBox is built around a mini computer Raspberry Pi 3 Model B or Model B+. Its super light architecture enables to use it with 20 to max 30 users.
It is not designed to support big groups.
The WiFi is the limiting factor here. As already stated above, you can expect between 20-30 users connected simultaneously (see https://moodlebox.net/en/help/moodlebox ... any-users/)2innocent wrote: ↑Fri May 24, 2019 8:39 ami am trying to istall moodle on raspberry pi so that students in a class can access educative contents and probably take tests by connecting their device through wifi connection to the pi, so i am wondering how many students should be able to connect at a time.
Top
Has this changed on the Pi3B+ with the faster wifi?mina wrote: ↑Fri May 24, 2019 2:06 pmThe WiFi is the limiting factor here. As already stated above, you can expect between 20-30 users connected simultaneously (see https://moodlebox.net/en/help/moodlebox ... any-users/)2innocent wrote: ↑Fri May 24, 2019 8:39 ami am trying to istall moodle on raspberry pi so that students in a class can access educative contents and probably take tests by connecting their device through wifi connection to the pi, so i am wondering how many students should be able to connect at a time.
Top
Disclaimer: I'm the maintainer of MoodleBox.
Unfortunately nojamesh wrote: ↑Fri May 24, 2019 3:36 pmHas this changed on the Pi3B+ with the faster wifi?mina wrote: ↑Fri May 24, 2019 2:06 pmThe WiFi is the limiting factor here. As already stated above, you can expect between 20-30 users connected simultaneously (see https://moodlebox.net/en/help/moodlebox ... any-users/)2innocent wrote: ↑Fri May 24, 2019 8:39 ami am trying to istall moodle on raspberry pi so that students in a class can access educative contents and probably take tests by connecting their device through wifi connection to the pi, so i am wondering how many students should be able to connect at a time.
Top
Disclaimer: I'm the maintainer of MoodleBox.
Interesting, what do you think is the cause of the limitation?mina wrote: ↑Fri May 24, 2019 3:46 pmUnfortunately nojamesh wrote: ↑Fri May 24, 2019 3:36 pmHas this changed on the Pi3B+ with the faster wifi?mina wrote: ↑Fri May 24, 2019 2:06 pm
The WiFi is the limiting factor here. As already stated above, you can expect between 20-30 users connected simultaneously (see https://moodlebox.net/en/help/moodlebox ... any-users/)
Disclaimer: I'm the maintainer of MoodleBox.. The speed has changed, but NOT the number of users.
It's 100% guaranteed to be lack of RAM. Each user will take a chunk of RAM on the server. When that pushes your server over the 1GB limit (into swapping hell) you'll reach a practical limit.
Wonder if a fast disk and big swap space on it would let you push the limit up much...DougieLawson wrote: ↑Fri May 24, 2019 9:59 pmIt's 100% guaranteed to be lack of RAM. Each user will take a chunk of RAM on the server. When that pushes your server over the 1GB limit (into swapping hell) you'll reach a practical limit.
The big iron I work on for my day job runs out at 480GB before swapping or paging anything to disk.
In an ideal world you never want your steady state working set to move out to any slow device. Before we could go super sized on mainframes the rule was 67% max. With the other 33% there for the mid-day peaks (in banking we got a peak around 11am and a second around 2pm - now in banking they get a massive peak between 11:30pm and 12:30am when folks check their phones to see if they've been paid).
Are you saying that each new wifi connection take so much RAM that after 25 users the RPi freezes? Interesting (I thought myself it could be a wifi driver problem.)DougieLawson wrote: ↑Fri May 24, 2019 9:59 pmIt's 100% guaranteed to be lack of RAM. Each user will take a chunk of RAM on the server. When that pushes your server over the 1GB limit (into swapping hell) you'll reach a practical limit.
The big iron I work on for my day job runs out at 480GB before swapping or paging anything to disk.
No, I'm saying you need to measure the base RAM usage when the system is booted and ready for use. Measure how much it increases for 1, 2, 5, 10, 15, 20 connected users. Then do some scrap paper maths to workout where the theoretical limit will be. Then do an empirical test to see how many users flood the system. You're aiming for 95% cpu busy on four cores and approx 67% RAM committed as the practical limits.
I think you don't understand the use case: the device serves as a wifi AP and a web server, that's all. No user is logged in the RPi in production use.DougieLawson wrote: ↑Sat May 25, 2019 8:56 amNo, I'm saying you need to measure the base RAM usage when the system is booted and ready for use. Measure how much it increases for 1, 2, 5, 10, 15, 20 connected users. Then do some scrap paper maths to workout where the theoretical limit will be. Then do an empirical test to see how many users flood the system. You're aiming for 95% cpu busy on four cores and approx 67% RAM committed as the practical limits.
I'm sure that this would do the job, but as you say it'll defeats the 'one box' idea, which is absolutely a no-go for most of the (non tech savvy) users.