-
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
![Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4 picture](/store/img/g/eO0AAOSwbkllzTa3/s-l225/Genuine-OEM-Samsung-Galaxy-Tab-S6-Lite-Book-Cover-.jpg)
Genuine OEM Samsung Galaxy Tab S6 Lite Book Cover -NEW EF-BP610PJEGUJ- #E4
$10.00
![Samsung Galaxy Tab A 32GB -UNLOCKED- 10.4 Screen picture](/store/img/g/8JkAAOSwKDRmaK16/s-l225/Samsung-Galaxy-Tab-A-32GB-UNLOCKED-10-4-Screen.jpg)
Samsung Galaxy Tab A 32GB -UNLOCKED- 10.4 Screen
$69.99
![Samsung Galaxy Tab A9+ 11.0](/store/img/g/qbUAAOSw1o1l1Rtt/s-l225/Samsung-Galaxy-Tab-A9-11-0-64GB-Gray-Wi-Fi-Tablet-.jpg)
Samsung Galaxy Tab A9+ 11.0" 64GB Gray Wi-Fi Tablet Bundle SM-X210NZAYXAR 2023
$149.99
![Samsung - S Pen Creator Edition - White picture](/store/img/g/nicAAOSwg8Nl-6GK/s-l225/Samsung-S-Pen-Creator-Edition-White.jpg)
Samsung - S Pen Creator Edition - White
$38.00
![Samsung Galaxy Tab A 8](/store/img/g/AvcAAOSwBwZlcywM/s-l225/Samsung-Galaxy-Tab-A-8-SM-T387V-32GB-Verizon-Table.jpg)
Samsung Galaxy Tab A 8" SM-T387V 32GB Verizon Tablet (No SIM Tray) Grade B
$31.99
![Samsung Galaxy Tab A Tablet SM-T580 16GB WiFi Only Black - Fair picture](/store/img/g/Lo0AAOSw931mZ0ra/s-l225/Samsung-Galaxy-Tab-A-Tablet-SM-T580-16GB-WiFi-Only.jpg)
Samsung Galaxy Tab A Tablet SM-T580 16GB WiFi Only Black - Fair
$31.50
![Samsung - Galaxy Book4 15.6](/store/img/g/rkUAAOSwAW1mDtCs/s-l225/Samsung-Galaxy-Book4-15-6-FHD-Laptop-Intel-Core-7-.jpg)
Samsung - Galaxy Book4 15.6" FHD Laptop - Intel Core 7- 16GB Memory - 512GB S...
$599.99
![Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI picture](/store/img/g/ubUAAOSwBINleyTe/s-l225/Samsung-Chromebook-3-4GB-16GB-SSD-11-6-Inch-Laptop.jpg)
Samsung Chromebook 3 4GB 16GB SSD 11.6-Inch Laptop XE500C13-K02US HDMI WIFI
$39.59
![Samsung Chromebook XE350XBA-K05US 15.6](/store/img/g/GBsAAOSwAXVmaIaV/s-l225/Samsung-Chromebook-XE350XBA-K05US-15-6-1080p-FHD-L.jpg)
Samsung Chromebook XE350XBA-K05US 15.6" 1080p FHD Laptop Intel 4GB RAM 128GB SSD
$349.00
![Samsung 27](/store/img/g/jN4AAOSwGQVk~zlD/s-l225/Samsung-27-Curved-Monitor-S39C-75-hz-4ms-FHD-IPS-L.jpg)
Samsung 27" Curved Monitor - S39C - 75 hz, 4ms FHD IPS LED (OPEN BOX)
$119.99