All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Jorge Ramirez-Ortiz, Gmail" <jorge.ramirez.ortiz@gmail.com>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: Philippe Gerum <rpm@xenomai.org>,
	Tobias Schaffner <tobias.schaffner@siemens.com>,
	xenomai@lists.linux.dev
Subject: Re: [libevl][PATCH 3/4] evl-test: Start evl-test with load by default
Date: Fri, 1 Nov 2024 18:00:06 +0100	[thread overview]
Message-ID: <ZyUJFhSxPyAcfSHI@trex> (raw)
In-Reply-To: <dbe94d71-1fdf-41d5-bc84-76923a66bc2a@siemens.com>

On 13/06/24 17:30:51, Jan Kiszka wrote:
> On 13.06.24 16:16, Philippe Gerum wrote:
> > 
> > Tobias Schaffner <tobias.schaffner@siemens.com> writes:
> > 
> >> Stress evl with a load command while running the tests. The load command
> >> may be set to an empty string to run tests without stressing the system.
> >>
> >> To align with xeno-test the -l command line argument was used for the load
> >> command. Listing of the unittests can now be done with --list and --List.
> >>
> > 
> > Nak. Compat with xeno-test is definitely not a requirement if this means
> > breaking the existing evl command line usage. Besides, --List looks
> > strange as an option. Let's pick a different option for the load command
> > instead.
> > 
> >> The load command is moved to its own process group to allow a clean
> >> teardown of the load process with all its subprocesses.
> >>
> >> Signed-off-by: Tobias Schaffner <tobias.schaffner@siemens.com>
> >> ---
> >>  utils/evl-test | 71 +++++++++++++++++++++++++++++++++++++++++++-------
> >>  1 file changed, 61 insertions(+), 10 deletions(-)
> >>
> >> diff --git a/utils/evl-test b/utils/evl-test
> >> index 5c1c3da..fb85f69 100644
> >> --- a/utils/evl-test
> >> +++ b/utils/evl-test
> >> @@ -6,33 +6,79 @@ if test \! -d $EVL_TESTDIR; then
> >>     exit 2
> >>  fi
> >>  
> >> -usage() {
> >> -   echo >&2 "usage: $(basename $1) [-l][-L][-k][-h][-u] [test-list]"
> >> -}
> >> -
> >>  keep_going=false
> >>  do_list=false
> >>  full_path=false
> >>  unittests_only=false
> >> +load_cmd="dohell 900"
> >> +load_cmd_pgid_file="/tmp/evl_test_load_cmd_$$"
> >> +
> >> +usage() {
> >> +   cat >&2 <<EOF
> >> +evl test -h
> >> +
> >> +This help text.
> >> +
> >> +evl test [ -l "load command" ] [ -k ] [ -u ] [ --list ] [ --List ]
> >> +
> >> +Run a basic test/benchmark of evl on your platform, by first starting a
> >> +few unit tests, then running the latency test under the load generated by
> >> +"load-command".
> >> +
> >> +By default, the load command is "dohell 900", which will generate load during
> >> +15 minutes. To generate a more realistic load see dohell help.
> >> +
> >> +This script accepts the -k option to tell the unit test loop to keep
> >> +going upon a failing test. Otherwise evl test stops immediately.
> >> +
> > 
> > To be fixed wrt the comment on the previous patch.
> > 
> >> +Use -u if you want to skip the latency test and only run the unittests.
> >> +
> >> +Use --list to output all the tests available. --List will print all the tests
> >> +with their full path.
> >> +
> >> +Example:
> >> +evl test -l "dohell -s 192.168.0.5 -m /mnt -l /ltp"
> >> +
> >> +Will generate load including network load using the server at IP address
> >> +192.168.0.5, some I/O under the moint point /mnt, and the LTP testsuite
> >> +installed under the /ltp directory, and use the latency test by measuring the
> >> +timer irq latency.
> > 
> > We should use stress-ng or something alike, instead of the obsolete
> > dohell script.
> 
> Fact is that dohell does better than stress-ng, at least in the configs
> of the latter that I've seen before.

just "dohell -s 192.168.0.5 -m /mnt -l /ltp" ? do you know after how
long (ie, did it take a few hours or just minutes?)

> 
> Jan
> 
> -- 
> Siemens AG, Technology
> Linux Expert Center
> 
> 

  parent reply	other threads:[~2024-11-01 17:00 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-13 13:45 [libevl][PATCH 0/4] evl-test: align with xeno-test Tobias Schaffner
2024-06-13 13:45 ` [libevl][PATCH 1/4] Copy dohell from Xenomai 3 Tobias Schaffner
2024-06-13 14:23   ` Philippe Gerum
2024-06-13 15:32     ` Jan Kiszka
2024-06-13 15:55       ` Philippe Gerum
2025-09-02  9:51         ` Jorge Ramirez-Ortiz, Gmail
2024-06-13 13:45 ` [libevl][PATCH 2/4] evl-test: Measure worst case latencies Tobias Schaffner
2024-06-13 14:09   ` Philippe Gerum
2024-06-13 13:45 ` [libevl][PATCH 3/4] evl-test: Start evl-test with load by default Tobias Schaffner
2024-06-13 14:16   ` Philippe Gerum
2024-06-13 15:30     ` Jan Kiszka
2024-06-13 16:09       ` Philippe Gerum
2024-11-01 17:00       ` Jorge Ramirez-Ortiz, Gmail [this message]
2024-11-18  7:48         ` Jan Kiszka
2024-11-18  8:26           ` Philippe Gerum
2025-09-01 18:46             ` Tobias Schaffner
2024-06-13 17:27     ` Philippe Gerum
2024-06-14  7:29       ` Jorge Ramirez-Ortiz, Gmail
2024-07-10  7:18         ` Tobias Schaffner
2024-10-24 20:00           ` Schaffner, Tobias
2024-10-27 19:13             ` Jorge Ramirez-Ortiz, Gmail
2024-11-01 16:55               ` Jorge Ramirez-Ortiz, Gmail
2024-11-01 17:15                 ` Philippe Gerum
2024-11-01 18:13                   ` Jorge Ramirez-Ortiz, Gmail
2025-09-03  5:29                 ` Jan Kiszka
2025-09-03  8:12                   ` Jorge Ramirez-Ortiz, Gmail
2025-09-03  8:20                     ` Florian Bezdeka
2025-09-03  8:45                       ` Jorge Ramirez-Ortiz, Gmail
2025-09-03  9:12                         ` Florian Bezdeka
2024-06-13 13:45 ` [libevl][PATCH 4/4] evl-test: Add hectic for real-time stress Tobias Schaffner
2024-06-13 14:26   ` Philippe Gerum

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=ZyUJFhSxPyAcfSHI@trex \
    --to=jorge.ramirez.ortiz@gmail.com \
    --cc=jan.kiszka@siemens.com \
    --cc=rpm@xenomai.org \
    --cc=tobias.schaffner@siemens.com \
    --cc=xenomai@lists.linux.dev \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.