From: "Francisco J Ballesteros" <nemo@lsub.org>
To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu>
Subject: Re: [9fans] Why are some apps so slow?
Date: Sat, 23 Sep 2006 17:00:50 +0200 [thread overview]
Message-ID: <8ccc8ba40609230800k3bdb5aabq391f71112fc1debf@mail.gmail.com> (raw)
In-Reply-To: <ee9e417a0609230755k5c375fbcr9ad62fbc529479ac@mail.gmail.com>
I mean, many times a program reads a small file once.
You have to open it, and once it has been read, you do not
want to read it again. Leaving it open would not help.
On 9/23/06, Russ Cox <rsc@swtch.com> wrote:
> > But in many cases the files read are small, and keeping the
> > fd open would not help. Just curiosity, anyway.
>
> Why wouldn't keeping the fd open help?
> It would get rid of the walk, open, and close,
> 3 of the 4 messages you were trying to get down to 1.
>
> Rsus
>
>
prev parent reply other threads:[~2006-09-23 15:00 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-09-22 5:31 John Floren
2006-09-22 5:54 ` Skip Tavakkolian
2006-09-22 6:08 ` Anselm R. Garbe
2006-09-22 11:43 ` erik quanstrom
2006-09-22 13:49 ` jmk
2006-09-22 15:02 ` C H Forsyth
2006-09-22 20:21 ` Francisco J Ballesteros
2006-09-23 13:32 ` Russ Cox
2006-09-23 13:47 ` Francisco J Ballesteros
2006-09-23 14:55 ` Russ Cox
2006-09-23 15:00 ` Francisco J Ballesteros [this message]
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=8ccc8ba40609230800k3bdb5aabq391f71112fc1debf@mail.gmail.com \
--to=nemo@lsub.org \
--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).