-
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 2x Xeon E5-2680 v3 2.5ghz 24-Cores / 64gb / H730 / iDracEnt
$204.99
Dell Poweredge R630 Server 2x E5-2620 V4 =16 Cores | S130 | 32GB RAM | 2x trays
$180.99
Dell PowerEdge T330 | Intel Xeon E3-1220 v5@3.0GHz 8GB RAM 4x 1TB HDD NO OS
$209.99
Dell Poweredge R210 II Server Xeon E3-1230 3.2ghz Quad 16GB No HDD 2x HDD Caddy
$55.00
Dell PowerEdge R730 Server 2x E5-2697Av4 2.60Ghz 32-Core 128GB H730
$485.75
New Gigabyte 10 bay SFF Server 2x Xeon Gold 6130 Total 32 Core 64GB DDR4 3x PCIe
$319.20
Dell PowerEdge R220 Xeon E3-1220v3 3.10GHz 8GB DDR3 ECC RAM Server Needs HDD
$114.99
Dell PowerEdge R730xd Server LFF 2x E5-2650v4 2.2GHz 12C 64GB 12x Trays
$499.00
Dell R640 8x 2.5" SFF Server iDRAC - Wholesale Custom Build Your Server
$270.99
Dell PowerEdge R430 w/ 2x E5-2640v4, 64GB, NO RAID
$119.99