All of lore.kernel.org
 help / color / mirror / Atom feed
* Strange problem with PREEMPT_RT
@ 2021-09-29 16:40 Pierre FICHEUX
  2021-09-30  0:13 ` Punit Agrawal
  0 siblings, 1 reply; 21+ messages in thread
From: Pierre FICHEUX @ 2021-09-29 16:40 UTC (permalink / raw)
  To: linux-rt-users

Hi,

I have a strange problem on a PREEMPT_RT system.

I have a process with 2 threads,

- 1 TR thread (10 ms period) which places 350 KB blocks in a fifo (1
block every 10 ms).
- 1 non-TR thread (SCHED_OTHER) which reads the block in the fifo and
writes it to the disk

If I run this on a powerful machine (HP Z4-i9, 14 cores, NVME disk,
CentOS 7 with 3.10 PREEMPT_RT kernel, yes that's ooold), the max
jitter WITH hackbench remains around 20 to 30 µs while the max jitter
WITHOUT hackbench goes up to 350 µs!

-> hackbench -p -g 20 -l 10000000

Running the program with  taskset 01 doesn't change anything
If I don't write the data to disk it doesn't change anything either.

The important jitters appear rather at the beginning (but sometimes also later).

Any ideas ?


thanks by advance

--
Pierre

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

end of thread, other threads:[~2021-10-18  9:12 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-29 16:40 Strange problem with PREEMPT_RT Pierre FICHEUX
2021-09-30  0:13 ` Punit Agrawal
2021-09-30  8:21   ` Pierre FICHEUX
2021-09-30 13:17     ` Luis Goncalves
2021-09-30 13:18     ` Sebastian Andrzej Siewior
2021-09-30 13:23   ` Sebastian Andrzej Siewior
2021-09-30 13:26     ` Pierre FICHEUX
2021-09-30 13:51       ` Sebastian Andrzej Siewior
2021-09-30 14:31         ` Pierre FICHEUX
2021-09-30 23:40           ` Punit Agrawal
2021-10-03 11:11             ` Jack Winch
2021-10-04 12:54               ` John Kacur
2021-10-18  9:12           ` Sebastian Andrzej Siewior
2021-09-30 13:41     ` John Ogness
2021-09-30 14:25       ` John Kacur
2021-09-30 15:02         ` John Ogness
2021-09-30 15:49           ` Sebastian Andrzej Siewior
2021-09-30 16:16           ` John Kacur
2021-09-30 23:22             ` Punit Agrawal
2021-09-30 14:59       ` John Kacur
2021-09-30 23:01     ` Punit Agrawal

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.