[lkml]   [2001]   [Jan]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: PROBLEM: select() on TCP socket sleeps for 1 tick even if data available
    > It's not the select that waits. It's a delay in the tcp send
    > path waiting for more data. Try disabling it:
    > int f=1;
    > setsockopt(s, SOL_TCP, TCP_NODELAY, &f, sizeof(f));

    Bingo! With this fix, 2.2.18 performance becomes almost identical to 2.4.0
    performance. I assume 2.4.0 disables Nagle by default on local


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:15    [W:0.232 / U:2.588 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site