[mythtv-users] Where the bottleneck?

Mitch Gore mitchell.gore at gmail.com
Sat Jan 26 05:56:18 UTC 2008


> I doubt it.  I always hate pointing out the obvious, but have you checked
> the hdparam -d (I think) to see if DMA is enabled on all your drives?  I got
> bit by this not to long ago adding a new 500GB drive to a very working
> system and found that it didn't have that enabled and caused this exact
> problem.
>
> Kevin
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>

Yes i have,  it doesnt appear that i can set DMA on. My new system drive is
IDE but the recording drivers are SATA.

[root at mythtv ~]# hdparm /dev/sdb

/dev/sda:
 IO_support    =  0 (default 16-bit)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 1216/255/63, sectors = 19541088, start = 0


/dev/sdb:
 IO_support    =  0 (default 16-bit)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 60801/255/63, sectors = 976773168, start = 0
[root at mythtv ~]# hdparm /dev/sdc

/dev/sdc:
 IO_support    =  0 (default 16-bit)
 readonly      =  0 (off)
 readahead     = 256 (on)
 geometry      = 14589/255/63, sectors = 234375000, start = 0



[root at mythtv ~]# fdisk -l

Disk /dev/sda: 10.0 GB, 10005037056 bytes
255 heads, 63 sectors/track, 1216 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x000753e4

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1        1037     8329671   83  Linux (New install
of F8)
/dev/sda2            1038        1215     1429785   82  Linux swap / Solaris
(Current Swap)

Disk /dev/sdb: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x0005606d

   Device Boot      Start         End      Blocks   Id  System
/dev/sdb1               1        1702    13671283+  83  Linux (Old F8
install)
/dev/sdb3   *        1703       60801   474712717+  83  Linux (Recordings)

Disk /dev/sdc: 120.0 GB, 120000000000 bytes
255 heads, 63 sectors/track, 14589 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0x479eb2b7

   Device Boot      Start         End      Blocks   Id  System
/dev/sdc1   *           1       14258   114527353+  83  Linux (Recordings)
/dev/sdc2           14259       14589     2658757+  82  Linux swap / Solaris
(OLD SWAP)


When trying to put DMA on acording to Jarods guide i get the following:
[root at mythtv ~]# hdparm -d1 /dev/sda

/dev/sda:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
[root at mythtv ~]# hdparm -d1 /dev/sdb

/dev/sdb:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device
[root at mythtv ~]# hdparm -d1 /dev/sdc

/dev/sdc:
 setting using_dma to 1 (on)
 HDIO_SET_DMA failed: Inappropriate ioctl for device

Suggestions?
Mitchell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mythtv.org/pipermail/mythtv-users/attachments/20080125/6d394f45/attachment.htm 


More information about the mythtv-users mailing list