-
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 x3650 M3, 7945-AC1, 40GB, XEON e5507, 2.26ghz x2 with RAID Card, No HDD
$249.00
IBM S822LC 8335-GCA Power 8 2U Server 2xPower8 8core/64t 256gb RAM Tested
$493.45
IBM 520 8203-E4A Power Systems Server PowerPC Dual-Core 4.2GHZ 16GB SEE NOTES
$240.00
IBM System x3650 M3 7945AC1 Server INTEL XEON E5620 2.4GHz 4GB
$59.00
IBM EServer Xseries 220 Desktop
$160.00
IBM System X 3550 M3 Server 124GB RAM Dual 2.67GHz Xeon Six Core X5650 No HDD
$79.95
IBM X3200 M3 Tower Server Intel Xeon X3450 2.67GHz 2GB 2*500 Gb Hdd Linux AS IS
$60.00
IBM System X3100 M5 (PN: 5457-AC1) Server
$199.99
IBM System X3650 M4 Server 2x Xeon 32 GB RAM NO HDD NO OS
$215.00
Lot of 24 IBM 4U QPI Server Cables 59Y4797 Used, Untested, Genuine IBM Products
$250.00