* [9fans] Thank you very much
@ 2007-04-11 17:21 Adriano Verardo
2007-04-12 14:22 ` Russ Cox
0 siblings, 1 reply; 4+ messages in thread
From: Adriano Verardo @ 2007-04-11 17:21 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
First of all, thank you very much to all who, with their suggestions and
comments, kindly helped me in understanding 9P2000.
I think that metadata can be a good solution for me. I agree that's
gross but can be acceptable in some particular situations. All the more,
it doesn't necessarily exclude the incidental use of normal clients too.
Let me issue another question.
Beeing constrained to mount small file server on FreeBSD-p9p the high
number (up to 8630) of cached fids can be a problem.
Is it configurable ?
Thanks
Adriano
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Thank you very much
2007-04-11 17:21 [9fans] Thank you very much Adriano Verardo
@ 2007-04-12 14:22 ` Russ Cox
2007-04-12 16:45 ` Jack Johnson
0 siblings, 1 reply; 4+ messages in thread
From: Russ Cox @ 2007-04-12 14:22 UTC (permalink / raw)
To: 9fans
> Let me issue another question.
>
> Beeing constrained to mount small file server on FreeBSD-p9p the high
> number (up to 8630) of cached fids can be a problem.
>
> Is it configurable ?
You're actually mounting the file system as a
FUSE file system, via the 9pfuse protocol converter.
The problem here is that the FreeBSD FUSE kernel
module is not issuing FUSE_FORGET (like Tclunk)
messages as aggressively as it could.
On Linux, if FUSE walks the same path twice and gets
different nodeids (like fids), then it tosses away one of
them -- no point caching them both -- but FreeBSD
appears to keeps them both in the cache.
You'd have to ask the fuse4bsd guys about this behavior.
Russ
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Thank you very much
2007-04-12 14:22 ` Russ Cox
@ 2007-04-12 16:45 ` Jack Johnson
2007-04-12 17:18 ` Russ Cox
0 siblings, 1 reply; 4+ messages in thread
From: Jack Johnson @ 2007-04-12 16:45 UTC (permalink / raw)
To: Fans of the OS Plan 9 from Bell Labs
On 4/12/07, Russ Cox <rsc@swtch.com> wrote:
> You'd have to ask the fuse4bsd guys about this behavior.
Any idea what the Mac FUSE behavior is?
-Jack
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [9fans] Thank you very much
2007-04-12 16:45 ` Jack Johnson
@ 2007-04-12 17:18 ` Russ Cox
0 siblings, 0 replies; 4+ messages in thread
From: Russ Cox @ 2007-04-12 17:18 UTC (permalink / raw)
To: 9fans
> Any idea what the Mac FUSE behavior is?
MacFUSE does not reissue lookups for names
already in the vnode cache. So if you do
ls -l
ls -l
Only the first will look up every name; the
second will repeat the getattrs, but not the lookups.
Russ
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-12 17:18 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-11 17:21 [9fans] Thank you very much Adriano Verardo
2007-04-12 14:22 ` Russ Cox
2007-04-12 16:45 ` Jack Johnson
2007-04-12 17:18 ` Russ Cox
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).