DV Info Net

DV Info Net (https://www.dvinfo.net/forum/)
-   What Happens in Vegas... (https://www.dvinfo.net/forum/what-happens-vegas/)
-   -   Love Vegas Hate Render time (https://www.dvinfo.net/forum/what-happens-vegas/92718-love-vegas-hate-render-time.html)

Jeff Harper May 14th, 2007 10:23 PM

I understand about budget! Good luck!

Seth Bloombaum May 14th, 2007 11:32 PM

Danny, as I understand it, you're on the right track.

Hardware SATA RAID 0 MOBO support means that Windows and processor cycles are not used, the processor and OS see the RAID as a single drive.

What your MOBO manufacturer may be referring to is the software RAID controller built into XP, which can be accessed via Control Panel | Computer Management | Disk Managemet. Search the related help file for "Create a Striped Volume".

An XP managed RAID 0 uses many more system resources than a hardware controller does... which can impact render time negatively. So would a RAID managed by any add-in software.

However, though the main topic of this thread is render time, which will be reduced with faster drive throughput (eg. RAID 0), the main benefit I see from using RAID is better preview performance of more simultaneous streams while editing.

Danny Fye May 15th, 2007 01:58 AM

Quote:

Originally Posted by Seth Bloombaum (Post 679446)
Danny, as I understand it, you're on the right track.

Hardware SATA RAID 0 MOBO support means that Windows and processor cycles are not used, the processor and OS see the RAID as a single drive.

What your MOBO manufacturer may be referring to is the software RAID controller built into XP, which can be accessed via Control Panel | Computer Management | Disk Managemet. Search the related help file for "Create a Striped Volume".

An XP managed RAID 0 uses many more system resources than a hardware controller does... which can impact render time negatively. So would a RAID managed by any add-in softward.

However, though the main topic of this thread is render time, which will be reduced with faster drive throughput (eg. RAID 0), the main benefit I see from using RAID is better preview performance of more simultaneous streams while editing.


The information I have found says that one can only create a raid 0 from Windows XP if they have Windows XP Professional. It will not work with Windows XP Home.

So unless there is a utility that will do the job, I am stuck. :(

If a software raid eats up resources for rendering it might not be worth the effort anyway?

If nothing else, this has been a learning experience for me.

Thanks,
Danny Fye
www.dannyfye.com
www.vidmus.com/scolvs

Ron Evans May 15th, 2007 06:30 AM

There is thread in the HDV section on Raid where I posted this:-
The CPU does the rendering using RAM. It reads it from the source disc, renders in RAM( and swap disc if there isn't enough RAM) and then writes to the disc specified for the rendered output. Hence for the lowest disc load one should have seperate discs for each source file, rendered file and swap file. If one only has one disc for OS ( including the OS swap file), source video files and the rendered file then the data is being writen back and forth to the same disc many times..... not good for efficiency or performance!!!!!! Having seperate discs for OS, temp files/rendered files and source files, limits the tasks on any hard drive to one video stream at a time. This is a trivial task for most modern hard drives. Hard drives are cheap. My set up uses OS drive, Temp drive( which also has the backup image for the boot/OS drive) and 3 video drives.
Most new drive can achieve over 50MBS but DV only needs about 3MBS. More than 10 times the needs of DV. Read performance is a combination of seek times and drive throughput. The seek times have not improved much but throughput has so limiting seek operation is very important to performance. Files need to be contiguous( all together not spread out over the drive) do this by having a defraged drive when capturing. Capturing to a drive with lots of files on it that hasn't been defraged will lead to the video file being spread all over the drive reaquiring the read to come from many places. . You can see that it is possible to have a RAID 0 be slower than two seperate drives reading two tracks that have contiguous files as the files on the RAID are interleaved between the two drives and if this requires many more seek operations it will be slower, especially if the read operation is for very short times(ie seek time could be longer than read time likely if this RAID has all video files and also the temp files on it). IF this RAID is a software RAID it will also rob CPU cycles too!!!! In a PC with OS drive, temp drive and storage drives the drive most likely to get fragmented is the temp file drive or the drive with the OS swap file on it. This is the drive that needs to be defraged( and the greatest need for RAID or Raptor 10K speed which improves seek time over slower drives) most as it will be the one that has small files writen to it many times and will be the bottleneck due to seek times. IF you want to spend money find the drive with the fastest seek times for this drive and keep it defraged.
Using uncompressed files is of course different but the issues of seek times and throughput remain and but will now be even more critical.
Needless to say I edit DV and some HDV and do not have any RAID on my system.

Ron Evans

Paul Cascio May 15th, 2007 08:06 AM

Great thread. Thanks everybody!

Question 1: If you can have one Raid 0 setup, which function do you assign it to for best rendering Vegas? Where do you find these settings?

Question 2: Am I correct that MPEG rendering for making DVDs does not benefit from a distributed render farm?

Ralph Bowman May 15th, 2007 09:01 AM

Vegas Render Board?
 
So after all this discussion of ram and raid should Vegas offer a render board
like the Matrox or Grass Valley? Or is this too limiting?

Ralph Bowman

Glenn Chan May 15th, 2007 11:00 AM

Specifically-designed hardware acceleration cards will make little sense on the low and mid-end now that GPU acceleration is available. GPU acceleration runs on commodity video cards (you don't even need the workstation cards) and is flexible (whereas hardware cards can only do a limited # of effects or whatever is programmed into them).

The downside to hardware acceleration right now is that ATI and Nvidia cards operate differently. Code that works on one card may not work properly on the other. Also, not everyone has a good graphics card. So only a small portion of an editing software's users will have GPU acceleration work for them. To support both CPU rendering and GPU rendering can get tricky.

Matthew Chaboud May 15th, 2007 04:07 PM

Current cards also report features and accuracy that they don't meet.
Tough game.


As far as what you should task your RAID with, this is almost always reading. Think about it like this:

- 4 HDV clips going into a semi-fancy composite, 100 mbit in.
- Let's say you have sufficient RAM (please try to avoid swapping), 0 mbit through.
- Let's be generous and say that you're going to HDV, 25 mbit out.

This is not uncommon. Even if you have only two pieces of media cross-fading, you're better off reading from the RAID. It's also nicer for playback. If you get swap-file usage during rendering, turn down the Video RAM preview pref. Swapping is insanely slow.

Ron Evans May 16th, 2007 07:07 AM

Tomshardware ( http://www.tomshardware.com/2007/05/...d_drive_guide/ )
has this report on some of the latest hard drives that may be of interest to this thread. All the drives have performance for multiple streams of video. Access time for WD Raptor is twice as fast as the slowest drive but throughputs have negligible difference. Simplistically the WD Raptor would be the best for lots of small file accesses in a project, OS swap file, rendered and temp files, but would have negligible difference to the cheapest drive for continuous read of the longer captured files. So if the project is a short video with lots of short clip use and graphics, like a commerial, then the Raptor would make a difference( access time more important then continuous read). If the project is a long form multicamera shoot with, essentially switching cameras in post then the cheapest drive will probably be just fine.

Ron Evans

Danny Fye May 18th, 2007 03:28 AM

Hard Drive Tests for Render Speed
 
Ok, before leaving anymore replies I decided to do some tests.

My hard drives are as follows:

C: = Western Digital WDC WD400 2mb 40 gig cache PATA
S: = Western Digital WDC WD1200 8 mb 120 gig cache SATA
T: = Hitachi Deskstar HDS722516VLAT80 160 gig 7.8mb cache PATA
V: = Western Digital WDC WD2500KS 16MB cache 250 gig SATA

According to SiSoft Sandra tests that I have made, the speed of the drives from slowest to fastest are:

C:
T:
S:
V:

The V: drive is suppose to be somewhat faster than the C: drive.

I did a render test using a 5 minute region from a recent Church service. Before I did this test, I did tests with the project having the Sony filter for limiting the IRE level so that it doesn't exceed 100% IRE and the processor was not overclocked. The render time was somewhat slower with the filter and the CPU not being overclocked. I don't have the specific times on those tests. Most of the speed difference was in the filter. The overclock is very mild so it doesn't affect render time very much. The render times after all filters were removed and after the processor was overclocked are as follows:

C: = 2:02
T: = 2:11
S: = 2:05
V: = 2:11 as Source 2:13 Not as Source

The C: drive rendered the fastest even though it is the slowest, oldest and a PATA drive. The V: drive is the fastest drive and yet it was slower than the C: drive. Note: When testing Drives c:, T: and S: drive V: has the source files. I did a test to it to see how it does when redering to the source drive. I moved the source files to the s: drive and did another test render to drive V: and the time was a little bit slower.

I think the differences are mostly due to what part of the drive(s) are being written to. The SiSoft Sandra tests show the rated speed of the drives to be different depending on what part of the drives the data is written to.

No matter the drive type or interface, the render times are very close on all drives.

With this in mind, if one can make changes to the system and/or project to reduce render time then wouldn't it be safe to assume that the hard drives are not really a factor in render times because they apparently are not the bottleneck?

Seems that if the drives are indeed the bottleneck then doing other things such as removing all filters and overclocking the processor wouldn't make any difference in render speed because the drives would then be limiting the render speed? And if the drives are not the bottleneck then would creating a raid-0 be a waste of time in trying to reduce render times?

So when DSE says, "Having a SATA RAID really speeds things up." How is this so? I assume from my tests that this would not the case even though I didn't use SATA RAID. Am I correct or do I need to go sit in a corner somewhere? LOL! No offense intended DSE.

Anyway, that is the best I can come-up with for the moment. All comments are welcome.

Danny Fye
www.dannyfye.com
www.vidmus.com/scolvs

Ron Evans May 18th, 2007 05:41 AM

I too do not believe that drives are the bottleneck. Modern drives are large and fast but seek times have not improved as much so a fragmented drive will slow down considerably. I think the key is to think out where the data is coming from and going to and arrange your files to minimize the seek operations. Using uncompressed files with resulting high data rates will change the picture a lot and RAID system will likely help in this circumstance but only if the CPU can manage the rate too. USing a RAID makes organising a little easier, just load everything to the one big hard drive. I don't think there is a performance gain in real life and an exposure to failure that is unneccessary.

Ron Evans

Chris Rieman May 18th, 2007 11:55 AM

I would assume in rendering you are writing not reading. Fast drives help in reads, but do not offer much performance mileage in writes.

Ron Evans May 18th, 2007 12:28 PM

For a video source the render first reads the source information from hard drive into RAM, processes it as requested ( filters etc ) and renders to the output format then writes file to hard drive. The processing may also involve writes and reads to and from the temp and/or swap files where these are located on some hard drive. So what appears to be a render from the timeline may not be that straight forward. The more RAM the less swap file use etc. Of course if all this information is on one drive then all the reads, writes swap file, temp file seeks , reads and writes will be from this drive. I just checked my drives with the Canopus Raptest and none of them is less than 50MBs reads or writes, that is almost 15 times more than is needed for a single DV/HDV stream. In my mind software design and CPU performance are much bigger issues than performance of modern hard drives.

Ron Evans

Danny Fye May 18th, 2007 02:42 PM

Raid-0 How???
 
Well I have searched and searched the internet and have found that to do a true hardware RAID-0 one would need to spend more than $300.00 to get a card for it. That is more than what my budget will allow for at this time.

So with Windows XP Home, how does one setup a RAID-0? I have seen articles about Windows XP Pro but nothing about Windows XP Home.

Is there a software that one can buy that will make it possible? Why have the ability to create a RAID-0 in the bios like what my system has if Windows XP Home can't see it as one drive instead of two?

I have seen a refference to a hack method from Tom's hardware but I do not want to use such a method. Creates future problems to do so.

Anyone have any answers or is RAID something that Windows XP Home users can only daydream about?

Danny Fye
www.dannyfye.com
www.vidmus.com/scolvs

Marcus Marchesseault May 18th, 2007 03:23 PM

"So with Windows XP Home, how does one setup a RAID-0?"

Don't even dream about that one. A software RAID uses CPU cycles. The CPU is always the limiting factor in rendering so anything that adds to it's work is bad. This is why I don't recommend RAID systems for most people. Without the proper hardware and setup, they can actually decrease performance.

Danny Fye May 18th, 2007 04:19 PM

Quote:

Originally Posted by Marcus Marchesseault (Post 681807)
"So with Windows XP Home, how does one setup a RAID-0?"

Don't even dream about that one. A software RAID uses CPU cycles. The CPU is always the limiting factor in rendering so anything that adds to it's work is bad. This is why I don't recommend RAID systems for most people. Without the proper hardware and setup, they can actually decrease performance.

Does a motherboard with the Intel ICH8R have a true hardware raid? My current motherboard does not have the Intel ICH8R.

If not then I will settle for raid-none for a while. :(

Note: The reason why I am now asking about RAID is a little bit OT with this thread in that whether or not RAID-0 helps with rendering it does help with other things NLE in various ways.

Maybe we need a RAID book for Vegas? What works and what does not work? Tips on how to setup RAID and even a system to best work with Vegas? Not just the highest price stuff either.

Simply saying that one should have a properly configured system for Vegas is one thing but what one needs is some details and even in depth information about what a properly configured system consists of.

What we don't need is posts about how l-o-n-g it takes for Vegas to render because systems are not configured properly or because of editing errors and so on.

My goal is to make my system as productive as possible and to have maximum efficiency in editing. Vegas itself is a huge help in this but even Vegas can be limited with a poorly configured system and/or poor editing habits.

A more productive system leads to much reduced stress which is another one of my goals.

Danny Fye
www.dannyfye.com
www.vidmus.com/scolvs

Ron Evans May 18th, 2007 05:06 PM

Optimizing systems needs some effort and planning and VideoGuys http://www.videoguys.com/WinXP.html is a good starting point for the sorts of things you may need to do to your system. For my editing system, first drive " C " WinXP Home seperate hard drive stores programs and OS only, drive 2 " D " Temp drive for editing apps temp files and rendered files, image for OS hard drive backup and nothing else, three drives ( E,F,G)for video files storage, two external USB drives for backups as needed. Most of my projects are multi camera shoots and the camera files get captured to seperate drives. Most services not needed are turned off, no firewall or virus checking etc even CD/DVD auto seek is turned off. Keep temp drive defraged and normally clean off video drives after project so that captures are usually contiguous files.

Ron Evans

Marcus Marchesseault May 18th, 2007 06:21 PM

Ron said pretty much everything you need to know in the simplest way possible. Hard drive speed used to be a serious issue, but the incredible data density is effectively giving us RAID performance on a single disk. If you double the data density, twice as much data passes by the heads for every rotation of the disk. This is, in effect, the same as making two drives read/write the same file in a RAID. With up to 250GB on a single platter, drives are more than ten times as dense as they were several years ago but the heads still move the same speed.

I did my first video editing on a 200MHz machine with an 8Gig multi-platter drive. The data rate of HDV is similar to what I was using on that same system. On the one hand, hard drives transfer almost ten times as much data per second. Unfortunately, the access time is exactly the same as it was in 1997 with my 7200rpm SCSI drive.

I'm not saying that a RAID is bad or that you are stupid to want to use one, but rather that it adds complexity and doesn't solve the basic problem of hard drives or even have a significant impact on render times. With long GOP compression in HDV, the processor is what is getting slammed during a render. A good hard drive system is definitely a great idea, but it is my opinion that simplicity is more important than eeking out a tiny bit of performance. Complexity is the breeding ground of problems that are difficult to diagnose.

I know it has been said before, but other than a RAID there are steps you can take that keep things simple yet have a real impact on your hard drives:

Try to keep them defragmented. Fragmented files will bring out the seek-time weakness in all hard drives.

Separate your media amongst different drives. Drives are very good at doing one thing at a time but start to choke if everything is all on one drive. Have separate system, source video, and render drives.

Don't completely fill your drives. Hard drives read/write from the outside towards the inner tracks. The inner tracks are slower than the outer tracks due to circles of smaller diameter having a smaller circumference. Also, a full drive will inevitably have more fragmentation than an empty drive. I've noticed on benchmarks that drives really fall off in speed past about 80% full.

There is no substitue for processing power. The CPU is the workhorse and it will be the bottleneck as long as you don't have a shortcoming in your RAM or hard drive. It's time to stop using that 8Gig hard drive then upgrade to 2Gig of RAM.

Marcus Marchesseault May 18th, 2007 06:24 PM

Here is something that isn't often mentioned about Vegas render times and I have no answer at all if it would be effective:

Do people have any significant performance improvements using a networked second machine to help render? With gigabit ethernet and a couple of multi-core machines, it seems like today's computers could really tackle the job of being a small render farm for Vegas. I've never seen it done.

Jeff Harper May 18th, 2007 07:17 PM

I cannot back this up, but I'm sure I've read on this forum or somewhere that networked rendering is a real disappointment with Vegas and does not speed rendering times as one would hope.

Marcus Marchesseault May 18th, 2007 07:22 PM

I guess that's why it isn't being done. Has anyone tried it on Vegas 7 with two fast machines over gigabit?

How about using the cineform intermediate codec? Has anyone done a test on Vegas 7 comparing render times with .m2t files and cineform .avi files?

Douglas Spotted Eagle May 18th, 2007 09:33 PM

The viability/value in network rendering is entirely project-dependent. If you've got a short project, network rendering likely won't save you much time. If you have feature length/long form, and are outputting to any intraframe format, then network rendering is a huge timesaver. If your project has heavy compositing, network rendering is a big timesaver.
We only use it for final masters, but there are folks using it for everything they do.

Paul Cascio May 19th, 2007 04:08 AM

Could someone explain what "intraframe" formats are? Does network rendering work if you're going to convert to MPEG2 for DVD?

Thanks


All times are GMT -6. The time now is 02:58 PM.

DV Info Net -- Real Names, Real People, Real Info!
1998-2024 The Digital Video Information Network