Every figure of the Measured requirements section comes from this method. It says what is measured, how, how many times, and when a profile counts as held. Each measurement carries the version of the method it was made with.
A container dedicated to measurements, on a Proxmox VE host of our own, built exactly like the VPS we deliver: Ubuntu 24.04, unprivileged container, the same swap. It runs nothing else. During the measurements it gets 4 vCPU and 8 GiB of memory, so that no application is held back; it goes back to a clean snapshot before every run.
The periodic maintenance tasks of the system (package updates, manual pages, log rotation) are turned off on the bench, so that they do not disturb a run. The load comes from another container, never from the measured one.
Each run records the processor, the kernel, the versions of Proxmox VE, Docker, Compose and k6, and the load of the host. A run is played again when, during its measurement, the host’s CPU passes 50 % of its threads at the 95th percentile, a neighbouring container on the host passes one vCPU, or the load generator passes 70 % of its own vCPU.
The official method of the project, its Docker Compose file most of the time, with its default configuration and the database it recommends. When Simafri publishes an installation guide for the application, the bench uses that same installation. The version is pinned by its tag and by its digest.
The whole stack is measured, container by container: application, database, cache. The reverse proxy is left out, and measured once on its own.
A sampler runs on the host, outside the measured container, and reads cgroup v2 once per second for every container: memory, memory statistics, CPU time, processes. It also reads the measured container as a whole, system included, and the activity of the host.
Working memory is the memory in use minus the inactive file cache, which the kernel takes back when memory runs short: it is what a server must really hold. Its peak is the highest value read, second by second. CPU is expressed in vCPU. Disk reads and writes are those of the container’s file system.
Once per application: the time to the first healthy response, the peak memory during the first start and the migrations, which often decides the smallest possible server, the size of the images and of the data, and the disk growth per 1,000 units of data.
Idle: installed, the first account created, no data; 10 minutes of rest, then 15 minutes measured.
Light use and sustained use: a reference dataset of a written size, then a realistic scenario (signing in, reading, creating) played by k6, with 10, then 50 simulated users; for an application without users, its own unit, written in its protocol. 5 minutes of warm-up, then 30 minutes measured.
When the application runs behind a reverse proxy, the load generator takes the place of the proxy and gives each simulated user its own address, in the range reserved for benchmarking (198.18.0.0/15), so that the default limits of the application apply to each user as they would in production.
The protocol of each application, its dataset, scenario and unit, is published with the scripts of the bench.
Three independent runs per profile, each from the clean snapshot with a fresh installation, the profiles interleaved. We publish the median and the range, from the lowest to the highest. A spread of more than 10 % of the median, beyond 2 MiB of memory or 0.01 vCPU, is investigated and the profile played again.
A profile is held when: less than 0.1 % of errors, the 95th percentile of the scenario under one second (or a threshold of the application, when its protocol justifies it), no stop for lack of memory, no page in swap, no restart.
The candidate is the smallest tier where the peak working memory of the stack, the highest of the three runs, installation included, plus the base of the system, fits in its memory with a 25 % margin, and where the CPU of the container stays under 70 % of its vCPU at the 95th percentile. The sizes of the tiers are read in our catalogue at every campaign.
Validation: the profile is played again on the container cut to the size of the tier. If it holds, the page says "validated on" that tier; otherwise, the next tier is tried.
Every measurement carries the version of the application, its tag and digest, the date, the version of the method and the bench. A new measurement is made at every major or minor version of the application, and at least once a year; the history stays visible.
No estimated figure is ever published. A profile that cannot be measured says "not measured", with the reason. Next to our figures, each page gives what the official documentation says, with its link and the date we read it.
The measurements are open data under the CC BY 4.0 license, in CSV and JSON. The scripts of the bench, the sampler, the run, the campaign, the analysis and each protocol, are published under the MIT license.
Simafri
Let's talk about your project
Tell us what you need in a few words: we will get back to you quickly.
Thank you! Your request has been sent. We'll get back to you shortly.
Prefer email? Write to us at support@simafri.com.