Dobry den a stastne a vesele svatky vsem ;)
Mam dotaz ohledne vykonu USB 3.0 (Turris rev. 1.1), koupil jsem si USB3 -> SATA box (Bus 003 Device 004: ID 174c:55aa ASMedia Technology Inc. ASMedia 2105 SATA bridge) a do nej dal 2TB disk naformatovany na ext4 (mke2fs -t ext4 -m0 /dev/sda1).
Jeste kdyz byl disk naformatovan na NTFS a pripojen pres SATA na Windows 10 prenosove rychlosti jsem mel kolem 150MB/s - to stejne kdyz jsem disk dal do boxu a zapojil pres USB 3.0 do stejneho PC. Ted po pripojeni k Turrisu a naformatovani na ext4 jsou rychlosti kolem 40MB/s, ethernet je gigabit a k Turrisu je pripojen jen ten jeden disk.
hdparm disku:
root@turris:~# hdparm -T /dev/sda
/dev/sda:
Timing cached reads: 1296 MB in 2.00 seconds = 647.37 MB/sec
Conf samby:
[global]
netbios name = |NAME|
display charset = |CHARSET|
interfaces = |INTERFACES|
server string = |DESCRIPTION|
unix charset = |CHARSET|
workgroup = |WORKGROUP|
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
invalid users = root
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = no
writeable = yes
aio read size = 16384
aio write size = 16384
Jenom bych jeste dodal ze v Linuxu jsem vecny zacatecnik, prikazy aio na konci jsem pridal na zaklade teto stranky
https://wiki.amahi.org/index.php/Make_Samba_Go_FasterDiskuzi zde na foru jsem prosel ale nastaveni "use sendfile = no" viz zde
https://www.turris.cz/forum/topic_show.pl?pid=3465#pid3465 neprineslo zadnou zmenu.
Predem dekuji za odpoved a pripadnou radu co je kde spatne nastaveno, neverim ze 40MB/s je max co Turris pres USB3 da :)