-
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

DELL PowerEdge R730 Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$343.00

Dell PowerEdge R630 Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails
$295.00

DELL POWEREDGE T430 Tower Sever XEON E5-2620 V3 @ 2.4GHz, 64GB RAM, NO HDD/OS
$329.95

Dell PowerEdge R730xd Server 2x E5-2697v3 2.60Ghz 28-Core 144GB H730P
$326.65

Dell PowerEdge R730xd Server 2x E5-2697v3 2.60Ghz 28-Core 128GB H730P Rails
$437.90

Dell PowerEdge R630 Server 2x E5-2680v4 2.40Ghz 28-Core 64GB H730
$233.08

Dell PowerEdge R630 Server 2x E5-2690v3 2.60Ghz 24-Core 128GB H730 Rails
$322.75

Dell PowerEdge R730 3.5 8 Bay w Trays 128Gb 2x12c=24c CPUs 80GbSSD/2x4Tb Proxmox
$400.00

DELL PowerEdge R730XD Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45
$361.00

Dell R640 8x 2.5" SFF iDRAC 2x 25GbE SFP28- Wholesale Custom Build Your Server
$259.99