7270 nfsd mehr wie 8192 r/w-size?

Jo, bei mir klappt das in Verbindung mit der Kathi UFS910 und Enigma2 gut, einige Files, unter anderem eine DVD im .iso Container läuft ohne ruckeln.
DVD aus einem .vob laufen auch besser.
Vieleicht sollte ich auch mal cifs probieren, mit nfs gibt es, warum auch immer ab und an mal Probleme.
Code:
Results for write throughput:

11.184 Mbit/s or 1.398 Mb/s with wsize=49152

11.184 Mbit/s or 1.398 Mb/s with wsize=32768

9.942 Mbit/s or 1.242 Mb/s with wsize=16384

8.947 Mbit/s or 1.118 Mb/s with wsize=8192

8.388 Mbit/s or 1.048 Mb/s with wsize=65536

6.242 Mbit/s or .780 Mb/s with wsize=4096



Results for read throughput:

20.648 Mbit/s or 2.581 Mb/s with rsize=65536

19.173 Mbit/s or 2.396 Mb/s with rsize=49152

17.895 Mbit/s or 2.236 Mb/s with rsize=32768

17.895 Mbit/s or 2.236 Mb/s with rsize=16384

13.421 Mbit/s or 1.677 Mb/s with rsize=8192

9.942 Mbit/s or 1.242 Mb/s with rsize=4096
Code:
Ergebnisse mit Freetz Trunk 4279 vom 05.02.2010

Results for write throughput:

26.843 Mbit/s or 3.355 Mb/s with udp,sync,wsize=16384

26.843 Mbit/s or 3.355 Mb/s with udp,async,wsize=8192

26.843 Mbit/s or 3.355 Mb/s with udp,async,wsize=32768

26.843 Mbit/s or 3.355 Mb/s with udp,async,wsize=16384

26.843 Mbit/s or 3.355 Mb/s with tcp,sync,wsize=32768

26.843 Mbit/s or 3.355 Mb/s with tcp,sync,wsize=16384

26.843 Mbit/s or 3.355 Mb/s with tcp,async,wsize=32768

24.403 Mbit/s or 3.050 Mb/s with udp,sync,wsize=8192

24.403 Mbit/s or 3.050 Mb/s with udp,sync,wsize=65536

24.403 Mbit/s or 3.050 Mb/s with udp,sync,wsize=49152

24.403 Mbit/s or 3.050 Mb/s with udp,sync,wsize=32768

24.403 Mbit/s or 3.050 Mb/s with udp,async,wsize=65536

24.403 Mbit/s or 3.050 Mb/s with udp,async,wsize=49152

24.403 Mbit/s or 3.050 Mb/s with tcp,sync,wsize=8192

24.403 Mbit/s or 3.050 Mb/s with tcp,sync,wsize=65536

24.403 Mbit/s or 3.050 Mb/s with tcp,sync,wsize=49152

24.403 Mbit/s or 3.050 Mb/s with tcp,async,wsize=8192

24.403 Mbit/s or 3.050 Mb/s with tcp,async,wsize=65536

24.403 Mbit/s or 3.050 Mb/s with tcp,async,wsize=49152

24.403 Mbit/s or 3.050 Mb/s with tcp,async,wsize=4096

24.403 Mbit/s or 3.050 Mb/s with tcp,async,wsize=16384

22.369 Mbit/s or 2.796 Mb/s with udp,async,wsize=4096

22.369 Mbit/s or 2.796 Mb/s with tcp,sync,wsize=4096

20.648 Mbit/s or 2.581 Mb/s with udp,sync,wsize=4096



.........................................................................
Results for read throughput:

33.554 Mbit/s or 4.194 Mb/s with udp,sync,rsize=8192

33.554 Mbit/s or 4.194 Mb/s with udp,sync,rsize=65536

33.554 Mbit/s or 4.194 Mb/s with udp,sync,rsize=49152

33.554 Mbit/s or 4.194 Mb/s with udp,sync,rsize=32768

33.554 Mbit/s or 4.194 Mb/s with udp,sync,rsize=16384

33.554 Mbit/s or 4.194 Mb/s with udp,async,rsize=8192

33.554 Mbit/s or 4.194 Mb/s with udp,async,rsize=65536

33.554 Mbit/s or 4.194 Mb/s with udp,async,rsize=49152

33.554 Mbit/s or 4.194 Mb/s with udp,async,rsize=32768

33.554 Mbit/s or 4.194 Mb/s with tcp,sync,rsize=8192

33.554 Mbit/s or 4.194 Mb/s with tcp,sync,rsize=65536

33.554 Mbit/s or 4.194 Mb/s with tcp,sync,rsize=49152

33.554 Mbit/s or 4.194 Mb/s with tcp,sync,rsize=16384

33.554 Mbit/s or 4.194 Mb/s with tcp,async,rsize=8192

33.554 Mbit/s or 4.194 Mb/s with tcp,async,rsize=32768

33.554 Mbit/s or 4.194 Mb/s with tcp,async,rsize=16384

29.826 Mbit/s or 3.728 Mb/s with udp,sync,rsize=4096

29.826 Mbit/s or 3.728 Mb/s with udp,async,rsize=4096

29.826 Mbit/s or 3.728 Mb/s with udp,async,rsize=16384

29.826 Mbit/s or 3.728 Mb/s with tcp,sync,rsize=4096

29.826 Mbit/s or 3.728 Mb/s with tcp,sync,rsize=32768

29.826 Mbit/s or 3.728 Mb/s with tcp,async,rsize=65536

29.826 Mbit/s or 3.728 Mb/s with tcp,async,rsize=49152

29.826 Mbit/s or 3.728 Mb/s with tcp,async,rsize=4096
 
Von welcher Box reden wir? Was sagt "cat /proc/fs/nfsd/max_block_size"? Du nutzt das Freetz nfs-cgi?

Gruß
Oliver
 
Box 7270

BusyBox v1.18.4 (2011-04-19 12:55:12 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

root@fritz:/var/mod/root# cat /proc/fs/nfsd/max_block_size
8192
root@fritz:/var/mod/root#

Firmware: 54.04.88freetz-devel-6836M

nfsd-cgi

Firmware-Informationen

Boxtyp
7270_v2
AVM-Firmwareversion
04.88
Sprache
de

Kernelversion
2.6.19.2 (3860) (gcc version 3.4.6)

Freetz-Version
freetz-devel-6836M

Erstellungsdatum
19.04.2011 13:22:17

Ursprünglicher Dateiname
7270_v2_04.88freetz-devel-6836M.de_20110419-132217.image
 
Zuletzt bearbeitet:
Und der nfsd läuft über das cgi? Kannst du mal die Ausgabe von "sh -x /etc/init.d/rc.nfsd start" anhängen? Bitte vorher stoppen.

Gruß
Oliver
 
7270 54.04.88 r6864
Code:
+ DAEMON=nfsd
+ DAEMON_CHECK=portmap nfsd mountd
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : nfsd
+ : nfsd
+ : nfsd_ENABLED
+ : /mod/etc/nfsd.conf
+ : nfsd
+ : /var/run/nfsd.pid
+ [ -n nfsd ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/nfsd.cfg
+ [ ! -r /mod/etc/conf/nfsd.cfg ]
+ . /mod/etc/conf/nfsd.cfg
+ export NFSD_ENABLED=yes
+ PROCNFSD_DIR=/proc/fs/nfsd
+ modlib_start
+ local DAEMON_ENABLED=
+ [  == no ]
+ [  == inetd -a ! -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ [ -n  ]
+ [ -x /etc/init.d/rc.inetd ]
+ echo nfsd_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $NFSD_ENABLED
+ echo yes
+ [ yes == inetd ]
+ [ -n portmap nfsd mountd ]
+ pidof portmap
+ return 3
+ start
+ set -o noglob
+ echo -n Starting nfsd ... 
Starting nfsd ... + [ ! -e /etc/exports ]
+ modprobe nfsd
+ mount -t nfsd nfsd /proc/fs/nfsd
+ [ -e /proc/fs/nfsd/max_block_size ]
+ echo 65536
+ local NFS_DIR=/var/lib/nfs
+ mkdir -p /var/lib/nfs
+ touch /var/lib/nfs/etab
+ touch /var/lib/nfs/rmtab
+ touch /var/lib/nfs/xtab
+ /usr/sbin/portmap
+ exitval1=0
+ /usr/sbin/exportfs -r
+ exitval2=0
+ /usr/sbin/nfsd -p 2047
+ exitval3=0
+ /usr/sbin/mountd
+ exitval4=0
+ [ 0 -eq 0 ]
+ [ 0 -eq 0 ]
+ [ 0 -eq 0 ]
+ [ 0 -eq 0 ]
+ echo done.
done.
+ return 0
+ exit 0

cat /proc/fs/nfsd/max_block_size => 8192
 
Zuletzt bearbeitet:
What's with this command "echo 65536 > /proc/fs/nfsd/max_block_size" executed in your log? Doesn't it change the max?

Regards
Oliver

p.s. Blocksizes are set with -o rsize=...,wsize=...
 
War das nicht schon einmal hier im Forum? Oder Trac? Irgendwas mit dem Kernel war doch da
 
Zuletzt bearbeitet:
I already tried that and something strange happens:

Code:
root@fritz:/var/media/ftp/uData# echo 65536 > /proc/fs/nfsd/max_block_size
[B]6553[/B]root@fritz:/var/media/ftp/uData# cat /proc/fs/nfsd/max_block_size
8192

The first 4 digits '6553' are echoed.
 
What happens if you try to set it to antoher value? e.g. 16KB, 32KB?
 
root@fritz:/var/mod/root# sh -x /etc/init.d/rc.nfsd start
+ DAEMON=nfsd
+ DAEMON_CHECK=portmap nfsd mountd
+ . /etc/init.d/modlibrc
+ export PATH=/sbin:/bin:/usr/sbin:/usr/bin:/mod/sbin:/mod/bin:/mod/usr/sbin:/mod/usr/bin
+ export LD_LIBRARY_PATH=/mod/lib:/mod/usr/lib
+ : nfsd
+ : nfsd
+ : nfsd_ENABLED
+ : /mod/etc/nfsd.conf
+ : nfsd
+ : /var/run/nfsd.pid
+ [ -n nfsd ]
+ modlib_loadconfig
+ local CONF_FILE=/mod/etc/conf/nfsd.cfg
+ [ ! -r /mod/etc/conf/nfsd.cfg ]
+ . /mod/etc/conf/nfsd.cfg
+ export NFSD_ENABLED=yes
+ PROCNFSD_DIR=/proc/fs/nfsd
+ modlib_start
+ local DAEMON_ENABLED=
+ [ == no ]
+ [ == inetd -a ! -x /etc/init.d/rc.inetd ]
+ modlib_check_running
+ [ -n ]
+ [ -x /etc/init.d/rc.inetd ]
+ echo nfsd_ENABLED
+ tr [:lower:]- [:upper:]_
+ eval echo $NFSD_ENABLED
+ echo yes
+ [ yes == inetd ]
+ [ -n portmap nfsd mountd ]
+ pidof portmap
+ return 3
+ start
+ set -o noglob
+ echo -n Starting nfsd ...
Starting nfsd ... + [ ! -e /etc/exports ]
+ modprobe nfsd
+ mount -t nfsd nfsd /proc/fs/nfsd
+ [ -e /proc/fs/nfsd/max_block_size ]
+ echo 65536
+ local NFS_DIR=/var/lib/nfs
+ mkdir -p /var/lib/nfs
+ touch /var/lib/nfs/etab
+ touch /var/lib/nfs/rmtab
+ touch /var/lib/nfs/xtab
+ /usr/sbin/portmap
+ exitval1=0
+ /usr/sbin/exportfs -r
+ exitval2=0
+ /usr/sbin/nfsd -p 2047
+ exitval3=0
+ /usr/sbin/mountd
+ exitval4=0
+ [ 0 -eq 0 ]
+ [ 0 -eq 0 ]
+ [ 0 -eq 0 ]
+ [ 0 -eq 0 ]
+ echo done.
done.
+ return 0
+ exit 0
root@fritz:/var/mod/root#
 
What happens if you try to set it to another value? e.g. 16KB, 32KB?

Exactly the same, the digits are echoed, except for the last one and the value doesn't change.
Even if I try 16KB literally (16K is echoed).
 
It should look like this (posted from cuma, 7270v2, 04.88 ):
Code:
root@F7270:/var/mod/root# mount -t nfsd nfsd /proc/fs/nfsd 
 
root@F7270:/var/mod/root# mount 
nfsd on /proc/fs/nfsd type nfsd (rw) 
 
root@F7270:/var/mod/root# cat  /proc/fs/nfsd/max_block_size 
0 
 
root@F7270:/var/mod/root#  echo 65536 > /proc/fs/nfsd/max_block_size 
 
root@F7270:/var/mod/root# cat  /proc/fs/nfsd/max_block_size 
65536
Regards
Oliver
 
When I tried mounting I realized you can only change the block size when nfsd is stopped. I have updated the wiki page with this information.
 
But this doesn't explain the problem discussed here?

Regards
Oliver
 
However, the problem can be described more exact now.

After a reboot the block size is 8192, after a restart of nsfd the block size is still 8192. After stopping nfsd and executing these commands:

Code:
mount -t nfsd nfsd /proc/fs/nfsd
echo 65536 > /proc/fs/nfsd/max_block_size

and starting nfsd the block size is 65536 and it stays like that after restarting nfsd again.

I have looked already in rc.nfsd and I see nothing wrong, but the block size coded there (65536 too) isn't set (anymore?) for some reason.
 
Yes, it is fixed! Thanks!
 
r6880 is not working, unfortunately:

Code:
root@fritz:/# /usr/sbin/nfsd -p 2047
nfsd: unable to resolve ANYADDR:2047 to inet address: Servname not supported for ai_socktype
nfsd: unable to set any sockets for nfsd
root@fritz:/# modprobe nfsd
modprobe: module nfsd not found in modules.dep

Have been searching to the cause, but couldn't find it.
 
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.