Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  05 Dec 2018, Konstantin Olchanski, Info, Partial refactoring of ODB code 
    Reply  11 Dec 2018, Stefan Ritt, Info, Partial refactoring of ODB code 
       Reply  26 Dec 2018, Konstantin Olchanski, Info, Partial refactoring of ODB code 
          Reply  27 Dec 2018, Stefan Ritt, Info, Partial refactoring of ODB code 
Message ID: 1423     Entry time: 27 Dec 2018     In reply to: 1419
Author: Stefan Ritt 
Topic: Info 
Subject: Partial refactoring of ODB code 
> I am not sure this is quite true. The CPU can execute 3000 million operations per second (3GHz CPU, assuming 1 op/Hz),
> so 1 lock operation is worth 3000 normal operations. Of course cache misses and branch mispredictions mess up
> this simple arithmetic...

You can try that with "t1" in odbedit. This times the number of db_get_data() calls midas can do per second. On my MacBook Pro I get 470'000 
accesses per second.
ELOG V3.1.4-2e1708b5