9fans archive / 2006 / 09 / 342 prev next
From: Francisco J Ballesteros <nemo@lsu...>
Subject: Why are some apps so slow?
Date: Sat, 23 Sep 2006 15:47:20 +0200
But in many cases the files read are small, and keeping the
fd open would not help. Just curiosity, anyway.
On 9/23/06, Russ Cox <rsc@swt...> wrote:
> > Anyone actually studied this? Anyone considered replacing this with, say,
> > put/get rpcs that do it all? In some cases there are multiple read (or write),
> > rounds, but many times, I see the 4 rpcs just to get a bunch of bytes.
> > This was a concern for us while using omero across slow network links.
>
> Of course, one easy solution to this is to keep the file descriptor
> open for more than one read or write. Then it's just one round trip.
>
> Russ
>
>