lkml.org 
[lkml]   [1997]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectUnix domain sockets being slooooooooooooooooooooooooowwwwwwwww
Hi!

I wold like to have some _usable_ interrprocess comunications under
linux. Tough.

sys V IPC messages are broken by design. Too bad.

system build over shared memory and sys V semaphores - insecure, and
only marginaly faster than sys V messages.

unix domain sockets would be usable, but they are slow. My test was
'ping-pong' with 10^6 messages (really short ones - 1 byte). With
messages, it took ~1:30, with unix domain sockets it was ~3 minutes
(which is 2 times slower) and number of task switches was 2259000
instead of 2000108 with ipc messages, and with much more time spent in
scheduler.

Does anybody have idea what is going on? I would like to make unix
domain socket faster, so they are usable as ipc messages.

Pavel

--
I'm really pavel@atrey.karlin.mff.cuni.cz. Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

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