libelektra: testscr_check_kdb_internal_suite: very slow at least on a7

The testscr_check_kdb_internal_suite takes more than 30 minutes on a7.

        Start 181: testscr_check_kdb_internal_suite
218/262 Test #181: testscr_check_kdb_internal_suite ..............   Passed  1804.16 sec

We need to investigate why this takes so long and if things can be improved.

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 15 (13 by maintainers)

Most upvoted comments

The testscr_check_kdb_internal_suite test alone takes now about 40 minutes of time on i7. Using tmpfs for the config and cache directories (due to heavy I/O) reduces the test time from 40 minutes to about 6 seconds on i7.

Another idea: we could use ramdisk for parts or all of the tests, at least on slow machines.

Just an idea: maybe libeatmydata speeds up these tests as Elektra uses fsync excessively.