public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Ondrej Mosnacek <omosnace@redhat.com>
To: git-commits@fedoraproject.org
Subject: [tests/selinux] pr775-checkpolicy-revdeps: kernel/synflood: reduce sampling time and increase duration
Date: Fri, 11 Sep 2026 13:18:43 GMT	[thread overview]
Message-ID: <178913272383.1.8395317612501424298.tests-selinux-a358f02d2f97@fedoraproject.org> (raw)

            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"

                 reply	other threads:[~2026-09-11 13:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178913272383.1.8395317612501424298.tests-selinux-a358f02d2f97@fedoraproject.org \
    --to=omosnace@redhat.com \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox