Skip to content
This repository has been archived by the owner on Sep 25, 2023. It is now read-only.

[QST] firfilter performance on Jetson #416

Open
gpeyton opened this issue Aug 20, 2021 · 5 comments
Open

[QST] firfilter performance on Jetson #416

gpeyton opened this issue Aug 20, 2021 · 5 comments
Labels
? - Needs Triage Need team to review and classify inactive-30d inactive-90d question Further information is requested

Comments

@gpeyton
Copy link

gpeyton commented Aug 20, 2021

I'm running benchmarking tests on a Jetson Nano 4GB board, and am testing a number of filter algorithms. The performance of each (for N number of taps) is shown below.

Screen Shot 2021-08-19 at 10 49 42 AM

firfilter is tested as follows:

    b_cp = cp.asarray(b)
    x_cp = cp.asarray(x)
    
    # warm up
    firfilter_result = firfilter(b_cp, x_cp, axis=0) 

    start = time.time()
    for i in range(20):
        firfilter_result = firfilter(b_cp, x_cp, axis=0)   # x is a 2D array
    stop = time.time()
    tot_time = (stop - start) / 20
    csig_time.append(tot_time)

In contrast, running the same code on a GeForce GTX 1050 Ti yields the following:

55c053cf-b26d-427e-bf62-e1253b1c3a4c (1)

In this case, firfilter (GPU) performance exceeds CPU performance for the other algorithms, which is expected.

However, we do not expectfirfilter to be significantly slower than the other algorithms on Jetson . What potential performance optimizations could help solve this problem?

@gpeyton gpeyton added ? - Needs Triage Need team to review and classify question Further information is requested labels Aug 20, 2021
@github-actions
Copy link

This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.

@github-actions
Copy link

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

@guillaumedavidphd
Copy link

This issue still needs to be investigated.

@github-actions
Copy link

This issue has been labeled inactive-30d due to no recent activity in the past 30 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed. This issue will be labeled inactive-90d if there is no activity in the next 60 days.

@github-actions
Copy link

This issue has been labeled inactive-90d due to no recent activity in the past 90 days. Please close this issue if no further response or action is needed. Otherwise, please respond with a comment indicating any updates or changes to the original issue and/or confirm this issue still needs to be addressed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
? - Needs Triage Need team to review and classify inactive-30d inactive-90d question Further information is requested
Projects
Status: No status
Development

No branches or pull requests

2 participants