-
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
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone & Device, Black
$32.00
Cisco CP-8865 HD VOIP Video Conferencing IP Phone w/Camera #U3016
$39.79
Polycom 2200-46161-025 VVX 310 IP VOIP 6 Line POE Telephone
$31.99
Grandstream HT801 Single-Port Analog Telephone Adapter
$34.00
Grandstream GS-GXP2160 6-Lines Bluetooth VoIP Telephone - Black
$25.99
Grandstream GS-HT802 2 Port Analog Telephone Adapter VoIP Phone Device
$15.95
Grandstream GXP2130 Enterprise VoIP IP Phone Color Display- Office Phone
$35.99
Cisco/Linksys SPA2102 VoIP Phone Adapter Router 2FXS (Unlocked)
$16.99
NEW Yealink SIP-T56A Smart 16 Line VoIP Smart Business Phone Teams Edition
$79.99
Cisco CP-8851-K9 8851 VoIP IP POE Phone Free Express Shipping 1-Year Warranty.
$40.23