Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reduce CPU usage - Increase SCAN fields time #24

Open
mmdonatti opened this issue Sep 14, 2023 · 2 comments
Open

Reduce CPU usage - Increase SCAN fields time #24

mmdonatti opened this issue Sep 14, 2023 · 2 comments

Comments

@mmdonatti
Copy link
Collaborator

Check all SCAN fields:

  • eve.db
    • FPGAClk-Cte: 1 second
    • cmd_ctrl_get: register 0 (Link, Interlock Enabled, Interlock Active, Device Enable): 1 second
    • cmd_tmstmp_get: register 51 (UTC, Subsecond, Timesrc): 1 second
    • PeriodicPull: pull timestamps: 2 seconds
    • cmd_log_get: register 52, get one log from timestamp buffer: 1 second
    • cmd_conf_get: register 63 (Alive-Mon, Funsel, ClkMode): 1 second
  • evg.db
    • cmd_ctrl_get: register 0 (Link, Interlock Enabled, Interlock Active, Device Enable, Seq Enable, Frequency): .1 second
    • cmd_acdiv_get: 1 second
    • cmd_seqramsw_get: 0.01 second
    • cmd_tmstmp_get: register 51 (UTC, Subsecond, Timesrc): 1 second
    • cmd_evg_ilockcontrol_get: interlock map: 1 second
    • cmd_conf_get: register 63 (Alive-Mon, Funsel, ClkMode): 1 second
  • evgfout_out.db
    • cmd_out_get: fout and evg out status: 1 second
  • evr.db (same as eve.db)
    • FPGAClk-Cte: 1 second
    • cmd_ctrl_get: register 0 (Link, Interlock Enabled, Interlock Active, Device Enable): 1 second
    • cmd_tmstmp_get: register 51 (UTC, Subsecond, Timesrc): 1 second
    • PeriodicPull: pull timestamps: 2 seconds
    • cmd_log_get: register 52, get one log from timestamp buffer: 1 second
    • cmd_conf_get: register 63 (Alive-Mon, Funsel, ClkMode): 1 second
  • evre_otp_scan.db
    • OTPCntReadFanout: otp counter reading - 4 register: 0.1 second
  • fout.db
    • cmd_ctrl_get: register 0(Rx Enable,Link,Device Enable): 1 second
    • cmd_conf_get: register 63 (Alive, Funsel): 1 second

Check sequencer Network-Mon state machine scheme, is currently using Alive-Mon to track unconnected devices.

@mmdonatti
Copy link
Collaborator Author

mmdonatti commented Sep 14, 2023

Change EVR and EVE FPGAClk-Cte to use EVG frequency as callback INP with CPP attribute

@ericonr
Copy link
Member

ericonr commented Sep 18, 2023

Related: #26

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants