View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next

Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Tue Feb 26, 2008 7:11 pm 
Offline
Joined: Thu Mar 23, 2006 5:47 pm
Posts: 22
With apologies to BTO, of course, my hard disk, after about 2-3 upgrades, seems to be having more and more trouble "taking care of business". I don't think the disk is dying (repeated fscks and other tests have come back negative).

I hate posting hardware problems with vague symptoms, but see if this makes sense to anyone...

I can perform normal MythTV operations - watch shows, change channels, record shows - everything seems to be happening normally. However, two things appear to be taking an inordinate amount of time:

1. Deleting shows: It happens right away, but the disk grinds away for up to 10-20 seconds and locks up the system during said process. I've chalked this up to XFS (which I hear has a few file delete performance issues) on the /myth partition.

2. Going from ANY sub-menu to the main menu causes the disk to grind and grind away for no apparently reason for anywhere 30-60 seconds. For example, let's say I've been browsing recordings and have decided to watch live tv. I go up from recordings to the main menu....BAM, the hard disk light goes on solid and grinds away for up to 60 seconds.

During this time I can of course select live tv, but it will merely make the screen black for that time, then boot me to the main menu. If I wait for the disk to quit grinding, I can then select live tv and it works fine.


Any thoughts? It's an Athlon XP with 1 gig of ram (so I hope it's not swapping much) and a regular old 7200 RPM 160 gig IDE drive. Standard Definition, nothing fancy.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 7:26 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
What version of KnoppMyth are you using? (If you're not using KnoppMyth, what version of mythtv are you running?) In recent versions of mythtv there is an option to "delete files slowly" which may help you file deletion problems.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 7:34 pm 
Offline
Joined: Thu Mar 23, 2006 5:47 pm
Posts: 22
R5F27, sorry about that - I shoulda said "latest".

The deletion doesn't bother me too much as it's usually not too bad and I only delete a couple shows per week.

The main menu one is what puzzles me - I think I might have the screen display size too large (which means the integrated video card has to chug to keep up as it's one of those crappy shared-ram nvidia jobs on a Shuttle SN41G2).

I have VGA running to my TV and I believe the resolution is 1600x1200. The TV has a vga in, it's a Samsung 50 inch 1080p capable DLP. I really should toss my current pc and buy an HDTV tuner card, but I don't watch enough HD programming to make it worth my while yet.


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 8:12 pm 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Ravenium wrote:
R5F27, sorry about that - I shoulda said "latest".

The deletion doesn't bother me too much as it's usually not too bad and I only delete a couple shows per week.

The main menu one is what puzzles me - I think I might have the screen display size too large (which means the integrated video card has to chug to keep up as it's one of those crappy shared-ram nvidia jobs on a Shuttle SN41G2).

I have VGA running to my TV and I believe the resolution is 1600x1200. The TV has a vga in, it's a Samsung 50 inch 1080p capable DLP. I really should toss my current pc and buy an HDTV tuner card, but I don't watch enough HD programming to make it worth my while yet.
I have seen posts on these forums (but for the life of me I can't find any of them now) indicating that running too high a resolution with too little video "ooomph" can cause slowdowns in navigation within MythTV - Maybe you could try something in the 1024x768 range to see if that helps?


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 8:33 pm 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
It's a long shot, but you might want to try repairing and optimizing your mysql database -- see the database optimization section of this article: http://www.knoppmythwiki.org/index.php? ... imizeHowTo

My experience with xfs is that it is very efficient at deleting files.

Update: You can also try dropping your video resolution to see if that helps with performance. Your set will probably support lower resolutions through the VGA port.

Marc


Top
 Profile  
 
 Post subject:
PostPosted: Tue Feb 26, 2008 11:03 pm 
Offline
Joined: Thu Mar 23, 2006 5:47 pm
Posts: 22
I reset the resolution to 800x600 and performance greatly improved. I can't help but wonder if since the graphics card shares RAM with the system, it was finding some way to go heavily into swap or some such.

Either way, I cannot see much of a difference between 800x600 and 1600x1200, other than that the guide is a bit larger.

Thanks everyone!


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 2:17 am 
Offline
Joined: Mon Jun 21, 2004 5:28 am
Posts: 700
Location: Germany
I have noticed that some themes fall over with higher resolutions. This was back when I had 256M, but the memory usage was so great I think it would have crippled a 1G machine.

The solution was to either lower the resolution (as you did) or find a better theme (as I did). I've found MythCenter and MythCenter-wide work well.

Cheers,

Allen

_________________
ASUS AT3N7A-I (Atom 330)
TBS 8922 PCI (DVB-S2)


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 12:04 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
My guess is swapping. The signature is the coffee-grinder disk drive behavior when you try to invoke something that causes a module to load. Check your swap partition and see if it's using any swap. If it is, you might be able to just add some RAM. Cheap at today's prices!

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 1:57 pm 
Offline
Joined: Wed Dec 21, 2005 1:14 pm
Posts: 145
Location: Charlotte NC USA
you may also want to check in the BIOS for a setting that controls how much of the ram is used for video. If you bump it up it may help.


Top
 Profile  
 
PostPosted: Wed Feb 27, 2008 2:46 pm 
Offline
Joined: Sun Sep 25, 2005 3:50 pm
Posts: 1013
Location: Los Angeles
Ravenium wrote:
1. Deleting shows: It happens right away, but the disk grinds away for up to 10-20 seconds and locks up the system during said process. I've chalked this up to XFS (which I hear has a few file delete performance issues) on the /myth partition.


You can also check to see how fragmented your XFS partition is. This command will tell you:
Code:
mythbox-mbe:~# xfs_db -r /dev/md0
xfs_db> frag


It will output something like this:
Code:
actual 18340, ideal 14733, fragmentation factor 19.67%


Replace /dev/md0 with your /myth partition.

_________________
Mike
My Hardware Profile


Top
 Profile  
 
PostPosted: Wed Feb 27, 2008 2:58 pm 
Offline
Joined: Mon Jun 27, 2005 4:42 pm
Posts: 321
Location: Minneapolis, Minnesota, USA
Quote:
Deleting shows: It happens right away, but the disk grinds
away for up to 10-20 seconds and locks up the system during
said process. I've chalked this up to XFS (which I hear has a
few file delete performance issues) on the /myth partition.

FWIW, I often (though not always) see the same thing using
ext3. Sometimes it's so bad that it will exit playback mode as
if the EOF had been reached and ask me if I want to delete the
recording. If I wait for the disk churning to stop, I can
watch the aborted program with no problems.

I've checked my RAM usage, and on average 50-70% is being used
for buffer cache, so more RAM obviously isn't the answer.

I tried optimizing MySQL tables, and that didn't make any
difference. Deleting a bunch of recordings to get the
partition usage down below 50% didn't make any difference
either.
Quote:
During this time I can of course select live tv, but it will
merely make the screen black for that time, then boot me to the
main menu. If I wait for the disk to quit grinding, I can then
select live tv and it works fine.

In the past when I've asked about this problem, the standard
answer I got was to switch from ext3 to XFS. I haven't done
that yet, but Apparently that's not a solution. :/

_________________
Grant


Top
 Profile  
 
 Post subject:
PostPosted: Wed Feb 27, 2008 6:23 pm 
Offline
Joined: Fri May 21, 2004 11:55 pm
Posts: 1206
Location: Silicon Valley, CA
XFS is probably not your problem. I use XFS on two 750G drives, one for hdtv and one for movies. Deletes are instant, even for 130G football game programs in HD. Maybe there's something wrong with the disk (too many remapped sectors) or something.

_________________
Do you code to live, or live to code?
Search LinHES forum through Google


Top
 Profile  
 
PostPosted: Thu Feb 28, 2008 12:28 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
mihanson wrote:
You can also check to see how fragmented your XFS partition is. This command will tell you:
Code:
mythbox-mbe:~# xfs_db -r /dev/md0
xfs_db> frag


I ran this on my xfs file system and the output is actual 65991, ideal 22104, fragmentation factor 66.50%, so it looks like I need to defrag. How do you defarg an XFS file system under knoppmyth R5F27? Thanks!


Top
 Profile  
 
PostPosted: Thu Feb 28, 2008 8:32 am 
Offline
Joined: Wed Nov 16, 2005 8:55 pm
Posts: 1381
Location: Farmington, MI USA
Hi Marc,

marc.aronson wrote:
mihanson wrote:
You can also check to see how fragmented your XFS partition is. This command will tell you:
Code:
mythbox-mbe:~# xfs_db -r /dev/md0
xfs_db> frag


I ran this on my xfs file system and the output is actual 65991, ideal 22104, fragmentation factor 66.50%, so it looks like I need to defrag. How do you defarg an XFS file system under knoppmyth R5F27? Thanks!
Use xfs_fsr, part of the xfsdump utilities.


Top
 Profile  
 
PostPosted: Fri Feb 29, 2008 1:12 am 
Offline
Joined: Tue Jan 18, 2005 2:07 am
Posts: 1532
Location: California
slowtolearn wrote:
Hi Marc,
Use xfs_fsr, part of the xfsdump utilities.

Thanks for the info. Looks like xfsdump isn't pre-install in R5F27 -- how do I install it and do you invoke xfs_fsr with any special options? Thanks!

Marc


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 16 posts ] 
Go to page 1, 2  Next



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu