public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [tests/selinux] pr775-checkpolicy-revdeps: kernel/synflood: reduce sampling time and increase duration
@ 2026-09-11 13:18 Ondrej Mosnacek
  0 siblings, 0 replies; only message in thread
From: Ondrej Mosnacek @ 2026-09-11 13:18 UTC (permalink / raw)
  To: git-commits

            A new commit has been pushed.

            Repo   : tests/selinux
            Branch : pr775-checkpolicy-revdeps
            Commit : a358f02d2f97b1092f752d60b22784ded47b1a9f
            Author : Ondrej Mosnacek <omosnace@redhat.com>
            Date   : 2021-01-19T14:04:27+01:00
            Stats  : +3/-3 in 2 file(s)
            URL    : https://src.fedoraproject.org/tests/selinux/c/a358f02d2f97b1092f752d60b22784ded47b1a9f?branch=pr775-checkpolicy-revdeps

            Log:
            kernel/synflood: reduce sampling time and increase duration

On fast systems with a lot of cores the 10s synflood run produces too
large perf.data (> 1 GiB), so reduce it to 5s and also increase the
test's time limit to 1h to make sure that it has enough time to process
such a large file.

Signed-off-by: Ondrej Mosnacek <omosnace@redhat.com>

---
diff --git a/kernel/synflood/main.fmf b/kernel/synflood/main.fmf
index fe38fa4..f69d6ef 100644
--- a/kernel/synflood/main.fmf
+++ b/kernel/synflood/main.fmf
@@ -17,7 +17,7 @@ require:
 - xz
 recommend:
 - /usr/sbin/hping3
-duration: 20m
+duration: 1h
 enabled: true
 tier: 3
 adjust:

diff --git a/kernel/synflood/runtest.sh b/kernel/synflood/runtest.sh
index c8535c2..db5a080 100755
--- a/kernel/synflood/runtest.sh
+++ b/kernel/synflood/runtest.sh
@@ -44,8 +44,8 @@ else
             rlRun "hping3 $ip_address -q -p $TEST_PORT -S --flood &" 0 \
                 "Start TCP flood #$i"
         done
-        rlRun "perf record -o perf.data -ag -- sleep 10s" 0 \
-            "Capture perf data for 10s"
+        rlRun "perf record -o perf.data -ag -- sleep 5s" 0 \
+            "Capture perf data for 5s"
         rlRun "kill \$(jobs -p)" 0 "Kill background processes"
         rlRun "perf report -i perf.data -g none --pretty raw -F overhead,symbol | \
             grep -E '\\[k\\] (selinux|security)_' | tee perf-report.txt"

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2026-09-11 13:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-11 13:18 [tests/selinux] pr775-checkpolicy-revdeps: kernel/synflood: reduce sampling time and increase duration Ondrej Mosnacek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox