Why Jetson nano takes ~2sec to toggle the gpio with IOCTL interface?

please see-also Topic 144550, for several ways to access GPIOs. such as, kernel APIs, python scripts, C++ samples.