SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Software
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Software Discussion related to the SageTV application produced by SageTV. Questions, issues, problems, suggestions, etc. relating to the SageTV software application should be posted here. (Check the descriptions of the other forums; all hardware related questions go in the Hardware Support forum, etc. And, post in the customizations forum instead if any customizations are active.)

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 10-29-2008, 01:45 PM
archcommus archcommus is offline
Sage Advanced User
 
Join Date: May 2006
Posts: 150
How common is stuttering on 4K cluster size partitions, really?

Hi, I know everyone here recommends a partition formatted with 64K clusters for HD recording and playback to avoid stuttering. I use a regular partition formatted to 4K clusters and experience no stuttering at all. My computer is a quad core Intel CPU with 4 GB memory and a Samsung 500 GB hard drive.

So my question is, how common is stuttering on non-64K cluster drives, really? Is this just an old recommendation that doesn't really apply to modern faster computers? If it's still very relevant today I'm curious why I'm not experiencing it.

Thanks.

Last edited by archcommus; 10-31-2008 at 10:47 PM.
Reply With Quote
  #2  
Old 10-29-2008, 01:51 PM
gplasky's Avatar
gplasky gplasky is offline
SageTVaholic
 
Join Date: Jul 2003
Location: Howell, MI
Posts: 9,203
It's not the processor speed or the memory that is the issue. If you're recording HD you are guaranteed to get stuttering as you record and delete recordings if you're using 4k clusters. The huge files become so fragmented that it is the drive head that can't keep up with reading the file because it is spending most of its time flying all over the platter. DVD rips aren't usually an issue but HD recordings are.

Gerry
__________________
Big Gerr
_______
Server - WHS 2011: Sage 7.1.9 - 1 x HD Prime and 2 x HDHomeRun - Intel Atom D525 1.6 GHz, Acer Easystore, RAM 4 GB, 4 x 2TB hotswap drives, 1 x 2TB USB ext Clients: 2 x PC Clients, 1 x HD300, 2 x HD-200, 1 x HD-100 DEV Client: Win 7 Ultimate 64 bit - AMD 64 x2 6000+, Gigabyte GA-MA790GP-DS4H MB, RAM 4GB, HD OS:500GB, DATA:1 x 500GB, Pace RGN STB.
Reply With Quote
  #3  
Old 10-29-2008, 02:09 PM
jlmdxtv jlmdxtv is offline
Sage Advanced User
 
Join Date: Oct 2005
Location: PA
Posts: 182
I've tested recording to a dedicated drive with 16K clusters on a modern dual-core system with a modern 750GB Seagate SATA drive. When recording 2 or more HD shows simultaneously, I experienced a slight (1/2 second) stutter - *in the recording* - about once every ten minutes per HD recording. I'd expect it would be much worse as the drive became fragmented.

john
Reply With Quote
  #4  
Old 10-29-2008, 04:36 PM
archcommus archcommus is offline
Sage Advanced User
 
Join Date: May 2006
Posts: 150
Quote:
Originally Posted by gplasky View Post
It's not the processor speed or the memory that is the issue. If you're recording HD you are guaranteed to get stuttering as you record and delete recordings if you're using 4k clusters. The huge files become so fragmented that it is the drive head that can't keep up with reading the file because it is spending most of its time flying all over the platter. DVD rips aren't usually an issue but HD recordings are.

Gerry
I see, thanks, didn't realize the issue really crops up when things get fragmented. The partition I'm using is dedicated to files, so it doesn't get fragmented much to begin with, and I run Vista's defrag once a week, currently it tells me my files partition is 0% fragmented and the programs partition is 1%. This is probably why I don't see the issue even with 4K clusters. I also don't keep recordings around for very long.
Reply With Quote
  #5  
Old 10-30-2008, 09:43 AM
Taddeusz Taddeusz is offline
SageTVaholic
 
Join Date: Nov 2004
Location: Yukon, OK
Posts: 3,919
Quote:
Originally Posted by archcommus View Post
I see, thanks, didn't realize the issue really crops up when things get fragmented. The partition I'm using is dedicated to files, so it doesn't get fragmented much to begin with, and I run Vista's defrag once a week, currently it tells me my files partition is 0% fragmented and the programs partition is 1%. This is probably why I don't see the issue even with 4K clusters. I also don't keep recordings around for very long.
Keep in mind that Vista's defrag ignores files that have extents that are 64MB or larger. In other words, if you have a 4GB file that is broken up into 3 pieces but no piece is smaller than 64MB it does not consider that file fragmented and ignores it.

https://blogs.technet.com/filecab/articles/440717.aspx
__________________
Server: i5 8400, ASUS Prime H370M-Plus/CSM, 16GB RAM, 15TB drive array + 500GB cache, 2 HDHR's, SageTV 9, unRAID 6.6.3
Client 1: HD300 (latest FW), HDMI to an Insignia 65" 1080p LCD and optical SPDIF to a Sony Receiver
Client 2: HD200 (latest FW), HDMI to an Insignia NS-LCD42HD-09 1080p LCD
Reply With Quote
  #6  
Old 10-30-2008, 12:38 PM
heffe2001's Avatar
heffe2001 heffe2001 is offline
Sage Icon
 
Join Date: Mar 2004
Location: Conover, NC
Posts: 1,269
Quote:
Originally Posted by archcommus View Post
I also don't keep recordings around for very long.
Isn't this what causes fragmentation in the first place? Have say, show A B C & D (all 1hr) recorded, watch C, delete, show E (30 min) records in the blank spot between B & D, show F (1hr) records, half between B & D, half after D, etc...

