LinHES Forums
http://forums.linhes.org/

Is defragging required?
http://forums.linhes.org/viewtopic.php?f=6&t=1014
Page 1 of 1

Author:  MythDon [ Wed Mar 17, 2004 11:50 am ]
Post subject:  Is defragging required?

My previously wondefully working KnoppMyth box is suddenly dropping frames and stuttering. About the only thing that may have changed was moving bitrates down to 2200 on the Mpeg settings.

The dropped frames and stuttering happen during recording, not playback (well, they happen during playback but only because the problem happened during recording)

The problem seems to happen on shows recorded on either the Hauppage 401 or the PVR 250 so I'm thinking it could be a hard drive problem.

I'm using a dedicated drive softlinked to \myth\tv formatted as ext3.

Do I need to be doing any sort of defrag maintenence on the drive?

Don

Author:  cesman [ Wed Mar 17, 2004 12:55 pm ]
Post subject: 

Is DMA turned on?

Author:  Xsecrets [ Wed Mar 17, 2004 4:22 pm ]
Post subject: 

just curious what do you mean by this?

Quote:
I'm using a dedicated drive softlinked to \myth\tv formatted as ext3.


if it's a dedicated drive why is it softlinked instead of mounted? (not that it should make much difference, just seems a little odd.)

Author:  MythDon [ Wed Mar 17, 2004 4:56 pm ]
Post subject: 

Xsecrets wrote:
if it's a dedicated drive why is it softlinked instead of mounted? (not that it should make much difference, just seems a little odd.)


Uhh.... 'cuz I'm a newbie and I get my words all wrong sometimes? :oops:

You're right, it's mounted. Took me hours to figure out that mount points had to be mounted to existing empty directories. I may, at one time, have done a link while trying to fudge it but you're right, it's a mount point.

As for DMA, I'm pretty sure it's on. There was a link in this forum to a great article on that topic and I know I read it and checked my system using that article. When I get back in front of the box I'll double check DMA.

Author:  MythDon [ Thu Mar 18, 2004 12:20 am ]
Post subject: 

cesman wrote:
Is DMA turned on?


Yes DMA is on

Code:
hdparm /dev/hda

/dev/hda:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 4865/255/63, sectors = 78165360, start = 0
hdparm /dev/hdb

/dev/hdb:
 multcount    = 16 (on)
 IO_support   =  1 (32-bit)
 unmaskirq    =  1 (on)
 using_dma    =  1 (on)
 keepsettings =  0 (off)
 readonly     =  0 (off)
 readahead    =  8 (on)
 geometry     = 9729/255/63, sectors = 156301488, start = 0

/dev/hda:
 Timing buffer-cache reads:   128 MB in  0.43 seconds =297.67 MB/sec
 Timing buffered disk reads:  64 MB in  1.71 seconds = 37.43 MB/sec

/dev/hdb:
 Timing buffer-cache reads:   128 MB in  0.52 seconds =246.15 MB/sec
 Timing buffered disk reads:  64 MB in  1.52 seconds = 42.11 MB/sec



I'm guessing the answer to my defrag question is no?

Author:  Xsecrets [ Thu Mar 18, 2004 8:37 am ]
Post subject: 

in general linux drives do not need defragmenting. the filesystems or linux are better about not becoming fragmented. And actually I do not know of a single stable defragmenter for linux. I remember there used to be one for ext2 I can't remember what it was called and it was very experimental likely to cause data damage etc.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/