Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  13 Jan 2021, Isaac Labrie Boulay, Forum, poll_event() is very slow. 
    Reply  13 Jan 2021, Konstantin Olchanski, Forum, poll_event() is very slow. 
       Reply  15 Jan 2021, Isaac Labrie Boulay, Forum, poll_event() is very slow. 
    Reply  13 Jan 2021, Stefan Ritt, Forum, poll_event() is very slow. 
       Reply  14 Jan 2021, Pintaudi Giorgio, Forum, poll_event() is very slow. 
       Reply  14 Jan 2021, Isaac Labrie Boulay, Forum, poll_event() is very slow. 
          Reply  08 Feb 2021, Konstantin Olchanski, Forum, poll_event() is very slow. 
Message ID: 2077     Entry time: 15 Jan 2021     In reply to: 2072
Author: Isaac Labrie Boulay 
Topic: Forum 
Subject: poll_event() is very slow. 
> > 
> > I'm currently trying to see if I can speed up polling in a frontend I'm testing. 
> > Currently it seems like I can't get 'lam's to happen faster than 120 times/second. 
> > There must be a way to make this faster. From what I understand, changing the poll 
> > time (500ms by default) won't affect the frequency of polling just the 'lam' 
> > period.
> > 
> > Any suggestions?
> > 
> 
> You could switch from the traditional midas mfe.c frontend to the C++ TMFE frontend,
> where all this "lam" and "poll" business is removed.
> 
> At the moment, there are two example programs using the C++ TMFE frontend,
> single threaded (progs/fetest_tmfe.cxx) and multithreaed (progs/fetest_tmfe_thread.cxx).
> 
> K.O.

Ok. I did not know that there was a C++ OOD frontend example in MIDAS. I'll take a look at 
it. Is there any documentation on it works?

Thanks for the support!

Isaac
ELOG V3.1.4-2e1708b5