-
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
IBM X3550 M4 SERVER Dual E5-2680 2.7GHZ 288GB Ram 06TXNE7 - Tested & Working
$179.99
IBM 8203-E4A pSeries 520 6-Bay Server System Power6 2 Core 4.2GHz 4GB No HD
$240.00
IBM 8231-E2C Power p730 Server, 3.55GHz 16 core, 2 x EPC3, PowerVM express
$595.00
IBM System x3100 M5 Intel Xeon E3-1271 v3 3.6GHz 8GB RAM NO HDD NO OS Good
$129.99
IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 128GB RAM Tested
$695.00
IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB
$56.05
IBM System X3100 M5 (PN: 5457-AC1) Server
$199.99
IBM X3530 M4 1U SERVER XEON E5-2620 2.10GHz 128GB No Drives
$125.00
IBM System x3650 M4 Server, 2 x Xeon E5-2609 2.4Ghz, 32GB RAM, 2 x 300GB SAS HDD
$114.75
LOT OF 3: IBM System x3650 M3 Servers~Intel Xeon 5140 @ 2.33 GHz~4GB~5x 72GB SAS
$399.99