|
Hardware Support Discussions related to using various hardware setups with SageTV products. Anything relating to capture cards, remotes, infrared receivers/transmitters, system compatibility or other hardware related problems or suggestions should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
RAID, Quad cpu, or ? for improved server performance??
I often record 3 HD streams with 3 instances of comskip running, and playback 3 HD streams on extenders. For now 1 of the extenders is the HD extender and 2 are SD extenders (transcoding) but eventually all 3 extenders will be HD. I use the server in service mode and have the system described in my signature.
The problem is I often get intermittent skipping, pausing, audio drops, etc. Smarter people than I have diagnosed (in another thread) most likely that these problems are due to the massive amount of random seeks of the hard drives (two separate 3.0 Gbs disks that Sage allocates space). Right now I have limited comskip to one instance to try and deal with my problem but it still happens quite frequently. My question is therefore: Would RAID 0,1,5,6, or 10 help with my high hard drive random seeks/bandwidth needs and fix my problem? If so what RAID variation and how should I implement it the most cost efficiently? Or would a Q6600 quad CPU fix it? Or a combination of the two? My WAF has been pretty low recently and I have considered buying a new or used lifetime Tivo for her since that is what we had before Sage and what she likes. I want to stick with Sage and have it just work. Any guidance would be greatly appreciated Thanks for all the help you forum members provide.
__________________
Server: C2D E6300 (oc to 3.0Ghz) / XP Pro SP3 / Gigabyte DS3 / 3GB Corsair DDR2 800 / BFG 7600GT/ VBox 150 tuner/ HDHomerun QAM / ATI 650 pro / AverTV M780 / USB-UIRT/ SageTV 6.4.8 / Java 1.6 Clients : 1 HD Extender, 2 wired MVPs and 1 Placeshifter |
#2
|
|||
|
|||
I often record 2-3 streams (usually HD) and have 4 MVPs/1 HD Extender and haven't had any stuttering issues. I do have a Quad Core and it's rare my CPU % gets above 30-40% (when really working it hard).
I don't use RAID, not sure if it would help you or not. I assume you formatted your drives with large clusters? I have 3 700GB drives. Sorry, nothing definitive (I'm not an expert), just giving you some food for thought. |
#3
|
|||
|
|||
Next time you get stuttering bring up the task manager (Alt+Ctrl+Del) and see what your CPU usage is.
RAID is unlikely to help you, if this is a read/write issue. RAID arrays can allow you to read the disk faster but not so much on write to it. 64k cluster size? Fragmented data? Are these IDE drives? Did you press F6 and load your SATA drivers before installing Windows? |
#4
|
|||
|
|||
BFisher,
Thanks for your input. Do you also use comskip live while recording? How many instances? Another note is that after I wrote that post last night I went to my system and started up 3 HD recordings (Leno, Letterman, Nightline) while watching the HD extender and letting the placeshifter be transcoded on the server, and 3 instances of comskip running. Guess what. Smooth as silk playback on the extender and placeshifter and the E6300 (oc @ 3.0 Ghz) was at 100% for about 5 minutes or so while comskip caught up with live tv (then settled to about 40%). I don't understand it. I was kind of hoping that the server would choke so that I could feel good about being able to reproduce the problem and head in the right direction in fixing it. But it was smooth playback for an hour of watching. Guess I will just let it go for a while and wait for the next mess up and go look at the logs. WAF be darned!
__________________
Server: C2D E6300 (oc to 3.0Ghz) / XP Pro SP3 / Gigabyte DS3 / 3GB Corsair DDR2 800 / BFG 7600GT/ VBox 150 tuner/ HDHomerun QAM / ATI 650 pro / AverTV M780 / USB-UIRT/ SageTV 6.4.8 / Java 1.6 Clients : 1 HD Extender, 2 wired MVPs and 1 Placeshifter |
#5
|
|||
|
|||
Quote:
Yes 64k clusters. I never defragment recording drives. For that matter not the OS drive either. The server is dedicated to running the Sage service / comskip only. No they are 3.0 Gbs SATA drives (one 400GB and one 500 GB Samsungs) Never heard of press F6 to load SATA drivers before installing Windows before. What does that do? Thanks for the ideas. Also I have a gigabit network and I don't run antivirus or firewalls except for the one built into the router.
__________________
Server: C2D E6300 (oc to 3.0Ghz) / XP Pro SP3 / Gigabyte DS3 / 3GB Corsair DDR2 800 / BFG 7600GT/ VBox 150 tuner/ HDHomerun QAM / ATI 650 pro / AverTV M780 / USB-UIRT/ SageTV 6.4.8 / Java 1.6 Clients : 1 HD Extender, 2 wired MVPs and 1 Placeshifter |
#6
|
||||
|
||||
Wow! Nice work on that CPU. The fastest I ever got my E6300 was 2.8 Ghz on water.
Incidently, I also had the E6300 (oc @ 2.2 Ghz on air) running my WHS with SageTV and also acting as the client. No commercial skipping but recording 2 HD streams and playing back an HD file. It struggled at times. Since I upgraded the server to a E6600 (oc @ 3.6 Ghz on air) I've had zero issues. If you're going to upgrade, a Q6600 would be the way to go. Or you could wait until mid February and get a Q9450. Make sure your MB will support it though. Also, defragment your recording drive once a week and that will help. If you haven't done it in a while, don't be surprised if it takes a while to complete. Pressing F6 during install is only for the raid/scsi drivers if you're going to run raid. You don't need to do that for Sata drives not running in Raid. Last edited by rlvogel322; 01-29-2008 at 08:49 AM. |
#7
|
|||
|
|||
Quote:
The only way to actually get that level of performance (3GB) is by installing the drivers for the controller when installing windows. Use some software like sisoft sandra to detect the actual transfer capacity. |
#8
|
|||
|
|||
Quote:
I notice you don't defragment... I do. I have Diskeeper running - and have the time block set up so it will only defrag from 1am until 5am each day. It's rare I record during this period, and if I do it's probably only 1 show. And it's even rarer I watch at this time My drives are always nice and clean when I check their fragmentation. |
#9
|
||||
|
||||
Did I see that you also use MVPs? I've noticed that these really bring down my performance on my server. Your test situation didn't mention them so that might be the difference.
|
#10
|
||||
|
||||
Comskip tip
For running comskip on a very active system like that I recommend tuning the comskip.ini to give it a speed limit...
http://www.kaashoek.com/files/tuning.htm Quote:
Edit: You also never meantioned how many Hardrives vs. Recording sources you have. I try and keep mine at a 1:1 ratio so in the worst cases (5 recordings, 5 comskips, and a full client load) the bandwidth is spread over multiple drives. Last edited by evilpenguin; 01-29-2008 at 07:35 PM. |
#11
|
||||
|
||||
just as a data point, i like to maintain an equal number of recording drives as tuners (2 HDHR's = 4 unique recording drives) - i have found that this has kept me from ever having skipping/drop out issues in playback. I also have never defragged my drives, and always use 64k block for NTFS. Some of my recording drives are ext3 on a NASLite NAS system...
while SATA drives have high throughput, multiple IOs still kill standard hard drives (in other words, that max 70 MB/s is with one file, the more files accessed "simultaneously", the lower the combined throughput), 3.0 gbps is the theoretical bus limit, no single drive on today's consumer market will r/w more than about 100 MB/s (0.8 gbps))
__________________
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 |
#12
|
|||
|
|||
Lots of fix ideas. Thanks folks.
>>>I notice you don't defragment... I do. I have Diskeeper running - and have the time block set up so it will only defrag from 1am until 5am each day. It's rare I record during this period, and if I do it's probably only 1 show. And it's even rarer I watch at this time My drives are always nice and clean when I check their fragmentation.<<< I used diskeeper on all my drives last night but the two recording drives still showed mostly fragmented (red). They are formated to 64k clusters. >>>I tuned mine so that a single instance of comskip can't run any faster than ~60fps. Its fast enough for live detection and, in the rare occasion it runs on a fully recorded file, it will go slow enough to prevent bandwidth issues.<<< What do the lines in the .ini file look like to calibrate conskip to 60fps? >>>You also never meantioned how many Hardrives vs. Recording sources you have. I try and keep mine at a 1:1 ratio so in the worst cases (5 recordings, 5 comskips, and a full client load) the bandwidth is spread over multiple drives.<<< Two recording hard drives, 4 HD OTA tuners (going to 6 with new HDHR), and 2 SD tuners. >>>just as a data point, i like to maintain an equal number of recording drives as tuners (2 HDHR's = 4 unique recording drives) - i have found that this has kept me from ever having skipping/drop out issues in playback.<<< Maybe I need 2 stick or 3 more hard drives in there of the 500 GB or 1TB variety! I guess yours are just allocated by Sage and not in a RAID configuration?
__________________
Server: C2D E6300 (oc to 3.0Ghz) / XP Pro SP3 / Gigabyte DS3 / 3GB Corsair DDR2 800 / BFG 7600GT/ VBox 150 tuner/ HDHomerun QAM / ATI 650 pro / AverTV M780 / USB-UIRT/ SageTV 6.4.8 / Java 1.6 Clients : 1 HD Extender, 2 wired MVPs and 1 Placeshifter |
#13
|
|||
|
|||
I performed a little more experimentation last night and this is what I found.
Given: 3 HD tuners recording (ABC, CBS, NBC news) 1 SD tuner recording watching only on the HD extender 3 instances of conskip running I got bad stutter and/or macro blocking recorded into the recordings (and of coarse viewing). I have not tuned conskip to "play nice" yet nor had I defragged the hard drives yet. It had played smooth the other night under similar circumstances (Leno, Letterman, etc) but I can reliably reproduce the problem from 6:30pm-7:00pm every weeknight (I don't think it is just during this time period however). The funny thing is that I see people post that they have 6 recordings or more going on due to soft padding and not have a problem. Or they have 3 HD recordings going with 3 instances of conskip while streaming to multiple extenders and still have now problems. I just don't get what I'm doing wrong. Very frustrating! I guess my plan of action is going to be in this order: Tune Conskip to 60 fps when I learn how Record on defragged recording drives Buy 2 (with total of 4 in system) new recording hard drives and let Sage allocate recordings Put the 4 drives into some type of performance enhancing RAID Buy a Q6600 cpu (eventually) Notice the cheaper stuff is first. Does this sound like a reasonable plan?
__________________
Server: C2D E6300 (oc to 3.0Ghz) / XP Pro SP3 / Gigabyte DS3 / 3GB Corsair DDR2 800 / BFG 7600GT/ VBox 150 tuner/ HDHomerun QAM / ATI 650 pro / AverTV M780 / USB-UIRT/ SageTV 6.4.8 / Java 1.6 Clients : 1 HD Extender, 2 wired MVPs and 1 Placeshifter |
#14
|
|||
|
|||
Quote:
My problem is also 3 MVPs that could be all transcoding at the same time so as I do this, I will be checking task manager to see that my cpu is not pegged. |
#15
|
||||
|
||||
I don't know how comfortable you are with buying used stuff, but you can get a pretty good deal on Q6600 and even Q6700 through Ebay. I've done it in the past with good success.
I would think the Q6600 and Q6700 would be dropping siginificantly by the end of February. The new quads are set to hit the market then. I'm not sure if it has been mentioned, but are you sure your drives are set to 3.0 Gbs transfer rate? The last two drives I purchased (OEM from the Egg) came with the jumper installed so that it was set to 1.5 Gbs. Just a thought... |
#16
|
||||
|
||||
Quote:
correct, i have (currently) 4 500 GB SATA drives used solely by Sage as recording drives, each is an independent drive, no RAID. I'm slowly moving all my drives to my NAS ( http://www.serverelements.com ) so i currently have 2 NTFS drives locally on the Sage server, and 2 ext3 drives over gigabit enet on the NASLite box. As another data point, the NASLite box can saturate gigabit enet with no problem
__________________
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 |
#17
|
|||
|
|||
not to hijack the thread... but what is the advantage of NAS devices versus adding more drives to the PC itself? Seems like you could run into network issues easier... (I'm assuming NAS device sits on the network, not directly connected to the PC)
|
#18
|
||||
|
||||
Quote:
Quote:
Edit: I meant freenas, not readynas, my mistake. Last edited by megamojo; 01-31-2008 at 09:37 AM. |
#19
|
||||
|
||||
I'm fairly sure that's untrue, setting your jumpers properly can by you 5-10MB extra throughput. Its not much, but in an HTPC setting that much extra can help a lot.
|
#20
|
||||
|
||||
Agreed, but I'm pretty sure that 5-10 MB/s extra throughput is not the root cause of th OP's problem.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Sage Server as a service in Win2003 drive mapping | eguy | SageTV Software | 9 | 07-27-2007 01:10 PM |
CPU use for MOBO Raid 1 | Jesse | Hardware Support | 1 | 12-24-2006 10:34 AM |
SageTV 4.1 is crashing Win2003 server | SethV | SageTV Software | 7 | 02-03-2006 11:16 PM |
Enabling Library share pegs Sage Server cpu | mdmint | SageTV Software | 15 | 01-25-2005 02:59 AM |
100% CPU for RC3 Server after Client Action | plawlor | SageTV Beta Test Software | 3 | 05-10-2004 05:58 AM |