From: andrey mirtchovski <mirtchov@cpsc.ucalgary.ca>
To: 9fans@cse.psu.edu
Subject: Re: [9fans] writing code
Date: Fri, 18 Feb 2005 11:27:47 -0700 [thread overview]
Message-ID: <d747ed48f1f6f19b8c0d702099b7be78@plan9.ucalgary.ca> (raw)
[-- Attachment #1: Type: text/plain, Size: 1424 bytes --]
NOTE: i originally sent this message (successfuly, according to
plan9.ucalgary's mail server) but since it took so long i'll just
assume some filter decided fcp.c was spam. i've gzipped it now.
sorry if you get double copies.
andrey
--- original message follows ---
> if you want to experiment, i've attached a version of the Inferno
> cp(1) called "streamcp" that uses this technique to try to speed up
> file transfer; it allows you to specify the number of concurrent reads
> and writes.
attached is the same idea for plan9, done by Aki Nyrhinen (with a
little help from me integrating it with the official plan9 cp). it
speeds up copy from sources up to tenfold in some occasions. has
reasonable speed locally.
i heard ioproc is even faster.
% time cp /n/sources/extra/sun.tgz /dev/null
0.00u 0.02s 19.91r cp /n/sources/extra/sun.tgz /dev/null
% time cp /n/sources/extra/sun.tgz /dev/null
0.00u 0.03s 20.35r cp /n/sources/extra/sun.tgz /dev/null
% time cp /n/sources/extra/sun.tgz /dev/null
0.00u 0.03s 19.93r cp /n/sources/extra/sun.tgz /dev/null
% time fcp /n/sources/extra/sun.tgz /dev/null
0.00u 0.01s 4.36r fcp /n/sources/extra/sun.tgz /dev/null
% time fcp /n/sources/extra/sun.tgz /dev/null
0.00u 0.00s 5.31r fcp /n/sources/extra/sun.tgz /dev/null
% time fcp /n/sources/extra/sun.tgz /dev/null
0.00u 0.04s 5.36r fcp /n/sources/extra/sun.tgz /dev/null
[-- Attachment #2: fcp.c.gz --]
[-- Type: application/octet-stream, Size: 1482 bytes --]
next reply other threads:[~2005-02-18 18:27 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-02-18 18:27 andrey mirtchovski [this message]
2005-02-18 18:35 ` rog
2005-02-18 18:53 ` andrey mirtchovski
2005-02-18 20:57 ` rog
2005-02-18 20:39 ` Charles Forsyth
2005-02-18 21:05 ` andrey mirtchovski
-- strict thread matches above, loose matches on Subject: below --
2005-03-01 16:29 Roland Dowdeswell
2005-02-18 7:45 Skip Tavakkolian
2005-02-17 17:53 [9fans] Evolving rio / GUI development Russ Cox
2005-02-17 22:21 ` [9fans] writing code rog
2005-02-17 22:29 ` Ronald G. Minnich
2005-02-18 1:27 ` Russ Cox
2005-02-18 4:48 ` Ronald G. Minnich
2005-02-18 4:51 ` lucio
2005-02-18 18:22 ` rog
2005-02-18 19:05 ` Paul Lalonde
2005-02-18 19:21 ` rog
2005-02-21 7:10 ` Kenji Okamoto
2005-02-21 7:26 ` Tiit Lankots
2005-02-21 7:48 ` Kenji Okamoto
2005-02-21 8:00 ` Tiit Lankots
2005-02-21 23:49 ` rog
2005-03-01 1:30 ` Kenji Okamoto
2005-02-21 10:08 ` Richard Miller
2005-02-21 10:09 ` Steve Simon
2005-02-18 21:09 ` Ronald G. Minnich
2005-02-18 4:58 ` Paul Lalonde
2005-02-18 5:12 ` andrey mirtchovski
2005-02-18 14:57 ` Ronald G. Minnich
2005-02-18 5:01 ` Ronald G. Minnich
2005-02-18 19:34 ` Tim Newsham
2005-02-18 19:49 ` David Leimbach
2005-02-18 19:59 ` Christopher Nielsen
2005-02-18 21:36 ` rog
2005-02-18 22:14 ` Christopher Nielsen
2005-02-19 9:15 ` David Leimbach
2005-02-19 20:20 ` Bruce Ellis
2005-05-08 16:15 ` Ralph Corderoy
2005-02-17 22:52 ` Charles Forsyth
2005-02-17 23:12 ` rog
2005-02-17 22:52 ` Christopher Nielsen
2005-02-17 23:02 ` boyd, rounin
2005-02-18 0:20 ` jmk
2005-02-18 0:54 ` boyd, rounin
2005-02-17 23:04 ` Ronald G. Minnich
2005-02-17 23:07 ` rog
2005-02-17 23:17 ` Christopher Nielsen
2005-02-17 23:33 ` rog
2005-02-17 23:42 ` Russ Cox
2005-02-18 0:07 ` Steve Simon
2005-02-18 1:20 ` Russ Cox
2005-02-18 9:53 ` C H Forsyth
2005-02-18 12:17 ` boyd, rounin
2005-02-18 4:21 ` Russ Cox
2005-02-18 16:03 ` rog
2005-02-18 16:04 ` rog
2005-02-18 18:52 ` rog
2005-02-18 19:01 ` Russ Cox
[not found] ` <53b78d28ce9ff18f6dc22cc280fc92ef@quintile.net>
2005-02-21 15:54 ` Russ Cox
2005-02-18 19:50 ` Charles Forsyth
2005-02-18 20:42 ` rog
2005-02-18 20:32 ` Charles Forsyth
2005-02-18 21:06 ` rog
2005-02-18 21:49 ` McLone
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=d747ed48f1f6f19b8c0d702099b7be78@plan9.ucalgary.ca \
--to=mirtchov@cpsc.ucalgary.ca \
--cc=9fans@cse.psu.edu \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).