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

Coremark issues for NCS 3.0.0 #19958

Merged
merged 3 commits into from
Jan 20, 2025
Merged

Conversation

zycz
Copy link
Contributor

@zycz zycz commented Jan 16, 2025

Set coremark main thread to cooperative priority at start of main - requirement to allow starting drivers form non-blocking context.

Add extra compiler flags to improve performance.

Change log level to enable seeing errors.

@zycz zycz requested a review from a team as a code owner January 16, 2025 14:58
@github-actions github-actions bot added the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jan 16, 2025
@NordicBuilder
Copy link
Contributor

NordicBuilder commented Jan 16, 2025

CI Information

To view the history of this post, clich the 'edited' button above
Build number: 5

Inputs:

Sources:

sdk-nrf: PR head: 3bac360580b6a8c659c0ac853bd2ed3bc12b31e4

more details

sdk-nrf:

PR head: 3bac360580b6a8c659c0ac853bd2ed3bc12b31e4
merge base: 35facd192a4afb59ad952ea253e7307829c52c59
target head (main): c0fb88a06d165723699eb7f32cc41e466794a13d
Diff

Github labels

Enabled Name Description
ci-disabled Disable the ci execution
ci-all-test Run all of ci, no test spec filtering will be done
ci-force-downstream Force execution of downstream even if twister fails
ci-run-twister Force run twister
ci-run-zephyr-twister Force run zephyr twister
List of changed files detected by CI (6)
samples
│  ├── benchmarks
│  │  ├── coremark
│  │  │  ├── prj.conf
│  │  │  ├── prj_flash_and_run.conf
│  │  │  ├── prj_heap_memory.conf
│  │  │  ├── prj_multiple_threads.conf
│  │  │  ├── prj_static_memory.conf
│  │  │  ├── src
│  │  │  │  │ main.c

Outputs:

Toolchain

Version: 342151af73
Build docker image: docker-dtr.nordicsemi.no/sw-production/ncs-build:342151af73_912848a074

Test Spec & Results: ✅ Success; ❌ Failure; 🟠 Queued; 🟡 Progress; ◻️ Skipped; ⚠️ Quarantine

  • ◻️ Toolchain - Skipped: existing toolchain is used
  • ✅ Build twister
    • sdk-nrf test count: 51
  • ✅ Integration tests
Disabled integration tests
    • desktop52_verification
    • doc-internal
    • test_ble_nrf_config
    • test-fw-nrfconnect-apps
    • test-fw-nrfconnect-ble_mesh
    • test-fw-nrfconnect-ble_samples
    • test-fw-nrfconnect-boot
    • test-fw-nrfconnect-chip
    • test-fw-nrfconnect-fem
    • test-fw-nrfconnect-nfc
    • test-fw-nrfconnect-nrf-iot_libmodem-nrf
    • test-fw-nrfconnect-nrf-iot_lwm2m
    • test-fw-nrfconnect-nrf-iot_mosh
    • test-fw-nrfconnect-nrf-iot_positioning
    • test-fw-nrfconnect-nrf-iot_samples
    • test-fw-nrfconnect-nrf-iot_serial_lte_modem
    • test-fw-nrfconnect-nrf-iot_thingy91
    • test-fw-nrfconnect-nrf-iot_zephyr_lwm2m
    • test-fw-nrfconnect-nrf_crypto
    • test-fw-nrfconnect-ps
    • test-fw-nrfconnect-rpc
    • test-fw-nrfconnect-rs
    • test-fw-nrfconnect-tfm
    • test-fw-nrfconnect-thread
    • test-fw-nrfconnect-zigbee
    • test-low-level
    • test-sdk-audio
    • test-sdk-dfu
    • test-sdk-find-my
    • test-sdk-mcuboot
    • test-sdk-pmic-samples
    • test-sdk-sidewalk
    • test-sdk-wifi
    • test-secdom-samples-public

Note: This message is automatically posted and updated by the CI

samples/benchmarks/coremark/prj.conf Outdated Show resolved Hide resolved
Drivers need to be run from non blocking thread.
We need preemptive priority during init.
Later we prefer cooperative priority
to ensure no interference with benchmark.

JIRA: NCSDK-30369

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
@zycz zycz force-pushed the coremark_issues_300 branch from 80a3d5a to 3647f0d Compare January 17, 2025 09:44
@zycz zycz requested a review from mkapala-nordic January 17, 2025 09:45
Add compiler flags to increase performance.

JIRA: NCSDK-30665

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
@zycz zycz force-pushed the coremark_issues_300 branch from b978017 to 0ca3986 Compare January 17, 2025 10:10
@zycz zycz requested a review from mkapala-nordic January 17, 2025 10:11
samples/benchmarks/coremark/prj.conf Show resolved Hide resolved
samples/benchmarks/coremark/src/main.c Show resolved Hide resolved
samples/benchmarks/coremark/src/main.c Show resolved Hide resolved
samples/benchmarks/coremark/prj.conf Outdated Show resolved Hide resolved
 Enable the error level in the CoreMark sample.

JIRA: NCSDK-30375

Signed-off-by: Jan Zyczkowski <jan.zyczkowski@nordicsemi.no>
@zycz zycz force-pushed the coremark_issues_300 branch from 0ca3986 to 3bac360 Compare January 20, 2025 12:31
@zycz zycz requested a review from MarekPieta January 20, 2025 12:32
@zycz zycz removed the changelog-entry-required Update changelog before merge. Remove label if entry is not needed or already added. label Jan 20, 2025
@carlescufi carlescufi merged commit 588b082 into nrfconnect:main Jan 20, 2025
13 checks passed
@zycz zycz deleted the coremark_issues_300 branch January 20, 2025 14:53
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

Successfully merging this pull request may close these issues.

5 participants