Re: Are Linux pipes slower than the FreeBSD ones ?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Wednesday, March 5, 2008 - 7:20 am

On Wednesday 05 March 2008 20:47, Eric Dumazet 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



I wonder if FreeBSD doesn't allocate their pipe buffers from kernel
addressable memory. We could do this to eliminate the cost completely
on highmem systems (whether it is a good idea I don't know, normally
you'd actually do a bit of work between reading or writing from a
pipe...)



Just say no to dnotify.



Dumb question: anyone know why pipe.c calls this?


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Are Linux pipes slower than the FreeBSD ones ?, Antipov Dmitry, (Wed Mar 5, 12:46 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, David Miller, (Wed Mar 5, 1:00 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Eric Dumazet, (Wed Mar 5, 2:47 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Andi Kleen, (Wed Mar 5, 3:19 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, David Newall, (Wed Mar 5, 5:12 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Wed Mar 5, 7:20 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Eric Dumazet, (Wed Mar 5, 7:55 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Wed Mar 5, 8:38 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Wed Mar 5, 9:02 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Dmitry Antipov, (Thu Mar 6, 5:11 am)
Re: Are Linux pipes slower than the FreeBSD ones ?, Nick Piggin, (Mon Mar 17, 5:53 am)