-
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

1960 Analog Computer Programming / Tube Op Amp Design 650pgs PACE 231R EAI TR-48
$49.99

Comdyna GP-6 Analog Computer Unknown Condition
$888.00

Soviet Union Baltik analog computer ZX Spectrum USSR
$115.00

Honeywell Analog Flight Computer from 1965 lots of Germanium parts USA Made.
$250.00

Vintage 1993 Apple Macintosh Color Classic Chassis & Screen Mystic Modded PARTS
$250.00

Working Apple Performa 200 M4150 (aka Macintosh Classic II) -10MB/80MB- RECAPPED
$349.99

Soviet Union KVANT analog computer ZX Spectrum USSR
$120.00

WINNER M3 Contriver Analog Vintage Computer Mouse Commodore 64/128 IOB w/ Manual
$85.00

Extron RGB-160XI Analog Computer Video 60-378-01
$107.06

Raritan 4U 42PT Paragon II KVM (P2-UMT442)
$1299.90