[mythtv-users] How much horespower for frontend?

Jason fearthepenguin at jasonandjessi.com
Wed Sep 27 00:30:49 UTC 2006


You can certainly use the other box, but I'm pretty sure something is
going on with your IO.   For example, you are only using 16bit IO,  you
should be using 32 bit for the most performance. Cranking on unmask IRQ
will help to.  Give that a shot, make your settings look like the below
and hdparm -tT again.

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32 bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    = 256 (on)


hdparm -u1 -c1 -d1 /dev/hda



Jason
The place where you made your stand never mattered,
only that you were there... and still on your feet



James Pifer wrote:
>> Ahh (I just erased a long post because I see the problem)...
>>
>> You can not use /dev/hda1 with hdparm -d you must use the drive
>> itself. 
>>
>> hdparm -d1 /dev/hda
>> Also can you post the output of just hdparm /dev/hda 
>>
>>     
>
> Below are the results from dma settings on both machines. Also, I do
> have another machine I would be willing to swap out and use for this
> purpose. It's a 2.6 Ghz Celeron with 1.5 GB RAM. Would this machine need
> to be my backend as well, or could it just be the frontend? Honestly I
> would like it to function as both so I can take advantage of the
> hauppauge cards for the remote. But for testing purposes I could throw
> linux and a frontend on it to see if it works better. What do you
> suggest?
>
> Results below.
> Thanks,
> James
>
> Here are the results from the backend machine:
>
> [root at mythtv ~]# hdparm -tT /dev/hda; hdparm -tT /dev/hdb; hdparm -
> tT /dev/hdc; hdparm -tT /dev/hdd;
>
> /dev/hda:
>  Timing cached reads:   612 MB in  2.01 seconds = 304.29 MB/sec
>  Timing buffered disk reads:  154 MB in  3.03 seconds =  50.78 MB/sec
>
> /dev/hdb:
>  Timing cached reads:   624 MB in  2.00 seconds = 311.32 MB/sec
>  Timing buffered disk reads:   66 MB in  3.03 seconds =  21.78 MB/sec
>
> /dev/hdc:
>  Timing cached reads:   628 MB in  2.01 seconds = 312.34 MB/sec
>  Timing buffered disk reads:   76 MB in  3.07 seconds =  24.77 MB/sec
>
> /dev/hdd:
>  Timing cached reads:   620 MB in  2.01 seconds = 308.01 MB/sec
>  Timing buffered disk reads:   74 MB in  3.02 seconds =  24.49 MB/sec
> [root at mythtv ~]#
> hdparm /dev/hda;hdparm /dev/hdb;hdparm /dev/hdc;hdparm /dev/hdd;
>
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 24321/255/63, sectors = 390721968, start = 0
>
> /dev/hdb:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 19386/16/63, sectors = 19541088, start = 0
>
> /dev/hdc:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 19929/255/63, sectors = 320173056, start = 0
>
> /dev/hdd:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 19929/255/63, sectors = 320173056, start = 0
>
>
> Here are the results from the frontend machine:
> [root at mythtv2 ~]#  hdparm -tT /dev/hda; hdparm -tT /dev/hdb; hdparm -
> tT /dev/hdc; hdparm -tT /dev/hdd;
>
> /dev/hda:
>  Timing cached reads:   624 MB in  2.00 seconds = 311.94 MB/sec
>  Timing buffered disk reads:   46 MB in  3.03 seconds =  15.16 MB/sec
>
> /dev/hdc:
>  Timing cached reads:   624 MB in  2.00 seconds = 311.85 MB/sec
>  Timing buffered disk reads:   76 MB in  3.05 seconds =  24.90 MB/sec
>
> /dev/hdd:
>  Timing cached reads:   632 MB in  2.01 seconds = 314.93 MB/sec
>  Timing buffered disk reads:   74 MB in  3.01 seconds =  24.61 MB/sec
> [root at mythtv2 ~]#
> hdparm /dev/hda;hdparm /dev/hdb;hdparm /dev/hdc;hdparm /dev/hdd;
>
> /dev/hda:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 13328/15/63, sectors = 12594960, start = 0
>
> /dev/hdc:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 24321/255/63, sectors = 390721968, start = 0
>
> /dev/hdd:
>  multcount    = 16 (on)
>  IO_support   =  0 (default 16-bit)
>  unmaskirq    =  0 (off)
>  using_dma    =  1 (on)
>  keepsettings =  0 (off)
>  readonly     =  0 (off)
>  readahead    = 256 (on)
>  geometry     = 19457/255/63, sectors = 312581808, start = 0
> [root at mythtv2 ~]#
>
>
> _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
>
>
>   


More information about the mythtv-users mailing list