-
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 800xl Excellent cond. Mechanical KB. Custom upgrades (Video, Case)
$280.00
Atari Power Cube 800XL, 600XL, 65XE, 130XE USB-C Power Supply PSU
$11.25
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Gray/Gray
$25.00
ATARI 800XL Computer TESTED WORKING Original Box Power Supply TV Cable 800 XL
$249.99
Rana Systems 1000 Atari Compatible Floppy Disk Drive System w/cables. Powers On
$139.99
Vintage Original Atari 800XL Home Personal Computer Console / Keyboard UNTESTED
$99.99
Atari 1010 Program Recorder with Original Box, Power Supply And Cable AS IS
$29.95
Atari 800xl 65xe 130xe XEGS Pico. A8PicoCart. Loaded with ROMs Red/White
$28.00
Atari 800 8-Bit Home Computer Complete in Box Bueatiful Condition Powers up
$399.00
ATARI 130XE Computer TESTED WORKING Original Box Power Supply MANUAL TV Cable
$249.99