
Mejorar rendimiento de servidor samba
Publicado por DANIEL ALEXANDER (2 intervenciones) el 29/09/2024 23:06:06
Buenas a todos , estoy construyendo un servidor con samba para compartir archivos, el detalle esta en la taza de transferencia en mbs de archivos a las carpetas que se estan compartiendo me gustaria saber que hay que hacer para mejorar esa velocidad de transferencia superior a los 11mbs. ¿que configuraciones debo hacer en el servidor samba para aumentar la velocidad de transferecias dee archivos?.
Coloque en el archivo smb.conf estos parametros:
; Set socket options to optimize network performance
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
; Enable raw read operations
read raw = yes
; Enable raw write operations
write raw = yes
; Set the maximum SMB protocol version to SMB3
max protocol = SMB3
; Require server signing for all communications
server signing = mandatory
; Require encryption for all SMB communications
smb encrypt = required
; Enable strict allocation of file space
strict allocate = yes
; Enable opportunistic locking
oplocks = yes
; Enable kernel-level opportunistic locking
kernel oplocks = yes
; Disable POSIX locking
posix locking = no
; Ensure data is always synchronized with disk
sync always = yes
; Use the sendfile system call for sending files
use sendfile = yes
; Set the minimum size for receivefile operation
min receivefile size = 16384
; Set the size of the write cache
write cache size = 2097152
; Set the time in minutes before an idle connection is terminated
deadtime = 15
; Set the maximum transmit packet size
max xmit = 65535
; Enable large read and write operations
large readwrite = yes
; Set the logging level (1 = minimal logging)
log level = 1
[share1]
; Path to the shared directory
path = /path/to/share1
; Allow read and write access to valid users
read only = no
; Specify valid users who can access the share
valid users = user1
; Specify users who have write access to the share
write list = user1
######################################################################################
pero aun nada que aumenta la velocidad de transferencia
Coloque en el archivo smb.conf estos parametros:
; Set socket options to optimize network performance
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
; Enable raw read operations
read raw = yes
; Enable raw write operations
write raw = yes
; Set the maximum SMB protocol version to SMB3
max protocol = SMB3
; Require server signing for all communications
server signing = mandatory
; Require encryption for all SMB communications
smb encrypt = required
; Enable strict allocation of file space
strict allocate = yes
; Enable opportunistic locking
oplocks = yes
; Enable kernel-level opportunistic locking
kernel oplocks = yes
; Disable POSIX locking
posix locking = no
; Ensure data is always synchronized with disk
sync always = yes
; Use the sendfile system call for sending files
use sendfile = yes
; Set the minimum size for receivefile operation
min receivefile size = 16384
; Set the size of the write cache
write cache size = 2097152
; Set the time in minutes before an idle connection is terminated
deadtime = 15
; Set the maximum transmit packet size
max xmit = 65535
; Enable large read and write operations
large readwrite = yes
; Set the logging level (1 = minimal logging)
log level = 1
[share1]
; Path to the shared directory
path = /path/to/share1
; Allow read and write access to valid users
read only = no
; Specify valid users who can access the share
valid users = user1
; Specify users who have write access to the share
write list = user1
######################################################################################
pero aun nada que aumenta la velocidad de transferencia
Valora esta pregunta


0