E2E TS: Hi-Performance mode tests


Prerequisities

  • Server with Dwarfguard 2.1 deployed (single-deploy mode)
  • root-shell access


Steps

  1. check that dwarfg_perfmode -m reports the same performance mode as shown in GUI (System -> Settings -> General -> Server):
    1. HiPerf Mode: off equals Compact mode
    2. HiPerfMode: on equals HiPerf mode
  2. Check switching the mode (using dwarfg_perfmode) reports the other mode in GUI and cmdline
  3. 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)
    1. handler <number>
    2. S-hand <number>
    3. FG-hand <number>
    4. SG_dispatcher
    5. SG-hand <number>
  4. Check that in Compact mode, none of the above except "handler <number>" are present.