Skip to content

taoky/judgescale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Judgescale

A test necessary for large contests which uses a single server, multiple instances pattern of judgehost deployment.

Modified from domjudge/judge.

How to test?

  1. Reboot to get a clean kernel state.
  2. Run createcgroups.sh to create domjudge cgroups.
  3. make
  4. Adjust TASKS in run.py.
  5. python run.py, wait and see load, process states and judgescale output. Please be patient, and if possible run it at least for 1 hour.
  6. After test you could run clean.sh to clean created domjudge subcgroups (domjudge cgroup itself will NOT be removed).

Results

If you see load >= 2 * TASKS, you are doomed.

Example 1:

Example 1

(32 cores KVM, 20 tasks, ~45min, Linux 5.15, load >= 40)

It's strongly recommended to use Linux 6.3+ as your judgehost kernel. Otherwise, you are probably doomed.

About

A stability test for judgehost multiple-instance-single-server mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published