Difference between revisions of "Talk:Optimizing Performance"

From MythTV Official Wiki
Jump to: navigation, search
m (Layout)
Line 5: Line 5:
 
For SATA disks it could be usefull to tune your disk a bit for large reads. If your disk is mounted as sda (as you can see if you enter 'mount' in a terminal you can change it as:
 
For SATA disks it could be usefull to tune your disk a bit for large reads. If your disk is mounted as sda (as you can see if you enter 'mount' in a terminal you can change it as:
  
echo "1024" > /sys/block/sda/queue/max_sectors_kb<br>
+
echo "512" > /sys/block/sda/queue/max_sectors_kb<br>
echo "512" > /sys/block/sda/queue/read_ahead_kb
+
echo "256" > /sys/block/sda/queue/read_ahead_kb
 +
 
 +
== IVTV 10.2 driver ==
 +
Enabling VBI on version 10.2 of the ivtv driver is not a good idea. IRQ overloading is the result.

Revision as of 19:09, 24 June 2007

NFS over TCP? Does anyone have a reference for NFS performance being better when using TCP? The only case I know of this being potentially the case is with high latency links. For LAN connections, as far as I know, UDP is faster.

Sata disk performance

For SATA disks it could be usefull to tune your disk a bit for large reads. If your disk is mounted as sda (as you can see if you enter 'mount' in a terminal you can change it as:

echo "512" > /sys/block/sda/queue/max_sectors_kb
echo "256" > /sys/block/sda/queue/read_ahead_kb

IVTV 10.2 driver

Enabling VBI on version 10.2 of the ivtv driver is not a good idea. IRQ overloading is the result.