![]() |
|
SageTV Mac Edition Discussion related to the SageTV Media Center for Mac edition. Questions, issues, problems, suggestions, etc. relating to the SageTV Mac edition should be posted here. |
![]() |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
||||
|
||||
Setting Hard Drive block size to 64KB
Hey,
Sage recommends formatting the video storage drive to 64KB block size for best performance. It isn't so obvious how to do this in Mac OSX. I've scoured the Apple support site, and could only find reference to specifically setting allocation block size in relation to Xsan drives using Xsan Admin. The only other reference to formatting a drive to optimize for video playback was in relation to Apple's iMovie, stating that formatting the drive to HFS Extended would yield the best result. It's not clear how any of this relates to journalled formatting either. This is another avenue I'm considering to eliminate the occasional video hiccup. Does anybody have experience with this? Thanks, MB
__________________
MacMini 2GHz Intel Core 2 Duo 2GB SDRAM OSX v10.6 Nvidia GeForce 9400M Sony SXRD-A502000 Silicon Dust HDHomerun Dual OTA Tuner 2TB My Book External Firewire Last edited by mcbrems; 04-29-2008 at 02:28 PM. Reason: for clarity |
#2
|
|||
|
|||
I read somewhere on the internet that the default block size on Leopard is 4Kb. As far as I can tell there is no way to change that when partitioning a device from OS X, other than with RAID tools. Of course, that doesn't mean you can't partition the drive with another OS, perhaps there's a utility that allows block sizing for Linux?
__________________
Server WIN7PRO, AMD Phenom II Deneb, 4GB RAM, Gigabyte GeForce 7300 GS 512MB, RAID0 600GB, Hauppauge 500MCE, HD PVR w/ DCT-6200, HDHomerun, SageTV 7.0.12 |
#3
|
||||
|
||||
I wouldn't bother, the Unified Buffer Cache should smooth out mass storage bottlenecks. Is the hiccup while recording, playing back, or both (in which case it has absolutely nothing to do with mass storage)?
|
#4
|
||||
|
||||
Only when playing back... usually 1080HD material. After the hiccup (dropped frames) I am able to skip back to just before the occurance and verify the integrity of the stream - in other words, I immediately play it again and no frames are dropped in the exact same place, confirming that all of the frames were recorded, and that the issue is with playback.
__________________
MacMini 2GHz Intel Core 2 Duo 2GB SDRAM OSX v10.6 Nvidia GeForce 9400M Sony SXRD-A502000 Silicon Dust HDHomerun Dual OTA Tuner 2TB My Book External Firewire Last edited by mcbrems; 05-06-2008 at 11:27 AM. |
#5
|
||||
|
||||
I'm going to look into it a little further, but part of the 64 K block issue is with NTFS itself. I use ext3 formatted hard drives (default block size) as recording drives, and have no issues with fragmentation. I am assuming that HFS+ with journaling will have just as few problems with fragmentation as ext3 - NTFS just flat out stinks in many ways.
***edit*** forgot to add, HFS+, as well as utilizing delayed allocations (in order to find contiguous blocks), has built-in, on-the-fly, auto-defragmentation for files under 20 MB in size. So, basically, the way HFS+ was created and how it deals with allocating blocks for data goes a tremendously long way in preventing the fragmentation of data in the first place.
__________________
MacBook Core2Duo 2 ghz nVidia 9400M GPU 46" Sammy HLP4663 720p DLP 2x HDHR, all OTA QNAP TS-809: 12.5 TB for Recordings/Imports/TimeMachine/Music HD200 via 802.11n in Living Room 802.11n client in bedroom Last edited by sandor; 05-07-2008 at 02:13 PM. |
#6
|
||||
|
||||
Quote:
|
#7
|
||||
|
||||
Quote:
Thx
__________________
MacMini 2GHz Intel Core 2 Duo 2GB SDRAM OSX v10.6 Nvidia GeForce 9400M Sony SXRD-A502000 Silicon Dust HDHomerun Dual OTA Tuner 2TB My Book External Firewire |
#8
|
||||
|
||||
VLC plays the same files fine. In fact, SageTV V6.4.0 stutters on archived files that 6.3.5 plays just fine, so I know it's not storage-related, and I know the issue is 6.4.0-centric when it happens with nothing else open but Sage.
__________________
MacMini 2GHz Intel Core 2 Duo 2GB SDRAM OSX v10.6 Nvidia GeForce 9400M Sony SXRD-A502000 Silicon Dust HDHomerun Dual OTA Tuner 2TB My Book External Firewire Last edited by mcbrems; 05-09-2008 at 11:21 AM. |
#9
|
||||
|
||||
Quote:
its just one of the many underlying benefits of a file system such as HFS+ or ext3 - these file systems work in ways that keep fragmentation from happening in the first place, unlike NTFS. I haven't done any testing wrt to HFS+, but, as i said, my Sage system records everything to an ext3 NAS, and i have done extensive testing with it, and block size makes nary a difference in performance.
__________________
MacBook Core2Duo 2 ghz nVidia 9400M GPU 46" Sammy HLP4663 720p DLP 2x HDHR, all OTA QNAP TS-809: 12.5 TB for Recordings/Imports/TimeMachine/Music HD200 via 802.11n in Living Room 802.11n client in bedroom |
#10
|
||||
|
||||
Quote:
My guess is that the file usage on Linux is different enough and doesn't cause inherently so much fragmentation - which is why this is less an issue -. There are no secret miracles when you need to read and write multiple streams of undefined length of data at the same time, fragmentation happens. Last edited by CadErik; 12-21-2008 at 03:15 AM. |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hate to say it, but DirectTV makes me use Sage much less... | Shield | General Discussion | 27 | 01-03-2008 11:45 AM |
HD set top into Sage... How without dropping to SD? | DRM2PVR | Hardware Support | 3 | 01-02-2008 04:29 PM |
HD QAM Tuners | happyfirst | Hardware Support | 2 | 10-21-2007 02:03 PM |
Channel Merit Setting? | spacecadet | SageTV Software | 15 | 09-25-2007 08:13 AM |
Set HD preferences for a specific show? | bwillet | SageTV Software | 1 | 02-19-2007 01:42 PM |