Avviare nfsd
Carlo
magnifex a infinito.it
Mar 25 Feb 2003 17:47:30 UTC
> Conclusione: allora mi dite che per fare da _SERVER_ NFS bisogna
> aver compilato nel kernel il supporto come server. Che cosa buffa, passare
> da user space a kernel space. Ne conoscete la filosofia?
Si passa a kernel space per aumentare la velocità delle applicazioni:
principalmente si risparmia il tempo speso nel passaggio tra user-mode e
kernel-mode, quando si chiama una funzione del kernel (read,write, etc.), il
guadagno in termini di velocità può essere notevole, anche se può avere i
suoi difetti. (puoi leggerti a riguardo i pro e i contro l'introduzione di un
mini web-server nel kernel di linux (kernel httpd acceleration) (khttpd)) .
Ex: la Microsoft ha deciso di includere, per velocizzarla,se non sbaglio,parte
della gestione della grafica in kernel space.
Se ti può servire, l'help sul NFSD:
NFS server support
CONFIG_NFSD
If you want your Linux box to act as an NFS *server*, so that other
computers on your local network which support NFS can access certain
directories on your box transparently, you have two options: you can
use the self-contained user space program nfsd, in which case you
should say N here, or you can say Y and use the kernel based NFS
server. The advantage of the kernel based solution is that it is
faster.
In either case, you will need support software; the respective
locations are given in the file <file:Documentation/Changes> in the
NFS section.
If you say Y here, you will get support for version 2 of the NFS
protocol (NFSv2). If you also want NFSv3, say Y to the next question
as well.
Please read the NFS-HOWTO, available from
<http://www.tldp.org/docs.html#howto>.
The NFS server is also available as a module ( = code which can be
inserted in and removed from the running kernel whenever you want).
The module is called nfsd.o. If you want to compile it as a module,
say M here and read <file:Documentation/modules.txt>. If unsure,
say N.
Carlo
Maggiori informazioni sulla lista
Lug
|