|
General Discussion General discussion about SageTV and related companies, products, and technologies. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
performance increase, via a defrag?
I know some people are looking for way to increase performance of their systems. This is one that is fairly cheap, and may provide great results.
I have been having some issues playing HD recordings lately. My server is up to spec, my client is the HDExtneder and should be able to handle playback of an HD recording. My source is a HDHR which practically EVERYONE uses on this board so that is a proven technology. That left only TWO sources for my poor playback, network congestion, or hard drive bottleneck. I purchased the product "Disk Keeper" and installed it on my video server. The initial analyze of my recording drive (a single 500 gig drive, 33pct free space) showed it to be 98% fragmented (that is to say the WHOLE drive was chopped up into fragments). I attempted to defrag it but apparently it was so bad neither the NT defrag or the Diskeeper could put all those files back together. Even a reboot and defrag option wouldn't get any better. Here is how I solved my defrag problem. First of all I stopped the SageTV service (I was running in service mode), then I stopped my Comskip monitor service. I copied all files in my "SageTVRecordings" directory (the subfolder I have designated as my recording directory) over to another server (300 gigs at the time). ONce it was done copying I removed the partition of that drive, recreated the partition and re-formatted the drive. I then copied back the "SageTVRecordings" directory back, restarted the services and was able to watch some TV... I just finished and my drive is at 0pct fragmented, which HAS to help with performance. I will update this post after a few days and let everyone know if this stopped my HD skipping problem. |
#2
|
||||
|
||||
I know there are posters who say defrag does not help if the drive is formatted correctly, but I have diskeeper automonitoring the hard drive. My drive does not get that fragmented anymore.
__________________
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 |
#3
|
|||
|
|||
You could have just downloaded a free copy of JKDefrag. It works fine with very little free space on the drive.
|
#4
|
||||
|
||||
That works well for me now that it's been running (couple of short-duration schedules per day) for about a week. I haven't seen any major artifacts or stuttering since defragging. It's defrag performance, expectedly, does drop the less free space is available. It was really hard (read impossible) for my setup to record a good HD show when watching another when both had fragment counts in the 1000's.
__________________
Server: MS Win7 SP1; FX8350 (H2O cooled); 8GB RAM; Hauppauge HVR-7164 (OTA); HVR-885 (OTA); SageTV 9.1.5.x; 12+TB Sage Storage Clients: HD300 x2; HD200 x2; Placeshifter Service: EPB Fiber (1Gb); OTA (we "cut the cord"); Netflix, Hulu, etc. |
#5
|
||||
|
||||
FWIW - I went through the same exact experience. Only difference was I had skipping on SD shows. For me the skipping showed up after installing an additional tuner & upgrading my VidCard. The defrag solved my problems for about 2 wks but came back - another defrag again solved it.
Since then I've removed the 3rd tuner and downgraded the vidcard and haven't needed to defrag for about 5 wks. I think my system simply became unstable with the additional hardware and it effected the recording/playback performance. I'm in the process of rebuilding the machine (for the HD-pvr) which hopefully resolves this issue for good. I've read the defrag debates and often wonder if system stability effects whether some users need to defrag while others are fine without?? wado |
#6
|
|||
|
|||
Quote:
JKDefrag actually suggests daily. |
#7
|
||||
|
||||
Quote:
I stopped trying to figure it out when the HD-PVR was announced which will reallocate this machine to a client, removing tuners & drives - my new server hardware comes this week going quad!! |
#8
|
|||
|
|||
No. This does not make sense to me anyway. I would think that you would have hardware failures if it were a power supply problem.
|
#9
|
||||
|
||||
I've been de-fragging on a schedule for years. Take note though that you don't want to schedule a defrag when you expect to make a recording. I use to defrag nightly but because of the above only do so now once a week in the wee early morning hours.
I am building a new server and dropping from 7 hard drive down to probably 3 bigger disks. I'm not sure what will be better for performance, multiple tuners trying to write to the same drive, or multiple drives trying to share the same system bus. Either way I'll end up with more storage and use less power in the new machine. |
#10
|
|||
|
|||
Quote:
I ran Sage for over 2 years without any problems then the stuttering began. I tried defragging and it seemed to help. Eventually my system began to randomly reboot and I tracked the problem down to a dying cpu. It would run prime95 for hours on end, but was still bad. RMA'd it and haven't had any stuttering problems since and I haven't defragged in almost a year. So stuttering can be caused by all sorts of odd problems. |
#11
|
|||
|
|||
I suspect that a few people find performance gains when they defrag the video store. I also suspect that those people have other problems.
When a defrag helped me I looked a little deeper and found other problems. When I fixed the other problem defrag no longer helped. I had to updated old drivers, update Java and reformat using the largest block size. I suggest that when a defrag helps, you should look a little deeper. Quote:
|
#12
|
|||
|
|||
Not all people will be able to reformat using larger block size. For them running defrag may be a good option
__________________
Support Comskip, visit the forum and donate at http://www.comskip.org/ |
#13
|
|||
|
|||
I got a question. We are all dealing with large file sizes and it is always said to format with 64K blocks. Would 128K be better/worse? Are there even larger options?
|
#14
|
|||
|
|||
I believe that 64K blocks is the largest option when formatting with windows.
|
#15
|
||||
|
||||
I see a lot of post about HDD performance/clusters/degrag and how to best handle video storage read/write. It would be great to find a nice write-up about how to best handle large file read/writes from multiple clients etc. I found this great 'Reference Guide' on storagereview.com but it's a bit outdated and for general use. A great read to understand all the HDD specs. http://www.storagereview.com/guide/index.html
Anyone know of a comprehensive HDD guide targeted specifically for htpc use?? |
#16
|
|||
|
|||
Quote:
Below is a quote from another thread. Quote:
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage & Client Performance Increase - NIC! | coldtoes | SageTV Software | 10 | 05-20-2008 03:20 AM |
SAGE Disk Performance Testing | msmith8228 | Hardware Support | 3 | 06-23-2006 08:05 AM |
Extender Performance in 4.1 | pvrpenguin | SageTV Media Extender | 6 | 12-19-2005 05:32 AM |
VMR9 performance increase using Nvidia decoder 1.02-150 | mkanet | General Discussion | 2 | 07-02-2005 10:47 AM |
Easy Performance Increase for Hauppauge Users | Narflex | General Discussion | 85 | 03-20-2005 02:59 PM |