Hosting Tiers Hub (9)
NVMe Random 4K IOPS Requirement for Simultaneous Quiz Starts
Understand why spinning HDD or throttled cloud block volumes stall Moodle quiz generation and how NVMe IOPS clears write bursts.
15,000+ 4K random IOPS on NVMe · Prevents MariaDB redo & PHP session waits
What Happens at Disk Level During a 300-Student Quiz Start
When 300 students click Attempt Quiz Now, Moodle shuffles question variants, inserts mdl_question_usages and mdl_question_attempts rows, writes InnoDB redo logs, and reads embedded quiz images from moodledata/filedir.
Why Throttled 300-IOPS Block Disks Fail Before CPU Hits 50%
Legacy HDDs (~150 IOPS) or entry cloud volumes capped at 500 IOPS accumulate iowait > 35%, causing PHP-FPM workers to hang mid-transaction even when RAM is half empty. Local NVMe on ChemiCloud and UltaHost delivers tens of thousands of 4K IOPS.
Measured Thresholds & Configuration
| Storage Class | 4K Random Read/Write IOPS | 300-Student Quiz Start P95 | Production Suitability |
|---|---|---|---|
| Spinning SATA / Low Block | 150 - 500 IOPS | 8 - 25 seconds (timeout risk) | Unsuitable for live exams |
| Standard SATA SSD | 4,000 - 8,000 IOPS | 1.8 - 3.5 seconds | Adequate up to 150 users |
| Enterprise Local NVMe | 25,000 - 80,000+ IOPS | < 650 ms | Required for 200 - 1,000+ exams |