All of lore.kernel.org
 help / color / mirror / Atom feed
From: John Fremlin <chief@bandits.org>
To: Manfred Spraul <manfred@colorfullife.com>
Cc: <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] zero^H^H^H^Hsingle copy pipe
Date: 07 May 2001 18:01:35 +0100	[thread overview]
Message-ID: <m2n18p9jps.fsf@boreas.yi.org.> (raw)
In-Reply-To: <3AF3FA84.AA76CF89@colorfullife.com> <m2wv7vk2xi.fsf@boreas.yi.org.> <3AF45FAB.595951F8@colorfullife.com> <m2k83vjyrz.fsf@boreas.yi.org.> <3AF473F8.F01EF82A@colorfullife.com>
In-Reply-To: <3AF473F8.F01EF82A@colorfullife.com>


[Stuff about NetBSD pipes snipped]

I'm testing out Manfred's patch for zero copy pipes, and haven't
crashed it yet.

My hardware is a AMD K6-2 (stepping 1) on an ALi M1541 with 320 Mb -
one quite slow 64 Mb stick and one fast 256 Mb stick.

The lmbench bw_pipe showed a performance improvement of about 30% from
45 (+- 2) Mb/s to 59.5 (+-0.6) Mb/s.

The lmbench (2beta3) lat_pipe showed a performance improvement of
about 20% from a latency of about 27 (+- 1) usec to about 22.4 (+-.6)
usec. There was one outlyer amoung the 10 non zc pipe runs - 25
usec. For zc, the first run was always about 25 usec and after that
very stable around 22 usec.

FWIW the system time from "time" when running (bw_pipe;lat_pipe) 10
times in a row *increased* by 50%, from sys 0m18.740s to sys
0m31.660s. 

Script:
for i in 1 2 3 4 5 6 7 8 9 10; do ./bw_pipe; ./lat_pipe; done

Non zero copy:

real    0m49.602s
user    0m10.170s
sys     0m18.740s

Zero copy run 1:

real    0m47.901s
user    0m10.390s
sys     0m31.660s

Zero copy run 2:

real    0m47.492s
user    0m10.600s
sys     0m31.340s

-- 

	http://ape.n3.net

  parent reply	other threads:[~2001-05-07 17:02 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-05-05 13:05 [PATCH] zero^H^H^H^Hsingle copy pipe Manfred Spraul
     [not found] ` <m2wv7vk2xi.fsf@boreas.yi.org.>
     [not found]   ` <3AF45FAB.595951F8@colorfullife.com>
     [not found]     ` <m2k83vjyrz.fsf@boreas.yi.org.>
     [not found]       ` <3AF473F8.F01EF82A@colorfullife.com>
2001-05-07 17:01         ` John Fremlin [this message]
     [not found] <mailman.989055541.17259.linux-kernel2news@redhat.com>
2001-05-07 16:15 ` Ben LaHaise
2001-05-07 16:35   ` Manfred Spraul
2001-05-07 16:49     ` Ben LaHaise
2001-05-07 23:04       ` David S. Miller
2001-05-07 23:05     ` David S. Miller
     [not found] <E14wscv-00046J-00@the-village.bc.nu>
2001-05-07 21:48 ` Manfred Spraul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2n18p9jps.fsf@boreas.yi.org. \
    --to=chief@bandits.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=manfred@colorfullife.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.