All of lore.kernel.org
 help / color / mirror / Atom feed
* using a "-M" option on cyclictest defeats the "-D 30" option
       [not found] <CA+1+E3Wj9Aw7VP1955XhxNd7YOXO+4VM0tQ_z+z8n08GKirwSg@mail.gmail.com>
@ 2022-06-04 14:48 ` Gautam Thaker
  2022-06-09 10:33   ` Sebastian Andrzej Siewior
  0 siblings, 1 reply; 3+ messages in thread
From: Gautam Thaker @ 2022-06-04 14:48 UTC (permalink / raw)
  To: linux-rt-users

I have noticed that

sudo time ./cyclictest -S -D 30

properly completes the test and exits in 30 seconds. However,

doing:

sudo time ./cyclictest -S -D 30 -M

the test never stops, I have to control-C out of it. Is this intended
behavior? The man page did not say anything about this. I would like
to use both -D <many_hours>   and -M together.

Thanks for any comments.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using a "-M" option on cyclictest defeats the "-D 30" option
  2022-06-04 14:48 ` using a "-M" option on cyclictest defeats the "-D 30" option Gautam Thaker
@ 2022-06-09 10:33   ` Sebastian Andrzej Siewior
  2022-06-09 12:35     ` Gautam Thaker
  0 siblings, 1 reply; 3+ messages in thread
From: Sebastian Andrzej Siewior @ 2022-06-09 10:33 UTC (permalink / raw)
  To: Gautam Thaker; +Cc: linux-rt-users

On 2022-06-04 10:48:21 [-0400], Gautam Thaker wrote:
> I have noticed that
> 
> sudo time ./cyclictest -S -D 30
> 
> properly completes the test and exits in 30 seconds. However,
> 
> doing:
> 
> sudo time ./cyclictest -S -D 30 -M
> 
> the test never stops, I have to control-C out of it. Is this intended
> behavior? The man page did not say anything about this. I would like
> to use both -D <many_hours>   and -M together.

It works for v2.2. What version do you have? I tested it with 5 secs but
I would expect that it behaves the same way for 30 secs.

> Thanks for any comments.

Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: using a "-M" option on cyclictest defeats the "-D 30" option
  2022-06-09 10:33   ` Sebastian Andrzej Siewior
@ 2022-06-09 12:35     ` Gautam Thaker
  0 siblings, 0 replies; 3+ messages in thread
From: Gautam Thaker @ 2022-06-09 12:35 UTC (permalink / raw)
  To: Sebastian Andrzej Siewior; +Cc: linux-rt-users

My apologies. I was using "cyclictest" from git repository:

node-0> git remote -vv
origin git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git (fetch)
origin git://git.kernel.org/pub/scm/utils/rt-tests/rt-tests.git (push)

And I was on stable/1.0   branch!!  (I had thought pointing to repo in
kernel.org I would be current, but I should have checked.)

I compiled version 2.3  (tip of "main" branch) and it works as expected.

GHT

On Thu, Jun 9, 2022 at 6:33 AM Sebastian Andrzej Siewior
<bigeasy@linutronix.de> wrote:
>
> On 2022-06-04 10:48:21 [-0400], Gautam Thaker wrote:
> > I have noticed that
> >
> > sudo time ./cyclictest -S -D 30
> >
> > properly completes the test and exits in 30 seconds. However,
> >
> > doing:
> >
> > sudo time ./cyclictest -S -D 30 -M
> >
> > the test never stops, I have to control-C out of it. Is this intended
> > behavior? The man page did not say anything about this. I would like
> > to use both -D <many_hours>   and -M together.
>
> It works for v2.2. What version do you have? I tested it with 5 secs but
> I would expect that it behaves the same way for 30 secs.
>
> > Thanks for any comments.
>
> Sebastian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-09 12:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CA+1+E3Wj9Aw7VP1955XhxNd7YOXO+4VM0tQ_z+z8n08GKirwSg@mail.gmail.com>
2022-06-04 14:48 ` using a "-M" option on cyclictest defeats the "-D 30" option Gautam Thaker
2022-06-09 10:33   ` Sebastian Andrzej Siewior
2022-06-09 12:35     ` Gautam Thaker

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.