-
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 Computer, Memorex Storage Unit For Main Frame Computer 1986, Movie Prop
$995.00
IBM Model M 1391401 Mechanical Keyboard Vintage Mainframe 1984 missing Shift Key
$65.00
IBM FRU26F7630 3390 DASD Hard Drive 10.8” from Vintage Mainframe
$249.99
Vintage Computer Punch Plug Board Mainframe Panels & Wiring Harness
$40.00
*PAIR* 1960's Vintage GE-600 Series Mainframe Computer PCBs Bitslice Accumulator
$14.95
Hard to Find Apple Lisa 2 "Lite" Interface Card - USED/PULL
$55.25
Commodore Vic-20 | CLEANED & TESTED WORKING
$120.00
Vintage Compaq 386 Portable Computer Model 2670 For Parts
$350.00
JINX Gaming Computer Mainframe Rare Collectible
$500.00
DEC Compaq HP AlphaServer AlphaStation DS20e CPU 500Mhz 54-24758-35 KN310-BA
$249.00