-
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 Apple IIe A2S2064 Personal Computer, Untested Powers On
$149.95
Vintage Retro Microsoft Works on the Macintosh book Only 1991 Apple Rare Great
$19.99
Vintage Circuit Board Steampunk Art
$10.00
Vintage Hewlett Packard HP Circuit Board Steampunk Art Collector Piece
$20.00
Vintage Apple M0110A Keyboard - restored + retrobright lite - Works
$50.00
Vintage Dot Matrix Printer Contin Feed Paper 8.5 x 11. Lots of 5 to 250 sheets.
$4.00
Vintage Sharp / NEC MultiSync LCD 1920NX 19" Monitor WITH HDMI ADAPTER
$65.00
CXL4002 VINTAGE Atari 400/800 BASIC Computing Language Cartridge CXL4002
$50.00
Vintage Commodore 64 VOICE MASTER SPEECH AND MUSIC PROCESSOR
$29.99
Digital Decwriter 95 Printer la95-ca + Bonus Stand ~ Used in Great Shape VINTAGE
$94.99