moodle for digital exam for about 70 students

moodle for digital exam for about 70 students

sara HHH -
回帖数:8

hi ,


I want to install moodle for digital exam for about 70 students.

Currently we are using moodle (with 2 apache server and 2 loadbalancer and one fs)but our professor asked me to install a new moodle just for using exam .

I have tried to make a jmeter test for our test moodle to see weather with one server can we manage 70 students simultaneously access to the moodle or not but unfortunately I am not very expert and I face a problem with jmeter test.

 

Now I want to request you to tell me whether one server is enough or we need load balance as well?

 

Sorry to bothering you.

 

Best regards


回复sara HHH

Re: moodle for digital exam for about 70 students

Dave Perry -

Basically, as long as you aren't running moodle on PC with 256mb ram, the answer is probably.

If you post your server spec, we can give a better answer.

回复Dave Perry

Re: moodle for digital exam for about 70 students

sara HHH -
Hi,

thanks .
cpu MHz         : 2200.000
cache size      : 20480 KB

MemTotal:        1882988 kB
MemFree:          315232 kB
MemAvailable:     826168 kB
Buffers:               0 kB
Cached:           642628 kB
SwapCached:        16540 kB

its our test server specification.
you mean ist that enough?

Best regards
回复sara HHH

Re: moodle for digital exam for about 70 students

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hi

First of all you should realize that the question "What hardware do I need for N concurrent users?" has no serious answer. Ref. https://docs.moodle.org/en/Performance_FAQ#What_hardware_should_I_buy_for_.27n.27_concurrent_users.3F. What you could get here is to listen to other people's experiences. But there are just too many parameters even to count, you need to be very lucky to find somebody who has a comparable set up and ready to run a test for you and submit the results. So the most reliable thing in your case, just a single dedicated computer, running (RedHat?) Linux, is to do a test run. Installing LAMP and Moodle doesn't take much time.

I am curious though. You have a web cluster running Moodle already. Why another computer, just for the exams?

And what is this "server". 2.2 GHz CPU (single core?) and 2 GB RAM sound more like a disposed PC. The lowest CPU has 4 cores or 4 threads nowadays. And RAM is cheap, 8 GB costs peanuts. That said, I can not believe yours is single core. Run 'less /proc/cpuinfo' to check.

The general experience here is that upto about 30 to 50 quiz users a common machine with good disk system and lot of RAM is sufficient. For those "about 70" things could get critical. Do all of them start the on-line exam in the same minute, for example? Or is the full one hour exam with 60 questions is in one page? These thing have big effect on the server load.
回复Visvanath Ratnaweera

Re: moodle for digital exam for about 70 students

sara HHH -

Hi ,

thanks for your explanation.We have already cluster but want our program to be used only in a specific room,because of this matter i have to install another moodle just for using exam.hier ist the informatoin of my test (centos 7) server :
less /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping        : 2
microcode       : 0x714
cpu MHz         : 2200.000
cache size      : 20480 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 2
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes

bogomips        : 4400.00
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

processor       : 1
vendor_id       : GenuineIntel
cpu family      : 6
model           : 45
model name      : Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
stepping        : 2
microcode       : 0x714
cpu MHz         : 2200.000
cache size      : 20480 KB
physical id     : 0
siblings        : 2
core id         : 1
cpu cores       : 2
apicid          : 1
initial apicid  : 1

our proffesor told me that he wants to take an exam from 70 student on-line exam in the same minute.
any other help would be appreciated
best regards

回复sara HHH

Re: moodle for digital exam for about 70 students

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hi

Need for a separate server: You conduct a "high-stake" exam in one big hall which needs to be isolated from everything, including the Internet. There is a LAN in the hall and obviously the server needs to be in the LAN. Is that right?

CPU: Intel(R) Xeon(R) CPU E5-2660 0 @ 2.20GHz
This is a very good server grade CPU, according to https://ark.intel.com/products/64584/Intel-Xeon-Processor-E5-2660-20M-Cache-2-20-GHz-8-00-GT-s-Intel-QPI- But then you need to see 16 threads in your /proc/cpuinfo. The output you included shows only 2. Why?

RAM: Is it still the same 2 GB? That is an insult for an 8 core / 16 thread CPU!

Disk system: ??? A SSD drive will send the server flying. If you have lot of RAM you can compensate a spinning disk.

With all that corrections, your server has good chances, I would say. But as already said, trial runs are absolute must. Monitor the server carefully during those trials (and during the real exam too). The worry here is that your Prof. wants to give the start command to the whole crowd, there by everybody will hit the exam button, not considering the fact that each candidate has his own clock!
回复Visvanath Ratnaweera

Re: moodle for digital exam for about 70 students

sara HHH -

Hi ,

as you said the neu server needs to be in LAN but just in a specific Hall.

The output you included shows only 2. Why?I dont khnow

RAM: Is it still the same 2 GB?Yes ( for Our old test server not for neu exam server)

I will receive (next week) a centos server from my college  who is responsible.

I would appreciate if you could give me the essential points that should be considered in this system (Cpu,Ram .....) .

Many Thanks



回复sara HHH

Re: moodle for digital exam for about 70 students

Visvanath Ratnaweera -
Particularly helpful Moodlers的头像 Translators的头像
Hi

You wrote:
> I would appreciate if you could give me the essential points that should be considered in this system (Cpu,Ram .....) .

I thought, I was doing exactly that! I have no more ideas short of you shipping me the server.
微笑