SageTV Community  

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

Notices

The SageTV Community Here's the place to discuss what's worth recording, HTPC deals at retail stores, events happening outside of your home theater, and pretty much anything else you'd like. (No For-Sale posts)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 12-23-2012, 10:24 AM
mgpaulus mgpaulus is offline
Sage Advanced User
 
Join Date: Mar 2011
Location: Colorado Springs, CO
Posts: 193
Defragging software?

What defragging software do you guys run? I have 5 drives in my system 1-2TB/ea, and some of them are really getting up there in fragmentation statistics. I'm just wondering if others have tried some different defrag programs and found one that seems less impacting on recording and playback performance? (ie, can the defrag program detect when Sage is recording or playing back and throttle back its resource consumption? Or one that doesn't seem to impact sage performance, even if it is running?)
Reply With Quote
  #2  
Old 12-23-2012, 10:30 AM
KeithAbbott KeithAbbott is online now
Sage Icon
 
Join Date: Oct 2009
Location: Southeastern Michigan
Posts: 1,375
Defragging an active SageTV recording or playback drive doesn't seem like a very good idea to me. I would try to find a time where no recording activity is going on (maybe overnight), stop the SageTV service and run the defrag. Once the defrag is complete, restart the SageTV service.
__________________
Server: MSI Z270 SLI Plus ATX Motherboard, Intel i7-7700T CPU, 32GB Memory, Unraid 6.11.5, sagetvopen-sagetv-server-opendct-java11 Docker (version 2.0.7)
Tuners: 2 x SiliconDust HDHomeRun Prime Cable TV Tuners, SiliconDust HDHomeRun CONNECT 4K OTA Tuner
Clients: Multiple HD300 Extenders, Multiple Fire TV Stick 4K Max w/MiniClient
Miscellaneous: Multiple Sony RM-VLZ620 Universal Remote Controls
Reply With Quote
  #3  
Old 12-23-2012, 11:02 AM
nyplayer nyplayer is offline
SageTVaholic
 
Join Date: Sep 2005
Posts: 4,997
Quote:
Originally Posted by mgpaulus View Post
What defragging software do you guys run? I have 5 drives in my system 1-2TB/ea, and some of them are really getting up there in fragmentation statistics. I'm just wondering if others have tried some different defrag programs and found one that seems less impacting on recording and playback performance? (ie, can the defrag program detect when Sage is recording or playing back and throttle back its resource consumption? Or one that doesn't seem to impact sage performance, even if it is running?)
Playing back is ok for the most part recording not so good. What I do since I have 4 recording drives is to temporarily remove 1 from sagetv recording... You will still be able to access and play videos but nothing will record to it. Then I defrag the drive put back online do the same to the others. I Use the Windows 8 built in defrag it s quite good.

On my other machines I use Diskeeper 12 Home.
__________________
Channels DVR UBUNTU Server 2 Primes 3 Connects TVE SageTV Docker with input from Channels DVR XMLTV and M3U VIA Opendct.

Last edited by nyplayer; 12-23-2012 at 11:20 AM.
Reply With Quote
  #4  
Old 12-23-2012, 12:16 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
I have had no problems whatsoever running diskeeper on my sage server for years. It doens't really add much load to the system, and it's auto-defrag mechanism seems to work really well as long as you ensure there is some working room free on the disk. I keep 30-50GB free on each of my recording drives using sage's 'Leave Free' setting. Has always worked great.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #5  
Old 12-23-2012, 01:10 PM
BobPhoenix BobPhoenix is offline
SageTVaholic
 
Join Date: Oct 2004
Posts: 3,152
I don't use a defrag program. My OS drive is an SSD and I've never defraged recording drives. Never had any problems with recordings due to drive problems from a fragmented file.
Reply With Quote
  #6  
Old 12-23-2012, 02:11 PM
tmiranda's Avatar
tmiranda tmiranda is offline
SageTVaholic
 
Join Date: Jul 2005
Location: Central Florida, USA
Posts: 5,851
Quote:
Originally Posted by BobPhoenix View Post
I don't use a defrag program.
Ditto. You should not need to use one at all.
__________________

Sage Server: 8th gen Intel based system w/32GB RAM running Ubuntu Linux, HDHomeRun Prime with cable card for recording. Runs headless. Accessed via RD when necessary. Four HD-300 Extenders.
Reply With Quote
  #7  
Old 12-23-2012, 02:32 PM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
I use MyDefrag, but use custom scripts on the recording drives, and only when not recording. I don't run it that much. (BTW, been doing this for 5 years on some of the drives, and no failures.)

I also use 64K blocks on ALL my recording/archive drives, FYI.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
Reply With Quote
  #8  
