9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] 9p & read-ahead
@ 2003-07-31  8:29 steve.simon
  2003-07-31  8:37 ` boyd, rounin
                   ` (3 more replies)
  0 siblings, 4 replies; 9+ messages in thread
From: steve.simon @ 2003-07-31  8:29 UTC (permalink / raw)
  To: 9fans

Hi,

I am thinking of adding read-ahead to a 9p server.
Is this a sensible thing to do? Am I being foolish
and indulging in bloatware or is it a sensible
optimisation?

My server is my Netware client. Directory scans of big
directrories is slow as is copying files. Looking at
iostats it looks like read is at fault. Netware
allows me to read big chunks of files and to scan for
multiple directory entries, So this is fairly easy,

I was planning to add a timeout on the buffer of
a seccond or two, so I don't get stale info.

Anyone any strong views about this?

-Steve


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2003-07-31 23:36 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-31  8:29 [9fans] 9p & read-ahead steve.simon
2003-07-31  8:37 ` boyd, rounin
2003-07-31  9:44 ` Bruce Ellis
2003-07-31  9:50   ` boyd, rounin
2003-07-31 20:52   ` rog
2003-07-31 11:27 ` [9fans] " Jim Choate
2003-07-31 15:07   ` splite
2003-07-31 16:04     ` Jack Johnson
2003-07-31 23:36 ` [9fans] " Geoff Collyer

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).