-
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
![ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB picture](/store/img/g/m2IAAOSwmz5kyNFT/s-l225/ORICO-5-Bay-Raid-Enclosure-USB3-0-SATA-External-Ha.jpg)
ORICO 5 Bay Raid Enclosure USB3.0 SATA External Hard Drive Enclosure Up to 80TB
$135.99
![ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT picture](/store/img/g/m2IAAOSwmz5kyNFT/s-l225/ORICO-5-Bay-Raid-USB3-0-to-SATA-External-Hard-Driv.jpg)
ORICO 5 Bay Raid USB3.0 to SATA External Hard Drive Enclosure for 3.5'' HDD LOT
$140.79
![Oracle MegaRAID SAS9361-16i 16-Port 12Gb/s PCIe SAS RAID Controller P/N: 7332895 picture](/store/img/g/JmUAAOSwCxVmfwju/s-l225/Oracle-MegaRAID-SAS9361-16i-16-Port-12Gb-s-PCIe-SA.jpg)
Oracle MegaRAID SAS9361-16i 16-Port 12Gb/s PCIe SAS RAID Controller P/N: 7332895
$149.99
![Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller picture](/store/img/g/ph8AAOSwnHxmXzcB/s-l225/Dell-EMC-092GD6-Broadcom-9305-16i-LSI-Quad-Port-4-.jpg)
Dell EMC 092GD6 Broadcom 9305-16i LSI Quad Port 4 Port SAS RAID Controller
$84.99
![ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working picture](/store/img/g/fGwAAOSwAStmfi9c/s-l225/ASUS-Hyper-M-2-x16-Gen-4-RAID-Card-Used-Working.jpg)
ASUS Hyper M.2 x16 Gen 4 RAID Card- Used Working
$32.95
![Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile picture](/store/img/g/C7YAAOSwLYJl3nQQ/s-l225/Dell-PERC-H330-PCIe-3-0-x8-RAID-Storage-Controller.jpg)
Dell PERC H330 PCIe 3.0 x8 RAID Storage Controller 4Y5H1 High Profile
$17.99
![ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID picture](/store/img/g/VpUAAOSweWVlEXFE/s-l225/ACASIS-2-5-3-5-inch-2-Bay-SATA-USB-3-0-Hard-Drive-.jpg)
ACASIS 2.5/3.5 inch 2 Bay SATA USB 3.0 Hard Drive Disk HDD SSD Enclosure 4 RAID
$54.66
![WD TB My Book Duo Desktop RAID External Hard Drive 0TB NO DRIVES picture](/store/img/g/Zm8AAOSwM0VmO6v~/s-l225/WD-TB-My-Book-Duo-Desktop-RAID-External-Hard-Drive.jpg)
WD TB My Book Duo Desktop RAID External Hard Drive 0TB NO DRIVES
$42.00
![OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire picture](/store/img/g/-FoAAOSwtEBmQ5qa/s-l225/OWC-Guardian-Maximus-Raid-Enclosure-SATA-Hard-Driv.jpg)
OWC Guardian Maximus Raid Enclosure SATA Hard Drive FireWire
$36.99
![CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations picture](/store/img/g/lrwAAOSwd7llPxya/s-l225/CompUSA-Internal-2-Bay-Removable-Rack-for-3-SATA-H.jpg)
CompUSA Internal 2 Bay Removable Rack for 3 SATA Hard Drives Raid Configurations
$25.00