SageTV Community  

Go Back   SageTV Community > General Discussion > General Discussion
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

General Discussion General discussion about SageTV and related companies, products, and technologies.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-08-2005, 07:16 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Defraggin your HDD

All,
I have found that 90% of my stuttering problems are caused by fragmented files. I've also found that defragmenting the HDD at the same time as Sage is recording, causes awful results with the recorded file.

I'm trying to figure out how I can schedule a defrag of the HDD when Sage is not going to be recording. It appears that for my HDD I need ~2 hours to get the drive de-fragmented. So what I've been doing is to manually look to see when Sage will be recording and getting a defrag session in when I can.

Anyone know if there is a way to script this? I've thought about scheduling the defrag at 2:00AM or something like that, to reduce the chance of defragmenting during a recording. Any other ideas? How are others doing this? Can we get sage to dump the recording schedule, then parse this to find big enough windows?

So what is everyone else doing?
Reply With Quote
  #2  
Old 05-08-2005, 07:50 AM
Jere_Jones's Avatar
Jere_Jones Jere_Jones is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Jacksonville, FL
Posts: 993
Quote:
Originally Posted by lovingHDTV
Can we get sage to dump the recording schedule, then parse this to find big enough windows?
That's easy enough. Just edit your sage.properties file. Look for the line "scheduler_export_file=". Add a filename and ta-da!

2 Warnings

1. Make sure that sage is completely closed (not just asleep) before editing.

2. The schedule includes the IR schedule, even if IR is turned off. You'll have to parse your way through that.

Enjoy,
Jere
__________________
Death to commercials!!!
Latest ShowAnalyzer Beta version: 0.9.7
Reply With Quote
  #3  
Old 05-08-2005, 08:09 AM
GTwannabe's Avatar
GTwannabe GTwannabe is offline
Sage Aficionado
 
Join Date: Dec 2004
Posts: 434
Are you using 64k clusters on your recording drives? Mine are 99% fragmented and I don't have any trouble with stuttering.
Reply With Quote
  #4  
Old 05-08-2005, 11:39 AM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
One of my drives is not formated at 64kB clusters. This is the one that I have to defrag all the time.

The other drives are fine.
Reply With Quote
  #5  
Old 05-08-2005, 06:44 PM
spike5884's Avatar
spike5884 spike5884 is offline
Sage Advanced User
 
Join Date: May 2004
Location: WI
Posts: 118
Is the 64k Cluster 'thingy' also good for the drive where I store music files(mp3)?? Since I re-encoded them at cd quality, they average about 4MB each.
Reply With Quote
  #6  
Old 05-08-2005, 06:51 PM
aperry's Avatar
aperry aperry is offline
Sage Expert
 
Join Date: Jan 2005
Posts: 680
It should be fine for your MP3's. The main place it might cause "problems", if any" would be if you had a ton of small (less than 64KB files). Each 1KB file would take 64KB on your drive.
Reply With Quote
  #7  
Old 05-08-2005, 08:55 PM
stanger89's Avatar
stanger89 stanger89 is offline
SageTVaholic
 
Join Date: May 2003
Location: Marion, IA
Posts: 15,188
64k is fine for just about any drive that doesn't have a lot of files <64k on it.
Reply With Quote
  #8  
Old 05-08-2005, 09:02 PM
Jakebucky Jakebucky is offline
Sage User
 
Join Date: Jul 2003
Posts: 52
What I do to defrag my drive is to create a batch file with this:
defrag C: -V

Then schedule that to run at 2 am. This works on XP only.
Reply With Quote
  #9  
Old 05-09-2005, 10:17 AM
wexsmith's Avatar
wexsmith wexsmith is offline
Sage User
 
Join Date: Apr 2004
Location: Disneyland, CA
Posts: 45
Why don't you guys just use a scheduled task to defrag?

http://www.microsoft.com/windowsxp/u...s/gehrke1.mspx

It's been around since Win95 and happens in a DOS shell, which closes after it's finished.


My OS partition is set to defrag every 1st day of the month. The recorded shows partition is set to defrag every 3 days. Last but not least my MP3 partition is set to defrag every 15th day of the month.

I definitely suggest to schedule defrags around your normal recording schedule. 4AM is the primetime for me to defrag since there's mostly infomercials on at that time and nothing records. You can even set it up to wake your computer to defrag, if you don't leave it on all the time.

Good luck and I hope it helps some of you.
__________________
Dedicated HTPC Specs:
Shuttle SN41G2B | Athlon XP 2600+ 333Mhz FSB | 1GB PC3200 @ 333Mhz| On-Board Audio | Maxtor 120GB 7200RPM 8MB Cache | Seagate 200GB 7200RPM 8MB Cache | GeForce FX5200 128MB | Hauppauge WinTV PVR-250 | NEC 2.4X DVD+R (stealthed)
Reply With Quote
  #10  
Old 05-09-2005, 12:07 PM
mbrown3 mbrown3 is offline
Sage Aficionado
 
