From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <8ccc8ba40609230647p4445affar3ca7969bbe9a869@mail.gmail.com> Date: Sat, 23 Sep 2006 15:47:20 +0200 From: "Francisco J Ballesteros" To: "Fans of the OS Plan 9 from Bell Labs" <9fans@cse.psu.edu> Subject: Re: [9fans] Why are some apps so slow? In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7d3530220609212231g4110c06ev96875a43c13ce968@mail.gmail.com> <8ccc8ba40609221321w3dd7dc55m6747aa3c67d057cd@mail.gmail.com> Topicbox-Message-UUID: c00a3f26-ead1-11e9-9d60-3106f5b1d025 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 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 > >