-
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

Cisco Catalyst C9300-24UX-A 9300 24 UPOE
$274.99

CISCO WS-C3850-12X48U-S 48 Port UPoE w/(1)1100w P/S-1 YEAR WARRANTY INCLUDED
$129.99

♻️ Cisco C9300-24UX-A 24-Port Multigigabit UPoE Switch - Ready-to-use ⚡Fast Ship
$299.95

NEW Cisco Catalyst C9105AXI Wireless Access Point 9105AX Series Access Point
$154.99

Cisco C3KX-NM-10G 4 Port 10 Gigabit Ethernet Module C3560XC3750X
$13.99

Cisco WS-C3850-48P-L 48-Port Gigabit 3850 PoE Switch w/ 1x PWR-C1-715WAC PSU
$89.00

Cisco WS-C3850-12X48U-L 48-Port UPoE Switch w/ 1100W AC Power *port tested*
$60.00

Cisco C9300-48UXM-A Switch 9300 Series 48-port UPoE Network
$699.00

Cisco WAVE 594 Wide Area Virtualization Engine- Wave-594-K9
$45.99

BRAND NEW Cisco 892FSP C892FSP-K9 Gigabit Ethernet Security Router
$76.00