mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* NFS client problem and IO blocksize
@ 2003-01-22 10:33 Oliver Tennert
  2003-01-22 13:06 ` Trond Myklebust
  0 siblings, 1 reply; 6+ messages in thread
From: Oliver Tennert @ 2003-01-22 10:33 UTC (permalink / raw)
  To: linux-kernel, trond.myklebust; +Cc: kw


Hi,

I sem to have a problem with a 2.4.20 kernel + Trond's NFS client patches
+ some of Neil Brown's server patches.

The problem seems to be restricted to NFS client functionality, though, as
it also occurs when the NFS server is a totally different platform.

The problem is that the rsize/wsize options seem to be ignored:

hal9000:/home/tennert # mount -o nfsvers=3,udp,rsize=1024,wsize=1024
ilka2000:/scr /mnt
hal9000:/home/tennert # stat /mnt/Snatch.avi 
  File: `/mnt/Snatch.avi'
  Size: 724893696       Blocks: 1415816    IO Block: 4096   Regular File

hal9000:/home/tennert # umount /mnt
hal9000:/home/tennert # mount -o nfsvers=3,udp,rsize=8192,wsize=8192
ilka2000:/scr /mnt
hal9000:/home/tennert # stat /mnt/Snatch.avi 
  File: `/mnt/Snatch.avi'
  Size: 724893696       Blocks: 1415816    IO Block: 4096   Regular File

hal9000:/home/tennert # umount /mnt
hal9000:/home/tennert # mount -o nfsvers=3,udp,rsize=32768,wsize=32768
ilka2000:/scr /mnt
hal9000:/home/tennert # stat /mnt/Snatch.avi 
  File: `/mnt/Snatch.avi'
  Size: 724893696       Blocks: 1415816    IO Block: 4096   Regular File

If TCP instead of UDP is taken as transport protocol, the behaviour is
still the same, i.e. the IO blocksize of the file does not change at all!

In this case the underlying physical file system is XFS.

Beware! I don't think the NFS server is to blame, because (with different
client machines and same kernel ) I get the same behaviour when the NFS
server platform is AIX, e.g.

It also occurred (on an older installation) that if the rsizw/wsize is
taken very small, e.g. 512 or 1024 Byte, a listing of the directory fails
to show any files at all, although the mount worked well.

Could you help me any further?

Best regards

Oliver 

		   Dr. Oliver Tennert
                    
  		   +49 -7071 -9457-598
                          
 		   e-mail: O.Tennert@science-computing.de
  		   science + computing AG
  		   Hagellocher Weg 71                  
   		   D-72070 Tuebingen                  
                                     



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

end of thread, other threads:[~2003-01-22 15:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-01-22 10:33 NFS client problem and IO blocksize Oliver Tennert
2003-01-22 13:06 ` Trond Myklebust
2003-01-22 13:35   ` Oliver Tennert
2003-01-22 13:41     ` Trond Myklebust
2003-01-22 14:18       ` Oliver Tennert
2003-01-22 15:32         ` Trond Myklebust

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®