On Tuesday 25 January 2005 06:40 am, Blaisorblade wrote:

> > Host is swapping, client configured without even support for swap.  (If I
> > can get the darn client vmlinux down to 1 megabyte, I'd be thrilled.
> > Didn't somebody once make the entire block layer configurable out once?
> > With hostfs, I don't need it...)
>
> Do you trust hostfs so much? You don't need user IDs on your FS, I guess.

Once I get /dev on ramfs managed by udev?  Not really, no.  I need the 
permissions to be right, but just about everything else should belong to 
root.  (Yeah, there are a couple fun tricks where files change their 
ownership to some variant of "nobody" to do chroot jails and stuff, but they 
do that at runtime...) 

I've probably missed one or two instances, but I expect I can work around 
'em...

> I'm not at all happy with this, but I don't want someone using hostfs over
> its possibilities. NFS is much better, anyway.

NFS gives me hives (a stateless fileserver: okay, spot the contradiction in 
terms here), although I must admit I haven't tried the new TCP/IP based 
version (V4?) yet because it wasn't finished last time I tried.

> And somebody says it's also 
> faster (and since hostfs does limited caching, it makes sense - hostfs must
> avoid having any inode cache, since it closes the host fd only when the
> inode is evicted from the cache; I don't think it's possible to cache data
> without an inode to link to, so it's clear it's slow).

Since the host is cacheing the data for us, not having a redundant cache 
sounds like a good idea to me.  Admittedly, it's more syscalls, but less 
memory consumption...

Rob


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
User-mode-linux-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

Reply via email to