1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 <2023> 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | Re: External: Questions about Function: epicsEventWaitWithTimeout (id, timeout) |
From: | Niko Kivel via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>, 김대영 <dykim1114 at dawonsys.com> |
Cc: | 박상욱/수석/SnE팀 <screenbe at dawonsys.com>, 박진용/책임/CnS팀 <pjy0429 at dawonsys.com> |
Date: | Tue, 2 May 2023 16:01:36 +0000 |
Hi
I noticed that you run the 3.10 rt-patched kernel. Did you do any tuning of the system? There is a guide from CERN that's pretty decent https://linux.web.cern.ch/mrg/2/Tuna_User_Guide/,
and also one from RedHat https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux_for_real_time/8/html/optimizing_rhel_8_for_real_time_for_low_latency_operation/assembly_improving-latency-using-the-tuna-interface_optimizing-rhel8-for-real-time-for-low-latency-operation
To me it looks like you have a rather stable (given the small sample size) upper bound offset of 55 us. That's your baseline processing
time. If you want 250 us delay, you'd need to ask for 195 us .. in this case.
As Till mentioned you have to put load on the system. Not only CPU-load, but also disk-IO and network. Common trip wires are, automount, log rotate, network manager, ... . So basically, any process that thinks of itself as being "smart". Turn them off if possible.
Turn all power saving features off. The system needs to boot, assume a state and not change that state later.
To get a good hold on the performance, tests need to be run over a long time. That is days, rather than hours. You can run for a week w/o issue, then log rotate kicks in and the proverbial s**t hits the fan.
Best
Niko
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of 김대영 via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, May 1, 2023 11:30 PM To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Cc: 박진용/책임/CnS팀 <pjy0429 at dawonsys.com>; 박상욱/수석/SnE팀 <screenbe at dawonsys.com> Subject: External: Questions about Function: epicsEventWaitWithTimeout (id, timeout)
Thank you and Best Regards,
|