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

Performance issues on Altera C5SOC #144

Open
gauravks opened this issue Jun 21, 2016 · 1 comment
Open

Performance issues on Altera C5SOC #144

gauravks opened this issue Jun 21, 2016 · 1 comment
Assignees
Labels

Comments

@gauravks
Copy link
Contributor

Kalycito bug Id: 2699
Bug Type: PERFORMANCE optimization
Design: Altera C5SOC
Target Release: v2.4.1

Configuration:

MN CN CDC
mn-soc-shmem-gpio Bus coupler 10CN/36TPDO/24RPDO/400us/800us
mn-soc-shmem-gpio Bus coupler 20CN/64TPDO/64RPDO/400us/10ms
mn-soc-shmem-gpio Bus coupler 30CN/252TPDO/104RPDO/2ms/10ms

Observation:

  • With 10CN/36TPDO/24RPDO configuration:
    • MN hangs PRE_OP2 state with the 250us, 400us and 500us cycle time
  • With 20CN/64TPDO/64RPDO configuration:
    • MN hangs PRE_OP2 state with the 400us, 500us, 800us, 1000us and 2000us cycle time
    • MN reaches Operational state with the 5000us cycle time and all the CN were crashed after 20 minutes.
    • MN reaches Operational state with the 10000us cycle time, during the long run following error message is displayed in LCD screen
      ERROR=0x0005”(Operation is not allowed in this situation)
  • With 30CN/252TPDO/104RPDO configuration:
    • MN hangs Ready_to_Operate state with the 2000us, 5000us and 10000us cycle time
@zelenkaj zelenkaj added the TODO label Jun 21, 2016
@zelenkaj zelenkaj added this to the V2.4.1-rc1 milestone Jun 21, 2016
@zelenkaj zelenkaj modified the milestones: V2.4.1, V2.4.1-rc1 Jul 1, 2016
@VarunRajendran
Copy link
Contributor

Analysed the issue by adding benchmark in the host processor.
Configuration:
CDC: 30CN/252TPDO/104RPDO/50ms

While debugging we noticed that(i.e., after MN reach operational) ProcesSync() on the host processor takes 17ms and also copy of RxPdo and TxPdo taken time duration of 16.86ms to complete its process. Please refer the attached image for the reference.
altera

@zelenkaj zelenkaj modified the milestones: V2.5.0-rc1, V2.4.1 Jul 15, 2016
@zelenkaj zelenkaj removed this from the V2.5.0-rc1 milestone Sep 29, 2016
@seissw seissw added this to the V2.6.0-rc1 milestone Feb 28, 2017
@zelenkaj zelenkaj removed this from the V2.6.0-rc1 milestone Mar 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants