IMPORTANT NOTICE

During the next period of time, the Thecus Wiki will migrate to a new site - the NAS Website. The migration is part of an improvement initiative, which includes giving the site a new look and making it more user friendly.

During the migration information may exist both at the old and new site, however slowly pages should start to be located mainly at the new site. Please see the NAS Website for details.

N5200Pro Tweaks

From Thecus Wiki

Jump to: navigation, search

Samba Performance

You can tweak the performance for your device. edit the /tmpfs/tmp/smb.conf (SSHD & SYSUSER Module)

1. create a measure environment

 eg a frequently used application that takes up to 10s to start or a bunch of files you access in daily life (compiler)

2. take the time of the default config

 use a clock or if you have some tools
 the cpu-graph on win5.0 does a good job

3. edit the /tmpfs/tmp/smb.conf (SSHD & SYSUSER Module)

 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=4096 SO_SNDBUF=4096
 oplocks = yes

4. reload samba

 root@127.0.0.1:~# /etc/init.d/rc.samba restart

5. take the time with the new config

6. make different settings to SO_RCVBUF & SO_SNDBUF and repeat step 3-5

 this values depend on what you do with what files.

Results

 socket options = IPTOS_LOWDELAY TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
 oplocks = yes
 
 +25% for ~50mb in ~20 files

How can this been made a permantent setup? (thanks)

UPDATED: Firefly mod (2.00.03) does not work with Firmware 2.00.08

Do not use FW 2.00.08 if you are using Firefly Media Server (Version 2.00.03). After I did upgrade to FW 2.00.08 I could not use the Firefly-extension any more (worked very well on 2.00.04)

ERRATA: After a few more tests I did discover, that the system automatically restores the old configuration of my previous installation. Somehow there was anything wrong within the config. After deleting the Backup-File, a reboot and a new installation the system serves up music again.

regards ph-apoc

Personal tools
product resources