-
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

USB 3.0 Flash Drive 32GB 64GB 128GB Memory Stick Thumb Stick Lot Pack
$826.09

Microsoft Office 2021 Pro Plus USB for 1PC Windows 10 & 11
$62.50

TF/SD Card Adapter Camera Reader Android Type-c For iPhone17 Pro Max Plusm lot
$573.98

Wholesale 5/10/100PCS 1GB 2GB 4GB 8GB 16GB 32GB USB 2.0 Flash Drive Memory Stick
$378.00

SK Hynix 32GB Server Memory 2Rx4 PC4-2400T-R81-11 HMA84GR7MFR4N-UH Server RAM
$169.99

LOT OF 4 Micron 16GB DDR4-2400 RDIMM 2Rx4 MTA36ASF2G72PZ-2G3B1QG
$239.99

128GB (4x32GB) SK hynix DDR4 PC4-2666V RDIMM ECC Server Ram HMA84GR7CJR4N-VK
$799.00

USB 3.0 Micro SD SDHC TF Card Reader Memory Adapter for PC Laptop Camera lot
$3.75

LOT OF 3 Micron 16GB 2Rx8 PC4-3200AA DDR4 ECC Server Memory
$255.00

5 in 1 Memory Card Reader USB 3.0 OTG Adapter SD Card Reader For iPhone/iPad LOT
$9.99