test 1G data transfer and add EINTR/EAGAIN