creating two separate device file streams

Questions and discussions about the Xillybus IP core and drivers

creating two separate device file streams

Postby 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 ?
kevin
 
Posts: 43
Joined:

Re: creating two separate device file streams

Postby 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
support
 
Posts: 802
Joined:


Return to Xillybus

cron