cusignal icon indicating copy to clipboard operation
cusignal copied to clipboard

[QST] firfilter performance on Jetson

Open gpeyton opened this issue 4 years ago • 5 comments

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 avatar Aug 20 '21 15:08 gpeyton

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[bot] avatar Nov 23 '21 20:11 github-actions[bot]

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[bot] avatar Dec 23 '21 21:12 github-actions[bot]

This issue still needs to be investigated.

guillaumedavidphd avatar Jan 12 '22 02:01 guillaumedavidphd

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[bot] avatar Feb 11 '22 04:02 github-actions[bot]

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[bot] avatar May 12 '22 04:05 github-actions[bot]