I'm working on a couple methods of optimizing local X Windows
communications. On my machine, it takes something like 100-300
useconds to do reads/writes over a Unix domain socket whereas
copying data via a shared, mmap()ed file (using file locking to
synchronize) takes about 30 useconds.
So, I'm looking at ways of speeding up Unix domain sockets (I'm also
looking at writing an shared memory xtrans driver, but that is
probably less practical and off-topic). It seems to me that
the slow down comes from the buffers that are allocated every
time a read or write is called. But I haven't done enough testing
to be sure of this.
Anyone have any thoughts on this subject? Has anyone looked into
this before?
-- Kirk Petersen www.speakeasy.org/~kirk/- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html