E2E TS: Hi-Performance mode tests
Prerequisities
- Server with Dwarfguard 2.1 deployed (single-deploy mode)
- root-shell access
Steps
- check that
dwarfg_perfmode -m reports the same performance mode as shown in GUI (System -> Settings -> General -> Server):
- HiPerf Mode: off equals Compact mode
- HiPerfMode: on equals HiPerf mode
- Check switching the mode (using
dwarfg_perfmode) reports the other mode in GUI and cmdline
- Check that in HiPerf mode you see following threads as part of the
dwarfg_stats_app output: (note the exact number of threads depends on configuration in dwarfg.ini file but for every thread type listed there must be at last one such thread running)
- handler <number>
- S-hand <number>
- FG-hand <number>
- SG_dispatcher
- SG-hand <number>
- Check that in Compact mode, none of the above except "handler <number>" are present.