On Fri, Mar 27, 2020 at 8:45 PM John Allwine <[email protected]> wrote:
>
> I don't intend to toggle a GPIO as fast as possible (except to test), but 
> from a performance standpoint that demonstration seemed to indicate that 
> there are issues with sysfs. Hopefully, libgpiod will prove to be better!

Bartosz explains the differences and improvements that new gpiod
interface provides in this talk:
https://www.youtube.com/watch?v=cdTLewJCL1Y

Essentially, if you need read or set multiple lines, it is faster.
Also, it has an improved way to read events as well.

Slides if you prefer over video:
https://ostconf.com/system/attachments/files/000/001/532/original/Linux_Piter_2018_-_New_GPIO_interface_for_linux_userspace.pdf?1541021776

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/CAEf4M_BwFgyLyvTQ0wpV2dKuv%3Df_DcwUrRGtPwwVT7dxPOKLtQ%40mail.gmail.com.

Reply via email to