lkml.org 
[lkml]   [2008]   [Mar]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: Are Linux pipes slower than the FreeBSD ones ?
    Nick Piggin wrote:

    > One thing to try is pinning both processes on the same CPU. This
    > may be what the FreeBSD scheduler is preferring to do, and it ends
    > up being really a tradeoff that helps some workloads and hurts
    > others. With a very unscientific test with an old kernel, the
    > pipe.c test gets anywhere from about 1.5 to 3 times faster when
    > running it as taskset 1 ./pipe

    Sounds interesting. What kernel version did you tried? Can you
    send your .config to me?

    I've tried this trick on 2.6.25-rc4, and got ~20% more throughput for
    large (> 8K) buffers at the cost of going ~30% down for the small ones.

    Dmitry


    \
     
     \ /
      Last update: 2008-03-06 13:23    [W:5.337 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site