-
Adjusting block device readahead
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules

12TB 7200RPM 256MB Cache SATA 6.0Gb/s 3.5" Internal NAS Hard Drive - 0753F0
$139.95

Seagate IronWolf NAS 12TB 7200RPM 256MB Cache SATA 6.0Gb/s 3.5" Hard Drive HDD
$132.99

Certified Refurbished 2TB WD Elements Portable Hard Drive - RWDBU6Y0020BBK-WESN
$49.99

Certified Refurbished 5TB WD Elements Portable Hard Drive - RWDBU6Y0050BBK-WESN
$89.99

HGST Ultrastar HUH728080ALE604 (0F23668) 8TB 7200RPM SATA 6Gb/s 3.5" Hard Drive
$87.99

Seagate IronWolf 12TB 7200RPM SATA 6Gb/s 256MB 3.5" NAS Hard Drive ST12000VN0007
$134.99

ST1000NM0055 Seagate 1TB 7.2K SATA 6G LFF Hard Drive
$19.95

SEAGATE ENTERPRISE CAPACITY 3.5" SAS 4TB SERVER HARD DRIVE 7200RPM 128MB CACHE
$21.59

Western Digital WD 10TB Red Plus NAS SATA HDD Internal Hard Drive HDD-WD101EFBX
$199.99

- LOT OF 20 - 6TB HGST Ultrastar SAS Hard Drive HDD 7k 12GBPS 512E | 0F22791
$495.00