Join Date: Oct 2003
Location: Marshall, MI
Posts: 360
I use an app called diskeeper (http://www.executive.com/defrag/defrag.asp), which allows you to set recurring defrag schedules for all drives. Great stuff, keeps things defragged nicely without having to worry about it, and has some pretty cool other features too.
Reply With Quote
  #11  
Old 05-09-2005, 01:11 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
I tried Diskeeper and it works fine for most of my drives, except for my recording drive. It says it will not defrag drives over 500GB. What do any of you here with over 500GB do to defrag?
PS I hate the built-in defrag as it takes WAY TO LONG to defrag my 750GB Raid-5 drive.
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #12  
Old 05-09-2005, 01:24 PM
lovingHDTV's Avatar
lovingHDTV lovingHDTV is offline
Sage Icon
 
Join Date: Jul 2003
Posts: 1,019
Scheduling a defrag is not a problem. Scheduling a defrag when I can guarantee that Sage will not recording is more difficult, but I looks like I can dump the recording schedule, parse it and then schedule a defrag.

thanks
Reply With Quote
  #13  
Old 05-11-2005, 01:41 PM
seawrx seawrx is offline
Sage User
 
Join Date: Aug 2004
Location: Seattle, WA
Posts: 5
howabout partitioning the 500gb drive into smaller partitions. Sage will "span" multiple volumes, and you can set Diskeeper to defrag one partition at time - say each morning 1-3am, etc.
Reply With Quote
  #14  
Old 05-11-2005, 02:27 PM
Blue's Avatar
Blue Blue is offline
Sage Advanced User
 
Join Date: Sep 2004
Location: DC
Posts: 130
I've read that you need Diskeeper Server edition to defrag drives larger than 500 GB.

A couple other defrag utilities (that I have not tried):
PerfectDisk - www.raxco.com
O&O Defrag - www.oo-software.com
Reply With Quote
  #15  
Old 06-02-2005, 10:57 AM
hmca's Avatar
hmca hmca is offline
Sage Advanced User
 
Join Date: Nov 2004
Location: NY
Posts: 81
Anybody have problems defraging Sage video files? I have about a dozen unwatched files that Windows XP (SP1) says it can not defrag. Thus I can't get below 88% fragmented.
__________________
XP SP1A; Sage V5.04; ; IN-WIN BT611T Case, custom full height conversion; Asus A7N8X VM/400; AthlonXP 2000, Palomino Core; Thermaltake Volcano 12 heatsink w/ sucking 80mm squirrel-cage fan, Zalman Fan-Mate on 5V, min setting; PNY 512MB PC2700; Gigabyte 7600 fanless, 256MB; 2 x Samsung Spinpoint 250GB; 3 x PVR250MCE; 3 x Hughes E8 OTA HD downconverters; External Fortron 400W Silent w/Performance-PCs.com extension cables; modified ZM-MC1 to 7V & 5V; Evercool 60 & 80mm fans @ 7V; StreamZap Remote
Reply With Quote
  #16  
Old 06-02-2005, 11:08 AM
rwc rwc is offline
Sage Aficionado
 
Join Date: Jun 2004
Posts: 284
Is there anyway to change an already formatted partition to use 64k clusters without reformatting it?

thanks,

rwc
Reply With Quote
  #17  
Old 06-02-2005, 12:28 PM
mdmint's Avatar
mdmint mdmint is offline
Sage Fanatic
 
Join Date: Apr 2004
Location: Vancouver, WA USofA
Posts: 877
Quote:
Originally Posted by Blue
I've read that you need Diskeeper Server edition to defrag drives larger than 500 GB.

A couple other defrag utilities (that I have not tried):
PerfectDisk - www.raxco.com
O&O Defrag - www.oo-software.com
WinXP Pro sp2 defrags my 1.495TB recording partition via schedule every Monday morning 6am no problem.
Reply With Quote
  #18  
Old 06-02-2005, 01:50 PM
SHS's Avatar
SHS SHS is offline
Moderator
 
Join Date: Mar 2003
Location: Vinita, Oklahoma
Posts: 4,589
Good list of Defragging Tools
Diskeeper Lite 7.0 it Free
DefragNT 1.9.0 it Free
Reply With Quote
  #19  
Old 06-02-2005, 02:53 PM
dvd_maniac's Avatar
dvd_maniac dvd_maniac is offline
Sage Icon
 
Join Date: Mar 2004
Location: New England
Posts: 1,899
@mdmint

I used to use the WinXP built-in utility, but it is WAY too slow.

@seawrx
Quote:
howabout partitioning the 500gb drive into smaller partitions
I am putting my 1000+ dvd collection (compressed with xvid & Nero Digital) on this drive and if I split it up then I would have to have two Movies directory in my Imported Video Library.

@Blue

I got a copy of Diskeeper Server from work and it works fine. Thanxxx
__________________
If this doesn't work right, Then:
"I'm going to blow up the Earth!"
Reply With Quote
  #20  
Old 06-02-2005, 06:43 PM
Menehune's Avatar
Menehune Menehune is offline
Sage Aficionado
 
Join Date: Oct 2004
Location: Maui, Hawaii
Posts: 403
Quote:
Originally Posted by rwc
Is there anyway to change an already formatted partition to use 64k clusters without reformatting it?
I just tried using PM8 to resize a partition and it didn't give a choice for cluster size. When I get home I will check Acronis and see if it will allow a conversion to 64k cluster.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 05:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.