9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] fidtab revisited
@ 2003-02-17  7:28 Andrew Simmons
  2003-02-17  7:33 ` rob pike, esq.
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Andrew Simmons @ 2003-02-17  7:28 UTC (permalink / raw)
  To: 9fans

Pondering further on fidtab, I was wondering if anyone had any statistics on
the average and maximum number of fids in the table for any given connection
to u9fs. Since a hash table was considered appropriate, I would guess that
quite a few fids were anticipated, but since the current implementation is
effectively a linked list, I would also guess that there are not that many
in practice. My interest in this is that I'm tooling around with a knock-off
of u9fs running as an NT service serving NT files, mainly as an exercise to
nail down my understanding of how 9p works.

On a slightly related note, ever since reading "The Practice of
Programming", I had vaguely assumed that the pack and unpack routines in
chapter 9 were derived from 9p, but on reading the Plan 9 code it appears
that the marshalling and unmarshalling work is done by a number of
preprocessor macros. I'd be interested to know, if it's not confidential,
where pack and unpack are actually in use, and also why they aren't used in
Plan 9.

And finally. Dan Cross, get back to bed and take some paracetamol and get a
good night's sleep, or I'll ask Jim Choate to go to St. Petersburg with you
as an interpreter.


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

end of thread, other threads:[~2003-02-17 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-17  7:28 [9fans] fidtab revisited Andrew Simmons
2003-02-17  7:33 ` rob pike, esq.
2003-02-17 14:32 ` Russ Cox
2003-02-17 17:59 ` Ronald G. Minnich

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