This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

Delay issue with opening\saving files

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
tumim
NewUser
NewUser
Posts: 2
Joined: 26 Nov 2013 20:34
Status: Offline

Delay issue with opening\saving files

Post by tumim »

Hello,

Configuration:
Version: Nas4Free 9.1.0.1 - Sandstorm (revision 847)
Platform OS: FreeBSD 9.1-RELEASE-p5 (kern.osreldate: 901000)
Platform: x64-embedded on Intel(R) Pentium(R) CPU G3420 @ 3.20GHz
RAM: 8Gb
HDD: 2xWD Black Enterprise edition 1.0Tb

The OS is Embedded, installed and loaded from 1Gb flash.
NAS - not in domain, does not dns\dhcp server.
Two disks using ZFS, RAID1 pool.
Using 400Gb Dataset.
10 users with diff. rights.
All workstations OS - - Windows XP sp3.
Within a dataset - around 150Gb doc/xls/pdf/jpg/dwg files.
Network: 100Mb\s.

The issue:
Only 3 of 10 workstations opens\writes all files normally(any sizes forom 20kb-50Mb) within a few seconds. Other 7 workstations opens\writes all files with 10-15 second delay(any sizes from 20kb-50Mb).

What was done:
1. using standard workstation with clean OS installation, firewalls\anti-viruses were disabled:
coping from/to the NAS is perfect (80-90Mb\s) (files from 1Mb to 4Gb),
but the issue with open\write the files is still persist.
2.Has been changed some of the workstation's network parameters:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters -----> DWORD "TcpWindowSize" with value 65535 (decimal).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters -----> DWORD "Tcp1323Opts" with value 3.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters -----> DWORD "EnablePMTUDiscovery" with value 1.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters -----> DWORD "EnablePMTUBHDetect" with value 1.
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters -----> DWORD "TcpNumConnections" with value 10000 (decimal).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Afd\Parameters -----> DWORD "DefaultReceiveWindow" with value 65535 (decimal).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Afd\Parameters -----> DWORD "DefaultSendWindow" with value 65535 (decimal).
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters\Interfaces\<Interface GUID>
, where <Interface GUID> is a GUID of network card. Network card recognizing by IP. DWORD:
TcpAckFrequency with value 1 ; TcpDelAckTicks with value 0
Increased the quantity of half-open connections to 10000.
Manually added the NAS Зto the hosts file,
but the issue with open\write the files is still persist.
3.Has been changed the NAS parameters:
- added "max mux = 1", for correct open\write of dwg filesв.
- added "smb ports = 139", for choosing between 139 and 445 ports.
- turn off "atime", for increasing speed.
- the buffers were set to 0,
but the issue with open\write the files is still persist.

The current configurations:

Image

Image

Image

Image


Thanks in advance.

User avatar
raulfg3
Site Admin
Site Admin
Posts: 4865
Joined: 22 Jun 2012 22:13
Location: Madrid (ESPAÑA)
Contact:
Status: Offline

Re: Delay issue with opening\saving files

Post by raulfg3 »

if you do not have a Local master Browser in your LAN, enable it on Nas4Free and check delay.
12.1.0.4 - Ingva (revision 7743) on SUPERMICRO X8SIL-F 8GB of ECC RAM, 11x3TB disk in 1 vdev = Vpool = 32TB Raw size , so 29TB usable size (I Have other NAS as Backup)

Wiki
Last changes

HP T510

tumim
NewUser
NewUser
Posts: 2
Joined: 26 Nov 2013 20:34
Status: Offline

Re: Delay issue with opening\saving files

Post by tumim »

The issue was resolved. The issue was with "max mux = 1" parameter. It seems that a few MS workstations working with delay with this option. Removed from conf at all.

PS. By default it is "max mux = 50" I think.

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Delay issue with opening\saving files

Post by ChriZathens »

Where is this setting located?
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

00Roush
Starter
Starter
Posts: 64
Joined: 15 Sep 2013 09:27
Status: Offline

Re: Delay issue with opening\saving files

Post by 00Roush »

In NAS4Free this setting would be set on the CIFS/SMB settings page under "Auxiliary parameters"

Here is the quote from the smb.conf manpage http://www.samba.org/samba/docs/man/man ... onf.5.html

max mux (G)

This option controls the maximum number of outstanding simultaneous SMB operations that Samba tells the client it will allow. You should never need to set this parameter.

Default: max mux = 50


00Roush

User avatar
ChriZathens
Forum Moderator
Forum Moderator
Posts: 758
Joined: 23 Jun 2012 09:14
Location: Athens, Greece
Contact:
Status: Offline

Re: Delay issue with opening\saving files

Post by ChriZathens »

Oh, OK I see... tumim had passed this settings to auxiliary parameters, but he shouldn't have...
So the default value is OK...
My Nas
  1. Case: Fractal Design Define R2
  2. M/B: Supermicro x9scl-f
  3. CPU: Intel Celeron G1620
  4. RAM: 16GB DDR3 ECC (2 x Kingston KVR1333D3E9S/8G)
  5. PSU: Chieftec 850w 80+ modular
  6. Storage: 8x2TB HDDs in a RaidZ2 array ~ 10.1 TB usable disk space
  7. O/S: XigmaNAS 11.2.0.4.6625 -amd64 embedded
  8. Extra H/W: Dell Perc H310 SAS controller, crosflashed to LSI 9211-8i IT mode, 8GB Innodisk D150SV SATADOM for O/S

Backup Nas: U-NAS NSC-400, Gigabyte MB10-DS4 (4x4TB Seagate Exos disks in RaidZ configuration - 32GB RAM)

Post Reply

Return to “CIFS/SMB (Samba)”