Page 1 of 1

creating two separate device file streams

PostPosted:
by kevin
Will using two separate device nodes (O_RDONLY and O_WRONLY) instead of just one device node (O_RDWR) help in improving the bandwidth performance ?

change the use of (/dev/xillybus_read_128 and /dev/xillybus_write_128) to /dev/xillybus_128

I cannot possibly try this out without modifying and recompiling https://github.com/torvalds/linux/blob/master/drivers/char/xillybus/xillybus_core.c#L1861

Would you be able provide your own personal insight into this question ?

Re: creating two separate device file streams

PostPosted:
by support
Hello,

The organization of device files into read-only, write-only or bidirectional has no impact on performance or otherwise. Under the hood, each direction has an independent transport mechanism, this way or another.

Regards,
Eli