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

The running time with vulkan in jetson nano is much slower than yours #2

Open
twmht opened this issue Mar 16, 2022 · 2 comments
Open

Comments

@twmht
Copy link

twmht commented Mar 16, 2022

Trying to run benchncnn in jetson nano (Jetpack 4.6) with vulkan.

ncnn version is latest.

But the running time is much slower than yours

Here are my result

image

Any idea?

@nihui
Copy link
Owner

nihui commented Mar 16, 2022

the data is collected from Tencent/ncnn#3485

https://qengineering.eu/install-ncnn-on-jetson-nano.html
Note, during the test the Jetson Nano CPU was overclocked to 2014.5 MHz and the GPU to 998.4 MHz.

@Qengineering
Copy link

There are several options to maximize the performance of the benchmark.
There are several options to maximize the performance of the benchmark.
First, wait 10 minutes after boot up. It gives Ubuntu (Tegra) the time to do all the administrative tasks like looking for updates etc.
Second, set the power to 10 Watts, something you've probably already done.
Thirdly, set all the governors at performance.

$ sudo echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
$ sudo echo "performance" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
$ sudo echo "performance" > /sys/devices/system/cpu/cpu2/cpufreq/scaling_governor
$ sudo echo "performance" > /sys/devices/system/cpu/cpu3/cpufreq/scaling_governor

You can temporarily shut down the graphic stack or start overclocking. Both methods are not used here.
The results with a Jetson Nano 4 GB running at a normal clock speed of 1479 MHz CPU and 921.6 MHz GPU.

BenchNCNN

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

3 participants