Old 12-23-2012, 07:44 PM
deanm deanm is offline
Sage Aficionado
 
Join Date: Apr 2005
Location: North East, UK
Posts: 309
Quote:
Originally Posted by tmiranda View Post
Ditto. You should not need to use one at all.
Being running SageTV since V2 and never defragged a drive yet. Though not the same drive I must add
__________________
Darkside: DVB-C x4 DVB-T2 x2 HD-300 x4
Lightside: DVB-C x2 DVB-T2 x4 HD-300 x3
Reply With Quote
  #9  
Old 12-24-2012, 09:40 AM
mistergq's Avatar
mistergq mistergq is offline
Sage Expert
 
Join Date: Oct 2007
Posts: 747
Before replacing my server, I was using diskeeper. I just need to get around to adding it back on. If it is needed or not, not sure.
__________________
Media Server: Win 7 Home (32 bit), GIGABYTE GA-EP43-UD3L LGA 775 Intel P43 ATX Intel Motherboard, Intel Core 2 Quad Q9505 Yorkfield 2.83GHz, 4 GB Ram, Geforce 9600 GT PCI-E, 1x HD PVR, HD homerun (2x for OTA, 1x for FIOS QAM), 1 x HD Homerun Prime with cablecard from FIOS.

Client: Windows 10 Pro

Media Extenders: HD-200 x 3, HD-200 x 2
Reply With Quote
  #10  
Old 12-24-2012, 09:57 AM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
most likely would depend on your recording habits. Back when I had 6 tuners working on 3 drives, and before Sage had a 'bandwidth' drive allocation mode, it was a much more prevalent problem. Now, that I have more drives (5) than tuners (4), and sage is set to bandwidth, I should never have more than one recording being written to a drive and it shouldn't be a problem. Though since it's already on there, I'm not going to bother removing/disabling it.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #11  
Old 12-24-2012, 02:26 PM
paulbeers paulbeers is offline
SageTVaholic
 
Join Date: Jun 2005
Posts: 2,550
Quote:
Originally Posted by tmiranda View Post
Ditto. You should not need to use one at all.
Agreed. I never defrag. I use whatever the largest block setting when formatting my drives and never worry about it. Writing large data sets (like television recordings) shouldn't end up with that much fragmentation. I think my current server has been going for about 3 years and my current recording drives (2 - 750GB drives) have been going on for at least 2+. I regularly have 2+ shows recording to my two recording drives with no issues (often times 4 shows). Fragmentation is really only an issue when you have lots of little writes (yes I realize that writing two shows to a drive at any given time would mean the write would mean every other block would be a different episode, but that's pretty rare).

I think a lot of times, we see things like "X% fragmented" and we freak about about things that aren't really an issue. It's why many people get oil changes at 3,000 miles, because we see that sticker and think "I've got to get an oil change" when the experts will tell you that you can easily go 5,000 miles or more with modern oil!
__________________
Sage Server: AMD Athlon II 630, Asrock 785G motherboard, 3GB of RAM, 500GB OS HD in RAID 1 and 2 - 750GB Recording Drives, HDHomerun, Avermedia HD Duet & 2-HDPVRs, and 9.0TB storage in RAID 5 via Dell Perc 5i for DVD storage
Source: Clear QAM and OTA for locals, 2-DishNetwork VIP211's
Clients: 2 Sage HD300's, 2 Sage HD200's, 2 Sage HD100's, 1 MediaMVP, and 1 Placeshifter
Reply With Quote
  #12  
Old 12-27-2012, 08:58 AM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Quote:
Originally Posted by mgpaulus View Post
What defragging software do you guys run?

I have been using diskeeper home server version for years on all my Sage drives.
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #13  
Old 12-27-2012, 09:55 AM
Dargason Dargason is offline
Sage Expert
 
Join Date: Oct 2003
Posts: 516
This thread prompted me to open up the Disk Defragmenter program to see how bad my disks are, and I discovered that all my disks were at 0% fragmentation. Then I noticed that the program was already configured to defrag every Wednesday at 1:00am. I check my other Win7 PC and it was the same.

I think Win7 enables defrag by default.
Reply With Quote
  #14  
Old 12-27-2012, 10:04 AM
will will is offline
Sage Fanatic
 
