Re: 2.5.50-BK + 24 CPUs

Manfred Spraul (manfred@colorfullife.com)
Sun, 08 Dec 2002 22:22:03 +0100


Anton wrote:

>schedules:
> 56283 total
> 41984 pipe_wait
> 9746 do_work
> 1949 do_exit
> 1834 sys_wait4
>
>ie during the compile we scheduled 56283 times, and 41984 of them were
>caused by pipes.
>
The linux pipe implementation has only a page sized buffer - with 4 kB
pages, transfering 1 MB through a pipe means at 512 context switches.

--
    Manfred

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/