I got a new external crucial X8 usb 3.0 ssd and it reports a very large blocksize.
Unfortunately, it seems to make playing videos over the network with samba have problems. It may also be suboptimal using it on a usb 2.0 port.
blockdev --report
shows most drives have 256 sector readahead
RO RA SSZ BSZ StartSec Size Device
ro 256 512 1024 0 205111296 /dev/loop0
ro 256 512 1024 0 204873728 /dev/loop1
ro 256 512 1024 0 4096 /dev/loop2
ro 256 512 1024 0 157855744 /dev/loop3
however, my crucial ssd gets a giant 131072 readahead value. I believe this is what's causing the problems with the network drive sharing.
sudo blockdev --setra 16384 /dev/sdb
sets it to a much better value and I don't see the audio dropouts.
You can also check the value by getting the readahead for a specific drive.
blockdev --getra /dev/sdb
Cisco ASA5506-K9 ASA 5506-X Network Security Firewall
$40.00
Fortinet Fortigate FG-61E Firewall Network Security Appliance ATP Bundle 1 years
$263.99
Cisco ASA5525-X 8-Port Firewall Adaptive Security Appliance *USED*
$55.00
Cisco ASA 5506-X Network Security Firewall w/ AC Adapter
$39.99
Firewall PFSense Untangle OpenSense
$100.00
FORTINET Pakedge Device Software R60D FG-60D Network Firewall
$45.00
pfSense Firewall VPN AES-NI Celeron N3350 1.10GHz 10GB RAM 80GB SSD 5x Intel NIC
$91.00
Ubiquiti Networks USG-PRO-4 Enterprise Gateway Router with Gigabit Ethernet
$200.00
Fortinet FortiGate 60F | 10 Gbps Firewall Network Security EXPIRED (FG-60F)- New
$226.79
Fortinet Fortigate FG201E Security Firewall w/ Power Cable
$249.00