Join Date: Jul 2009
Location: New York
Posts: 798
Quote:
Originally Posted by Dargason View Post
I think Win7 enables defrag by default.
You are correct, Windows 7 will defrag non-SSD drives by default. This change by MS probably hurt the after-market defrag software companies (though they have some advanced features MS doesn't).

If you are running XP, 2003, or Home Server v1 then you might need a defrag program.
__________________
Will

OS: Windows 7
Hardware: Intel Core i7-920 with 12GB RAM & an Adaptec 5805 with a Chenbro 36-port SAS Expander
Case: Antec 1200 with 4 iStarUSA trayless hot-swap cages (20 drives max)
Drives: 8 Toshiba/Hitachi 2TB drives in a RAID 6 & 7 Toshiba 3TB drives in a RAID 6
Capture Cards: HDHomeRun Connect Quatro 4, Hauppauge 60 HD-PVR
Players: 5 HD300s, 2 HD200s
Reply With Quote
  #15  
Old 12-27-2012, 11:35 AM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
Quote:
Originally Posted by will View Post
... This change by MS probably hurt the after-market defrag software companies (though they have some advanced features MS doesn't). ...
Not really, the one they use is almost worthless for anything but a simple single drive setup. It truly trashes "data" drives.

The main reason I defrag, is I record a bunch of shows, and then 6 months to a year later, I watch them (still have last 2 seasons of "Chuck" to watch). Run MyDefrag (free) in Analyze only right after a SageTV recording, and you'll see why I do this. (10% of the time, at least 1 file is scattered everywhere by Windows (as in 64K blocks, no 2 in a row!!!), and the others are split up)

I create a zone for recording, and sort them by last modify, that way I only need to defrag new stuff, old stuff never moves unless I watch something old and delete it.

You can also just defrag the files, not the file system. This just fines a space big enough for the file, and puts it there, not sorting the files into an order. This works well if you watch and delete most shows after a short time.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
Reply With Quote
  #16  
Old 12-27-2012, 07:18 PM
Fuzzy's Avatar
Fuzzy Fuzzy is offline
SageTVaholic
 
Join Date: Sep 2005
Location: Jurupa Valley, CA
Posts: 9,957
Quote:
Originally Posted by MattHelm View Post
Not really, the one they use is almost worthless for anything but a simple single drive setup. It truly trashes "data" drives.

The main reason I defrag, is I record a bunch of shows, and then 6 months to a year later, I watch them (still have last 2 seasons of "Chuck" to watch). Run MyDefrag (free) in Analyze only right after a SageTV recording, and you'll see why I do this. (10% of the time, at least 1 file is scattered everywhere by Windows (as in 64K blocks, no 2 in a row!!!), and the others are split up)

I create a zone for recording, and sort them by last modify, that way I only need to defrag new stuff, old stuff never moves unless I watch something old and delete it.

You can also just defrag the files, not the file system. This just fines a space big enough for the file, and puts it there, not sorting the files into an order. This works well if you watch and delete most shows after a short time.
That is the main reason I like diskkeeper so much. It's intelliwrite feature alters the way windows writes the packets to prevent the fragmentation in the first place.
__________________
Buy Fuzzy a beer! (Fuzzy likes beer)

unRAID Server: i7-6700, 32GB RAM, Dual 128GB SSD cache and 13TB pool, with SageTVv9, openDCT, Logitech Media Server and Plex Media Server each in Dockers.
Sources: HRHR Prime with Charter CableCard. HDHR-US for OTA.
Primary Client: HD-300 through XBoxOne in Living Room, Samsung HLT-6189S
Other Clients: Mi Box in Master Bedroom, HD-200 in kids room
Reply With Quote
  #17  
Old 12-28-2012, 04:16 PM
MattHelm MattHelm is offline
Sage Icon
 
Join Date: Jun 2005
Location: Chicago, IL
Posts: 1,209
Quote:
Originally Posted by Fuzzy View Post
That is the main reason I like diskkeeper so much. It's intelliwrite feature alters the way windows writes the packets to prevent the fragmentation in the first place.
I used it a LONG time ago, and had some issues on my recorder. (low end hardware, and too much writing, I think) I used it a few more years, but didn't want to keep paying for upgrades. I'm happy with MyDefrag and zones, it's free.
__________________
Server #1= AMD A10-5800, 8G RAM, F2A85-M PRO, 12TB, HDHomerun Prime, HDHR, Colossus (Playback - HD-200)
Server #2= AMD X2 3800+, 2G RAM, M2NPV-VM, 2TB, 3x HDHR OTA (Playback - HD-200)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC software reomondations. morikaweb General Discussion 19 01-04-2009 08:57 AM
A word of thanks....for your software rizzo General Discussion 0 03-04-2008 06:12 PM
Using Sage to Archive DVDs (Library Software) or Software Recommendations Please ... Exile SageTV Software 8 12-20-2006 01:18 PM
Software upgrades jilter General Discussion 2 10-10-2004 04:48 PM


All times are GMT -6. The time now is 06:21 AM.


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