-
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 M7133 CPU PCB PDP11/24 5013838D-P1 picture](/store/img/g/QtAAAOSw9E5mff43/s-l225/VINTAGE-DEC-DIGITAL-M7133-CPU-PCB-PDP11-24-5013838.jpg)
VINTAGE DEC DIGITAL M7133 CPU PCB PDP11/24 5013838D-P1
$109.99
![DEC Digital DECMATION D100Q Z80 processor card CP/M PDP-11 (1982) picture](/store/img/g/WKMAAOSwaStmfpqL/s-l225/DEC-Digital-DECMATION-D100Q-Z80-processor-card-CP-.jpg)
DEC Digital DECMATION D100Q Z80 processor card CP/M PDP-11 (1982)
$199.99
![Vintage Harris S550 Front Control Panel Console w/ Key, DEC PDP picture](/store/img/g/kd8AAOSw0itmAxUu/s-l225/Vintage-Harris-S550-Front-Control-Panel-Console-w-.jpg)
Vintage Harris S550 Front Control Panel Console w/ Key, DEC PDP
$2379.15
![Vintage DEC Digital Equipment PDP-11 Half Blank Front Panel 19'' picture](/store/img/g/YgoAAOSwEBxmcwVZ/s-l225/Vintage-DEC-Digital-Equipment-PDP-11-Half-Blank-Fr.jpg)
Vintage DEC Digital Equipment PDP-11 Half Blank Front Panel 19''
$69.99
![VINTAGE Green Screen Digital Terminal Monitor Model DEC VT320 - Powers On picture](/store/img/g/rQcAAOSwkRJmZ0mf/s-l225/VINTAGE-Green-Screen-Digital-Terminal-Monitor-Mode.jpg)
VINTAGE Green Screen Digital Terminal Monitor Model DEC VT320 - Powers On
$195.00
![Vintage DIGITAL DEC MICROVAX II - 630QZ-A2 picture](/store/img/g/EIgAAOSwY89mbGro/s-l225/Vintage-DIGITAL-DEC-MICROVAX-II-630QZ-A2.jpg)
Vintage DIGITAL DEC MICROVAX II - 630QZ-A2
$2000.00
![*NEW UNOPENED* Vintage DEC LB-5923 Keyboard picture](/store/img/g/4hUAAOSwWCtmNpag/s-l225/-NEW-UNOPENED-Vintage-DEC-LB-5923-Keyboard.jpg)
*NEW UNOPENED* Vintage DEC LB-5923 Keyboard
$40.00
![VINTAGE Digital Terminal Monitor Model DEC VT320 Powers On Black & White Screen picture](/store/img/g/79cAAOSwb69mZ0gO/s-l225/VINTAGE-Digital-Terminal-Monitor-Model-DEC-VT320-P.jpg)
VINTAGE Digital Terminal Monitor Model DEC VT320 Powers On Black & White Screen
$99.00
![Vintage DEC/The Redac mini cabinet front panel Digital Equipment Corp. 19](/store/img/g/Dg8AAOSwIsZkuslG/s-l225/Vintage-DEC-The-Redac-mini-cabinet-front-panel-Dig.jpg)
Vintage DEC/The Redac mini cabinet front panel Digital Equipment Corp. 19"
$269.99
![VINTAGE DEC Digital RK11-D STATUS M7254 PDP 11 (B1) picture](/store/img/g/EIUAAOSwhFpmdXe5/s-l225/VINTAGE-DEC-Digital-RK11-D-STATUS-M7254-PDP-11-B1-.jpg)
VINTAGE DEC Digital RK11-D STATUS M7254 PDP 11 (B1)
$129.99