-
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
Compressed Air Duster with Air Blower 100000RPM Vacuum Cleaner and Air Duster
$38.99
Compressed Air Duster Electric Cordless Vacuum Cleaner for PC Keyboard Car Home
$14.99
Mini Computer Vacuum Keyboard Cleaner PC Laptop Brush Dust Cleaning Kit Handheld
$9.85
Cordless Electric Mini Air Duster Blower Vacuum Cleaner for PC Computer Car Home
$14.99
Computer Vacuum Cleaner-300000RPM Compressed Air Duster-Air Blower Powerful 4
$16.74
Compressed Air Duster Blower Electric Vacuum Cleaner 45000RPM for PC Car Home
$14.99
US Mini Computer Vacuum USB Keyboard Cleaner PC Laptop Brush Dust Cleaning Kits
$13.88
Mini-Vac Micro Cleaning Vacuum Computers Models Electronics Vintage NIB
$16.89
Cordless Compressed Air Duster Vacumm
$76.41
Domsanistor 3D Filament Storage Bag Vacuum Kit- Includes Bags & Vacuum
$13.99