Linux kernel drivers run on CORE 0

Post Reply
User avatar
Digimaster
Posts: 226
Joined: Tue Feb 26, 2013 4:16 pm
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+
Location: Moscow, Russia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Linux kernel drivers run on CORE 0

Post by Digimaster »

Hello everyone!
On my Debian Jessie XU4 the linux driver tightened to the first little core 0, which is limiting I/O rate for /dev/video0
How can I persuade Linux to run kernel drivers on big CPU?

mad_ady
Posts: 8831
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 531 times
Contact:

Re: Linux kernel drivers run on CORE 0

Post by mad_ady »

You may be able to change the big/little order if you change the cpu order in the dtb so that cpu0-3 are the big cores.
These users thanked the author mad_ady for the post:
Digimaster (Sat Nov 07, 2020 12:07 am)

User avatar
Digimaster
Posts: 226
Joined: Tue Feb 26, 2013 4:16 pm
languages_spoken: english, russian
ODROIDs: U2, X2, U3, C1, C2, XU4 × 300+
Location: Moscow, Russia
Has thanked: 1 time
Been thanked: 1 time
Contact:

Re: Linux kernel drivers run on CORE 0

Post by Digimaster »

Thank you mad_ady for the idea. I like it except dtb editing is a bit tricky to me.
Probably someone tell there is another way exists? If not will see dtb editing method.

mad_ady
Posts: 8831
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 586 times
Been thanked: 531 times
Contact:

Re: Linux kernel drivers run on CORE 0

Post by mad_ady »

DTB editing is tricky for everyone the first few times. Make sure to keep a backup of the original dtb in case it fails to boot.

Post Reply

Return to “Other OS”

Who is online

Users browsing this forum: No registered users and 1 guest