lkml.org 
[lkml]   [2004]   [May]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectA question about disk-cacheing
Dear list members in linux-kernel!

I had the following experiences with linux network file system clients.
Under Intel P4 machine, Linux Debain Sarge distribution and Linux-2.6.5
kernel i tried to use a Novell Server shrared volumes, and i used the
ncpfs package for this purpose. This ncpfs package works very good, i
can read/write Novell's shared directories from my linux host, in a
10-12 user intra network with 2-4 MB/sec. I have a database application
which stores it's data in files, instead of an SQL or any type of
database servers. When i store that files in a Novell file server, that
application is very slow. I set up an another linux box with a Samba
file server, and tested that with the same data files and in this case
it run 6-8 times faster than with Novell/ncpfs client. I've spied the
communication between client/server with network performance monitors,
and it had been found out that the ncpfs client have 6-8 times bigger
network traffic than the smbfs client. It seems to me that smbfs caches
the files and this makes it's network traffic much less than on the
other case. The mount option sync and async had no effect on ncpmount.
My question is:
Who is responsible for file caching? The linux kernel, the kernel
filesystem drivers, or something else? Does file caching works different
on a local ext2,reiser and on a network nfs,smbfs,ncpfs file system?

Yours Faithfully!
Tibor Kendl


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.031 / U:0.704 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site