lkml.org 
[lkml]   [1998]   [Jul]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Kernel-bound applications?
> I am trying to write a list of common applications that are
> performance-bound by the kernel. Note that this is distinct from
> applications that are bound by the _hardware_ (e.g. standard
> Ethernet cannot be made to transfer data faster than 10 Mbps),
> including the CPU (e.g. floating point code).

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

\
 
 \ /
  Last update: 2005-03-22 13:43    [W:0.065 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site