-
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
Atari SIO2PC *USB-C* PC/Mac Disk Drive Emulator Adapter/Device XL/XE 400 800
$17.25
Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU
$11.25
Atari 800 Computer W Software RAM Carts Controller AC Adapter And More
$349.99
Atari 8bit A8 Pico Cart XL XE XEGS - NEW
$22.00
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Gray/Gray
$25.00
Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On
$139.99
Vintage Atari 800 Computer System - EXCELENT WORKING CONDITION
$250.00
Vintage Original Atari 800XL Home Personal Computer Console / Keyboard UNTESTED
$99.99
Atari 800 8-Bit Home Computer Complete in Box Bueatiful Condition Powers up
$399.00
A8PicoCart Kit Atari 130 65 XE 800 600 XL unocart clone multicart cartridge game
$19.95