-
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

Microsoft Altair BASIC 1.0 on Paper Tape 50th Anniversary
$35.00

New 88-2SIO Rev 1 Board for Altair and S-100 Computers
$135.00

1979 Microprocessor Projects Altair 8800 Intel 8080 KIM-1 COSMAC Elf SWTPC 6800
$59.99

TEI Special Systems Group S-100 computer 13420 RAM 16K (ALTAIR,IMSAI,CROMEMCO)
$132.93

Popular Electronics February 1975 MITS Altair Debut PART 2 Vintage Computer
$45.00

Altair MITS S100 Backplane 8080A S-100 Replica IMSAI CP/M (bare board)
$35.00

MITS Altair Package II on Punched Paper Tape
$99.00

Vintage Altair Computer Notes newsletter June 1977 V. 3 Issue 1
$45.00

Altair Inspire Cast 2024 (Streamlined Casting Simulation Tool)
$89.76

Altair SimSolid 2024 (Structural Analysis for Rapid Design Iterations)
$89.78