Mutex free Pipes

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I've been conducting research using a libraryOS that I've designed
that uses a mutex free FIFO to implement pipes while adhering to
Linux's API. I found that this can increase throughput by close to 3X,
and that most of the overhead is due to the pipe's mutex preventing
concurrent writes and reads. I see that there is a similar
implementation to this used in the kernel provided in kfifo.h which
could possibly be used to improve this.

I couldn't find much information about why Linux doesn't employ a
strategy like this and was hoping for some feedback. This is my first
time posting here, appreciate any responses!

Thanks!




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux