-
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
VINTAGE DEC Digital RK11-D STATUS M7254 PDP 11 (B1)
$129.99
Vintage Harris S550 Front Control Panel Console w/ Key, DEC PDP
$2379.15
Vintage DEC Digital Equipment PDP-11 Half Blank Front Panel 19''
$69.99
*NEW UNOPENED* Vintage DEC LB-5923 Keyboard
$40.00
Vintage DIGITAL DEC MICROVAX II - 630QZ-A2
$2000.00
VINTAGE Green Screen Digital Terminal Monitor Model DEC VT320 - Powers On
$195.00
Vintage DEC Digital Professional 350 Desktop Computer PC350-D2
$1699.95
VINTAGE DEC DIGITAL M7165 5015778-01-E1-P1 QDA SDI PROCESSOR BOARD MODULE
$57.00
Vintage DEC/The Redac mini cabinet front panel Digital Equipment Corp. 19"
$269.99
VINTAGE DEC DIGITAL ELECTRONICS B2022-DA 128MB EDC MEMORY BOARD MODULE
$37.00