lkml.org 
[lkml]   [1997]   [Oct]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    SubjectRe: Unix domain sockets being slooooooooooooooooooooooooowwwwwwwww
    Date
    > 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.

    Unix domain sockets are fast for bulk delivery of data, SYS5 messages
    are fast for message passing. To do extremely fast message passes
    with low contention cases use spinlocks, shared memory and signals. The
    locks are arch specific, but thats easily localised

    Alan


    \
     
     \ /
      Last update: 2005-03-22 13:40    [W:0.018 / U:0.784 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site