-
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
LOT OF (18) ATARI 400/800 GAMES 5.25" FLOPPY DISKS FLOPPY DISKETTES UNTESTED
$199.99
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Red/Black
$25.00
Atari Power Cube 800XL, 600XL, 65XE, 130XE, XEGS USB-C Power Supply PSU
$11.25
atari stacy 2
$5000.00
Over 160 Floppy Disks for Atari 400/800/Xl/XE Computer (Untested)
$100.00
Atari FujiNet 800/XL/XE (Devkit Version using 8 MB ESP32-DevKitC-VE board) V2
$58.00
Vintage Atari 800 Computer System W/4 Controllers
$199.99
Atari 400/800/XL/XE Computer SIO2PC - PC/Mac Disk Drive Emulator Adapter/Device
$15.25
UnoCart 2.6k Atari 2600 UnoCart 2600 w/ firmware 2.3.17
$35.00
Atari 600XL Vintage Home Computer Gaming Pac Mac Man Controllers 1010 Parts
$114.99