Wouldn't a defrag system like perfect disk (has freespace defragmentation) help out more than just defragmenting the existing recordings alone?
__________________
Server: AMD Phenom 2 920 2.8ghz Quad, 16gb Ram, 4tb Storage, 1xHVR-2250, 1 Ceton Cable Card adapter, Windows 7 SP1
Reply With Quote
  #7  
Old 10-31-2008, 04:54 AM
davephan's Avatar
davephan davephan is offline
Sage Icon
 
Join Date: Mar 2004
Location: Minnesota
Posts: 1,911
I'd recommend using a separate drive for the operating system from the video storage drive, instead of partitioning one drive. Format the video storage drive with 64K blocks. Take periodic disk images of the operating system drive and store them on a separate USB hard drive. If you use separate operating system and video storage drives, it is easier and quicker to backup and recover when the computer needs to be recovered.

Dave
Reply With Quote
  #8  
Old 10-31-2008, 06:15 AM
bartley9 bartley9 is offline
Sage Advanced User
 
Join Date: Oct 2004
Posts: 91
There was a thread about this a while back. Another vry important factor is the amount iof I/O's you can issue against a disk. The time taken to write a 64K block is only very marginally longer than a 4K block. Most of the time is spent getting ready and positioning the heads, the write time is small.

With 64K clusters you will be doing 16 times less I/O's. Or to put it another way if you have multiple tuners or client you can support 16 times as many.
__________________
Server: ABIT IC7, P4 2.8 HT, 512MB, XP 2003, ABIT IC7, 2x100MB Lan, 2TB x 8 Disks, USBUIRT, PVR500, Composite from 2xSky boxes in a big box in my garage
PVR: ABIT SG-80, Celeron 2.8, 512MB, XP Pro, 20GB Disk, 100MB Lan, USBUIRT, SKY+ remote control
Client2: ABIT AL8, P4 3.0, 1024MB RAM, XP Pro.
Client3: ABIT IC7, P4 2.4, 512MB RAM, XP Pro.
Client4: ABIT AI7, Celeron 2.4, 512MB RAM, XP Pro.
Reply With Quote
  #9  
Old 10-31-2008, 05:15 PM
archcommus archcommus is offline
Sage Advanced User
 
Join Date: May 2006
Posts: 150
Quote:
Originally Posted by Taddeusz View Post
Keep in mind that Vista's defrag ignores files that have extents that are 64MB or larger. In other words, if you have a 4GB file that is broken up into 3 pieces but no piece is smaller than 64MB it does not consider that file fragmented and ignores it.

https://blogs.technet.com/filecab/articles/440717.aspx
Thanks, I didn't know that about Vista's defrag. So it's possible another tool would report it more fragemented.

Deleting, recording, etc. frequently would definitley contribute to fragmentation. But I usually record like 2 or 3 shows max, then watch all and delete all. Considering the partition is completely just for data and is hardly written to, I think overall the partition doesn't get very fragmented.

Quote:
Originally Posted by davephan View Post
I'd recommend using a separate drive for the operating system from the video storage drive, instead of partitioning one drive. Format the video storage drive with 64K blocks.
I think multiple partitions is just as effective as separate physical drives for managing and backing up data. But, does a separate partition with 64K clusters work as well as a whole drive with 64K clusters for recording?

Considering supporting 16 times as many I/O's, I think that makes an important point that another big reason for 64K clusters is multiple simultaneous recordings, obviously going to lead to fragmentation. Again, something I don't do.

I think it's safe to say I don't experience stuttering (even with HD) because my files partition is rarely written to, I don't do simultaneous recordings, and I usually watch and delete shows in batches. But I understand that if my recording habits ever change then I would maybe have a reason to create a dedicated partition with 64K clusters. But I am curious if a 64K cluster partition on a drive is as effective as a whole physical drive formatted to 64K clusters.

Last edited by archcommus; 10-31-2008 at 06:14 PM.
Reply With Quote
  #10  
Old 10-31-2008, 05:46 PM
GKusnick's Avatar
GKusnick GKusnick is offline
SageTVaholic
 
Join Date: Dec 2005
Posts: 5,083
Quote:
Originally Posted by archcommus View Post
But I am curious if a 64K cluster partition on a drive is as effective as a whole physical drive formatted to 64K clusters.
Partitioning a disk can help with fragmentation, but it doesn't change the fact that there's still just one read/write head. If you're simultaneously writing two files (e.g. a recording and a log file) to different partitions on the same physical disk, you're going to get more seeking (and lower overall performance) than if they're written to the same partition, or to different physical disks.

Another advantage to keeping your recordings on a separate disk is that it makes it easier to upgrade to a bigger recording disk as prices come down, without disturbing your boot disk. This may not seem like an issue for you now, but again, if your habits change (e.g. you decide to archive a whole season of your favorite show), those bigger disks may start to look tempting.
__________________
-- Greg
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
HD-PVR partition cluster size bfb1963 Hardware Support 3 09-13-2008 09:13 PM
Heap Size and Stuttering vividweb SageTV Software 5 06-02-2008 04:33 PM
Cluster Size Questions EdwardATeller Hardware Support 2 03-22-2008 11:42 AM
SageTV service takes 10-20 minutes to start White94Cobra SageTV Software 0 11-06-2007 09:00 PM
Whats the quickest way to see what cluster size your hard disk was formatter with? mkanet General Discussion 2 11-10-2005 09:32 PM


All times are GMT -6. The time now is 09:12 AM.


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