Performanceverbesserung -> Einschätzung zu apptime-Auswertung erwünscht

Begonnen von CQuadrat, 05 März 2014, 11:09:49

Vorheriges Thema - Nächstes Thema

CQuadrat

Hallo Zusammen,

ich weiß zwar nicht, ob ich in diesem Thread richtig bin. Da ich aber nicht weiß wohin damit, poste ich einfach mal hier ::)

Da ich mir kurzfristig mit Floorplan eine WAF-taugliche Steuerung zusammenbasteln will und mir der Seitenaufbau dort (noch) zu lange dauert, bin ich dabei meine FHEM-Installation zu optimieren. Dazu analysiere ich mit einem ersten Schritt per apptime meine derzeitige Konfiguration. Leider fehlern mir bei den Werten zu apptime Vergleichsgrößen, sodass ich nicht einschätzen kann, was hier im normalen Rahmen liegt.
Ich füge mal das Ergebnis von apptime bei - jeweils sortiert nach total und maxDly:


                  name             function    max  count    total  average maxDly
                              HMLAN1           HMLAN_Read   7637   5500   919861   167.25      0 HASH(0x1e3b180)
                           RFXTRXUSB             TRX_Read   2464  10550   671651    63.66      0 HASH(0x27df8d8)
                  warn_Hzkp_Batt_low          notify_Exec    379  14291   170834    11.95      0 HASH(0x2490718); HASH(0x27f5bd0)
               FileLog_Batterie_Hzkp          FileLog_Log    215  14291    82473     5.77      0 HASH(0x23cfa00); HASH(0x28b95e0)
                       str_Hzkp_alle     structure_Notify    644  14291    81053     5.67      0 HASH(0x2345300); HASH(0x2309080)
                    FileLog_TRX_ELSE          FileLog_Log    259  14291    69915     4.89      0 HASH(0x28fc030); HASH(0x28f9d38)
            warn_im_Haus_Frostgefahr          notify_Exec    345  14291    64570     4.52      0 HASH(0x24a2b18); HASH(0x231eb70)
           FileLog_Hzkp_Bad_Channels          FileLog_Log    177  14291    56655     3.96      0 HASH(0x230c1f0); HASH(0x28b95e0)
        FileLog_Garten_Temp_MWMinMax          FileLog_Log    143  14291    52187     3.65      0 HASH(0x2303898); HASH(0x27f5bd0)
                           Batterien readingsGroup_Notify    831  14291    45194     3.16      0 HASH(0x29650e8); HASH(0x22f6640)
                        FileLog_Hzkp          FileLog_Log   1257  14291    44219     3.09      0 HASH(0x23c8ea0); HASH(0x27dd308)
                     Bresser_average       average_Notify    210  14291    40192     2.81      0 HASH(0x2474148); HASH(0x28b95e0)
                             RPi_Log          FileLog_Log    164  14291    37928     2.65      0 HASH(0x1e24990); HASH(0x2473788)
                   tmr-OWO_GetStatus      HASH(0x24a4aa8)   2245     72    37884   526.17    106 HASH(0x24a4aa8)
                    FileLog_Thrm_Bad          FileLog_Log    199  14291    35922     2.51      0 HASH(0x29d73c8); HASH(0x29e4dc0)
                             SMS_Log          FileLog_Log    197  14291    35651     2.49      0 HASH(0x29d4eb8); HASH(0x27f5bd0)
                  FileLog_Regen_Wind          FileLog_Log    575  14291    34573     2.42      0 HASH(0x2473d58); HASH(0x2473788)
                         tmr-at_Exec      HASH(0x28fdd48)    882    289    31169   107.85   2173 HASH(0x28fdd48)
                       Batterie_Hzkp       average_Notify    135  14291    29610     2.07      0 HASH(0x23cd7a0); HASH(0x230c478)
                MWMinMax_Temp_Garten       average_Notify    192  14291    23693     1.66      0 HASH(0x22f0c10); HASH(0x27f5bd0)
            notify_Thermostat_Kueche          notify_Exec    574    279    22286    79.88      0 HASH(0x29645e8); HASH(0x23084c0)



      name             function    max  count    total  average maxDly
            tmr-HMLAN_KeepAliveCheck   keepAliveCk:HMLAN1    126   1736      137     0.08   8463 keepAliveCk:HMLAN1
                 tmr-HMLAN_KeepAlive     keepAlive:HMLAN1     63   1733     4346     2.51   4181 keepAlive:HMLAN1
                 tmr-CUL_HM_ActCheck       ActionDetector    293     72     2349    32.62   2282 ActionDetector
                         tmr-at_Exec      HASH(0x28fdd48)    882    290    31268   107.82   2173 HASH(0x28fdd48)
                tmr-HMLAN_UpdtMsgCnt       UpdtMsg:HMLAN1      3    434      437     1.01   2147 UpdtMsg:HMLAN1
              tmr-FW_closeOldClients                         121    723     4965     6.87   1580
                         tmr-at_Exec      HASH(0x1e3aa60)    687     13     1983   152.54   1366 HASH(0x1e3aa60)
                         tmr-at_Exec      HASH(0x1e24b40)    565    180    19442   108.01   1042 HASH(0x1e24b40)
                   tmr-CUL_HM_procQs        CUL_HM_procQs      0      1        0     0.00    664
                         tmr-at_Exec      HASH(0x1e27fa8)    747     66     8011   121.38    626 HASH(0x1e27fa8)
             tmr-CUL_HM_respPendTout      respPend:26024F    344     11      448    40.73    430 respPend:26024F
                         tmr-at_Exec      HASH(0x1e28170)    223     24     2714   113.08    215 HASH(0x1e28170)
                         tmr-at_Exec      HASH(0x1e3ac28)   1154     43     5759   133.93    196 HASH(0x1e3ac28)
                   tmr-OWO_GetStatus      HASH(0x24a4aa8)   2245     72    37884   526.17    106 HASH(0x24a4aa8)
                         tmr-at_Exec      HASH(0x1e3afb8)    111      6      654   109.00     97 HASH(0x1e3afb8)
                         tmr-at_Exec      HASH(0x1e3adf0)    111      5      539   107.80     82 HASH(0x1e3adf0)
          tmr-CUL_HM_ProcessCmdStack      HASH(0x29d5440)      0     43        0     0.00     12
            tmr-CUL_HM_statCntRfresh        StatCntRfresh      1      1        1     1.00      9 StatCntRfresh
            tmr-CUL_HM_complConfigTO CUL_HM_complConfigTO      0      1        0     0.00      7
                         tmr-at_Exec      HASH(0x1f3a518)    109      1      109   109.00      7 HASH(0x1f3a518)
                         tmr-at_Exec      HASH(0x231f4b8)    833      1      833   833.00      7 HASH(0x231f4b8)


Wie sind eure Einschätzungen dazu? Das Logging werde ich noch deutlich reduzieren und auf weniger Files beschränken.
Die Delays beim HMLAN erscheinen mir schon einmal ziemlich groß?


Danke schon einmal für eure Kommentare!

Viele Grüße

Christoph
FHEM auf Mini-ITX-Server mit Intel Quad-Core J1900:
+ HM: HM-LAN, HM-USB, HM-MOD-UART mit div. HM-Komponenten
+ RFXtrx: Funkwetterstation Bresser mit ext. Thermometer, Regenmesser und Windmesser
+ TUL (KNX-Anbindung), KM271 (per ser2net), SONOS (div. Gimmicks), OneWire, Hue