logo Sign In

Info: AviSynth and VirtualDub - speed improvement

Author
Time
 (Edited)

Recently my old video card die… it is (was) a GeForce GTL 7600 (a custom made version by Sony, the same specs of a GT 7600, but a bit slower and with a very good pipe cooling system). It was the default video card in my Sony HTPC PC - a VGX-XL202 - and I never thought to replace it because, even if it was slow and old and with only 256MB, it was capable to play Blu-ray without stuttering (with some codecs and setting tweaks) and because AviSynth and VirtualDub use only CPU for their processing…

Or, at least, it was what I thought!

Just today I replaced it with a brand new Sapphire (AMD) Radeon HD 5450; a low profile 1GB DDR3 “honest” video card. I chose to buy this because I need a video card ASAP, it’s cheap and, as I have other two PCs, I’ll buy a better one later when I’ll upgrade another CPU.

Well, as I was working onto one of my project the day the card died, I promptly re-run the conversion, and I noted one thing: conversion speed is improved, A LOT! Now it runs at about double speed!

So, it seems that AviSynth and/or VirtualDub DO USE GPU power too, or the old GPU simply slowed down the CPU speed?

If it’s true that GPU power is important for conversion speed as the CPU, my next upgrade (CPU from Core 2 Duo E6300 1.86GHz to Core 2 Quad Q6700 2.67GHz, and GPU from GeForce GTL 7600 256MB to AMD Radeon HD7750 1/2GB) will improve speed up to 2.5x/3x thanks only to CPU; how much the video card will improve speed is to be discovered…

If someone had some similar experience, please post here… if only I knew this, <span><span>I would have replaced my old video card</span> <span>before… years before!</span></span>

Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com

Author
Time

_,,,^..^,,,_ said:

 

So, it seems that AviSynth and/or VirtualDub DO USE GPU power too, or the old GPU simply slowed down the CPU speed?

I know that some plugins can take advantage of GPU. I have an nVidia GeForce GTX 570Ti and it does make some difference to processing video. Modern graphics cards are capable of assisting the CPU with processing however, as I think they're mostly OpenCL capable nowadays. I still think you're better off spending the extra on a higher-powered CPU than faster graphics card as that will definitely make more difference with AviSynth and VirtualDub.

If someone had some similar experience, please post here... if only I knew this, I would have replaced my old video card before... years before!

I have had great boosts with certain CUDA-enabled applications (Premiere Pro exports in about half the time), but I cannot say I noticed a speed difference with Avisynth, but then again my last GPU was pretty efficient too. I guess if depends on the kind of plugins you are using. There is an option in VirtualDub that enables GPU acceleration. Perhaps that might have something to do with it.

My other guess is that you may have simply freed up resources by getting a better GPU. 256MB is not a lot of memory for a GPU now, so I'm guessing it wasn't too powerful. There are much better performance gains made by getting a faster CPU/RAM/Storage combination. RAID and/or SSD's combined with a powerful CPU will get you better performance boosts than a GPU can provide in Avisynth.

The Intel i7's appear to be the dog's doo-dahs at the moment. Intel has actually crippled some of the features on the i7's with unlocked multipliers because they can be pushed to match the Xeon CPU's for a fraction of the cost.

Author
Time

I don't want to buy new PCs, as my three Sony VGX-XL systems are really beautiful "vintage" computers, still today with very good qualities that cannot be found on normal PC without a quite big budget... so, no "fancy" Intel I7!

But, a Core 2 Quad Q6700 at 2.67GHz (the best CPU that Sony's motherboard and PSU could handle, and with no overclock, I'm sorry to admit) will be a huge improvement in speed.

I'm aware of no further speed boost by upgrading the GPU, but as the other two old videocards are dead, I think a better GPU than a "simple and honest" HD 5450 will give some modest speed improvement - after all, as I should replace them, I'll go for the best it could fit, e.g. GT 640 2GB or HD 7750 (1 or 2 GB).

I was also aware of the CUDA related things, but I was surprised that an AMD Radeon could improve avisynth/virtualdub speed too!

About SSD and/or RAID: I could do both, but after I will upgrade CPU and GPU, I think the speed boost will be relatively small (5%? 10%?) - a RAM booster maybe could be a cheap alternative with comparable results, what do you think?

Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com

Author
Time

_,,,^..^,,,_ said:

I don't want to buy new PCs, as my three Sony VGX-XL systems are really beautiful "vintage" computers, still today with very good qualities that cannot be found on normal PC without a quite big budget... so, no "fancy" Intel I7!

I both agree and disagree with you here. I don't buy new PC's either, nor do I like doing so. Loads of bundled and unnecessary software, limited upgrade options due to the case/motherboard designs... no thanks!

What are these qualities it has? I find it hard to believe that a superior (contemporary) system would cost more than one of those systems brand new, which makes me intrigued as to what these features are that these systems have?

But, a Core 2 Quad Q6700 at 2.67GHz (the best CPU that Sony's motherboard and PSU could handle, and with no overclock, I'm sorry to admit) will be a huge improvement in speed.

It should be fairly cheap too, although you might have to shop around if you want a new one because LGA775 CPU's are becoming hard to find. I'd try to avoid used processors that have been over-clocked if you can as its possible the life of the CPU may have been shortened if it wasn't cooled adequately.

You should absolutely see a big improvement in speed over the Core2Duo without overclocking, and it wouldn't be recommended to overclock your systems either due to the case design.

I'm aware of no further speed boost by upgrading the GPU, but as the other two old videocards are dead, I think a better GPU than a "simple and honest" HD 5450 will give some modest speed improvement - after all, as I should replace them, I'll go for the best it could fit, e.g. GT 640 2GB or HD 7750 (1 or 2 GB).

If it is a case of the speed being higher because the newer GPU is leaving more resources free, then there's no guarantee that an even faster card will make a difference. The performance gain could be so small it would be out-weighed by the cost.

I was also aware of the CUDA related things, but I was surprised that an AMD Radeon could improve avisynth/virtualdub speed too!

DXVA and OpenCL are available on both AMD and nVidia cards and have been for some time, and I haven't found many free applications that support CUDA, but there are certainly more that support DXVA. CUDA has no effect on Avisynth/VirtualDub, but I don't know if DXVA does, either.

The fact that there are GPU-specific plugins available for Avisynth inclines me to believe it has no built-in 'default' use for a GPU. As usual this is just postulating, I have no technical evidence for this. ;)

About SSD and/or RAID: I could do both, but after I will upgrade CPU and GPU, I think the speed boost will be relatively small (5%? 10%?) - a RAM booster maybe could be a cheap alternative with comparable results, what do you think?

Admittedly, in terms of processing speed, it won't make much (if any) difference with an SSD or RAID setup, but the benefits are there when transferring files, capturing uncompressed at higher resolutions, or processing very 'light' scripts. A RAID 0 array of two hard drives, in the most basic terms, 'doubles' the access speed; the actual improvements at full speed are probably around 40%, in my experience. The more drives you add to the array, the faster the transfer speeds. A single SSD will be faster and more reliable, although way more expensive for considerably less space. SSD's in RAID would almost certainly be a waste of money given the cost/size ratio, and your CPU would be the bottleneck anyway.

Author
Time

Well, the Sony VGX-XL systems were the top of the line of Sony computers, and today still retain their own unique fashion... in particular, I like the fact the cabinet is like other hi-fi/video rack devices (19'/43cm), so it fits in any audio/video system without to be "out of place"; also, its wireless keyboard is small, and with integrated touchpad; it could be used "out of the box" to capture analog audio and video, and, as I discovered years after I bought my first one, it could be upgraded to be really much more powerful than it was at factory default.

About CPU: the motherboard does not allow overcloacking, and even if it will with a BIOS upgrade, I'd like to leave its frequency at factory default, to prolong its life; as you wrote, it's quite difficult to find a brand new Core 2 Quad, and the used ones were almost all overcloacked; this is why I still use my old Core 2 Duo.

About GPU: I'm pretty sure it will increase a bit the speed, even if I agree it will be not comparable to the cost difference; but, as you know for sure, when you upgrade your PC with the best CPU, the biggest HDDs, the fastest RAM your mother board allow, why you shouldn't do the same with the GPU? (^^,)

About RAID: can you confirm that, if I buy two identical SATA HDDs, set them to RAID0, plus another SSD for OS, the speed improvement will be 40%? I mean, if virtualdub process an avisynth script at 10fps before, it will be at 14fps after?

Well, here you are some info about the VGX-XL system:

http://www.vgx-xl.com/

http://reviews.cnet.co.uk/desktops/sony-vaio-vgx-xl202-review-49285076/

http://web.archive.org/web/20130626000943/http://store.sony.com/p/VGX-XL1/en/p/VGXXL1 (technical info on the less powerful model, just to have an idea of how much ahead of its time it was - released in 2006)

Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com

Author
Time
 (Edited)

If it had been released in 1996 it would have been ahead of its time, but I'm afraid these systems are just standard HTPC systems, albeit higher-end ones, and quite nice looking too. They're certainly nicer looking than most HTPC's I've seen.

As far as RAID and SSD's go, your CPU will be the bottleneck. The (approx) 40% speed improvement is on read/write operations to the hard drives. Loading applications will be faster, transferring files will be faster, and you will have the capability to capture uncompressed HD video without dropping frames. If you perform a lot of large file transfers from drive to drive or system to system, then you will really like the benefits of RAID. However, if you have a script processing at 10fps then it will still process at 10fps because that's as fast as your CPU can do it.

If you're happy with the performance that the Q6700 brings then that's really what you should get. Motherboard upgrades are not possible in these VGX-XL systems due to the custom form-factor they use, which is a shame because if you could change the motherboard then you could increase performance dramatically for relatively little cost. I'm not convinced a faster GPU would make much of a difference, but of course if you play the occasional 3D game, and/or want to just tweak your system to the max then certainly there is no negative impact, provided your case cooling is adequate. ;)

An observation about overclocking, its interesting how it was once a risky, warranty-voiding endeavour for the cash-strapped and MHz-hungry and these days its used as a marketing gimmick and can actually cost more to implement effectively than just buying a faster CPU or GPU in the first place!

Author
Time

I'm happy you like it! Maybe it was not ahead of its time, but still one of the best HTPC around, for its design, build quality and technical features... even if not so powerful "as is", when upgraded to the max it's still on par with the less powerful desktop PCs of nowadays - and don't forget some models has a BD burner, not bad at all!

I think I'll go with these upgrades, from the first to the last in the future:

  1. GPU (as the other two are "fried")
  2. CPU (Q6700, but if the PSU upgrade will be possible, a QX6800)
  3. RAM (4x2GB)
  4. HDD (2x2TB, SSD should wait)

 

plus a better PCI capture card than the actual one, with the best comb filter ever made (still should find out which one), and a PCI sound card (ESI Juli@ is the first candidate).

Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com

Author
Time
 (Edited)

Nice specs!

The only thing to take into consideration is cooling. Two hard drives will add to the internal temperature, especially if they're crammed in next to each other. You choice of graphics card will be crucial too. You don't want something too excessive in there because it will get very hot. I'm guessing you're dealing with low-profile cards, which means you should find a nice compromise as excessive power doesn't really go hand-in-hand with smaller cards.

One more note: any large PCI cards may obstruct the GPU cooler, which is not desirable if it can be avoided; I've seen a GPU cooling fan melted off its bearing due to this, it was dangling onto the sound card that had been put directly underneath it!

RAM with a discreet heat spreader would also be a good choice.

The ESI Juli@ is an interesting card! Its nice that you can swap between balanced and unbalanced I/O by physically rotating half of the card, and the DirectWire feature is incredibly useful. It seems a solid choice for analogue capture.

Author
Time

The XL systems was thought as HTPC, and so I think there will be no problems about HDDs heat - infact, in some models there were two, one on top of another, and I heard about no issues about HDDs heat problems, and those models are 6/7 years old... plus, newest HDDs should produce less heat than older, in particular 5900rpm models.

Yes, GPU should be low profile; in particular, the AMD based HD 5450, 6570, 6670 and 7750 are the ones tested by many XL users, and all works very well; as the PSU is only 300W, their power consumption is well under their specs, around 50/60W. Still, don't know a lot about Nvidia GT640; it's a new card for "us" XL owners, and should be tested further, but I think it will be OK, too.

And there should be no problems for PCI cards, as they are horizontal and with some empty space between the PCI riser and the PCI-e slot.

RAM: a heat spreader is welcome, but as the max speed is "only" 667MHz for 8GB, and 800MHz for 4GB, I don't think it will be "crucial".

The Esi Juli@, after many research, seems the best price/quality sound card, with RCA input so needed for movie captures; the LynxTwo is better, but will cost 5x, so...

I'm still looking for the best PCI video capture card with a good comb filter... I like very much AJA products, but it seems they have only a three-line comb filter. I'm still looking further info of the comb filter of the Osprey Viewcast PCI models, but without success. The ATI HD 750 seems a logical choice, but as this is only PCI-e, and I have only one PCI-e slot (for video card) I can't go for it, and I'd like to avoid any USB capture card.

Or, as my capture card is quite good, apart comb filter, I should find an external device with a very good comb filter; the best one should have a 3D filter that works with PAL signals too!

Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com

Author
Time

_,,,^..^,,,_ said:

I'm still looking further info of the comb filter of the Osprey Viewcast PCI models, but without success.

All of the photos I've seen of their cards show a Conexant Fusion 878A chip. The data sheet from 1999 shows that this chip uses a notch filter.

Author
Time

_,,,^..^,,,_ said:

The XL systems was thought as HTPC, and so I think there will be no problems about HDDs heat - infact, in some models there were two, one on top of another, and I heard about no issues about HDDs heat problems, and those models are 6/7 years old... plus, newest HDDs should produce less heat than older, in particular 5900rpm models.

I was talking bigger picture; I also doubt you that would have heat problems with hard drives, but you will have an extra drive in there adding to the overall heat inside the case and taking up a bit of extra space that the air will have to spread itself out it in.

The thing that seems to affect HDD's the most is people dropping them! ;)

Yes, GPU should be low profile; in particular, the AMD based HD 5450, 6570, 6670 and 7750 are the ones tested by many XL users, and all works very well; as the PSU is only 300W, their power consumption is well under their specs, around 50/60W. Still, don't know a lot about Nvidia GT640; it's a new card for "us" XL owners, and should be tested further, but I think it will be OK, too.

PSU's usually produce less power as the capacitors age, but you'll be just fine if you leave a little bit of headroom within your 300W limit, which is a good thing to do even with a new PSU.

RAM: a heat spreader is welcome, but as the max speed is "only" 667MHz for 8GB, and 800MHz for 4GB, I don't think it will be "crucial".

Ah, you've misquoted me here. I said "crucial" in reference to your choice of graphics card. I simply said that a heat spreader is a good idea. Of course, memory at 'only' 667MHz/800MHz still gets hot, the availability of memory now clocked at 1333MHz+ doesn't mean that the old top-spec memory is going to run any cooler than it did 5 years ago.

Actually, all that said, your memory could be 'Crucial' if you wanted it to be... ;)

You might also want to try some quality thermal compound for the CPU to help heat transfer to lower the CPU temperature a few degrees; Arctic Silver 5 is pretty good for this and does work better than the standard thermal compound although the results of 'how much better' can vary, and it is a relatively inexpensive item (or so you will think until you see how small the syringe is, but there is enough for several CPU's).

I've had to repair too many systems in small form-factor cases (and laptops) that have suffered from component failure due to heat, and would rather it not happen to you, Andrea. HTPC cases are generally not high performance. A tool such as SpeedFan will help you monitor temperatures once you have performed your upgrades.

I'm sure you will have little or no trouble, but I figured I'd just give you some food for thought. It would be a shame to have any of your work disrupted by system problems; I'm really looking forward to watching your work on The Thing (when I eventually get around to getting it), and I'm hoping you'll get some more Star Wars-related work done soon.

Author
Time

_,,,^..^,,,_ said:

So, it seems that AviSynth and/or VirtualDub DO USE GPU power too, or the old GPU simply slowed down the CPU speed?

AviSynth does not natively use the GPU. However there are a handful of plug-in filters that do, e.g. DGDecNV runs on the GPU of Nvidia graphics cards that support CUDA video decoding, and those source filters that use the DirectShow framework (DGAVCDecDI, DirectShowSource and DSS2) may use hardware accelerated decoding (dependent on filter merit, I imagine). And there is also FFT3dGPU which is a filter used for denoising/sharpening.

So if your script uses any of those it may benefit from an upgraded graphics card.

Guidelines for post content and general behaviour: read announcement here

Max. allowable image sizes in signatures: reminder here

Author
Time
 (Edited)

After few years, an update…

Two VGX-XLs are dead… 😦 don’t know if they could be saved somehow, but I think it doesn’t worth the money spent on hardware or technical repair work; at least one (this) survived, even if it’s the one with less power (C2D E6300 1.86Ghz); idea of upgrading it with a more powerful CPU it’s still there - found a Q6600 2.67Ghz at 30€; it will improve the speed 3x; not bad at that cost!

A decade old PC, albeit capable of doing a lot of things - all my projects to date used this one, or another with slightly faster CPU, it’s umbearably slow; I was tired to wait a week for a lossless conversion, or one day or two for a lossy one; a minute to open an avs file, and few seconds to move to the next/previous frame.

So I found myself “forced” somehow to change the things. And I acted. Slowly, but firmly. Decided to go for a second hand, but good, desktop PC. AMD out of the games, i3 too slow, i5 not powerful enough, E5 Xeon too dear, so i7 was the logical choice, great price/power ratio.

Found an i7-4770 (non-K); seems almost new, very good status. Along it, great case, water cooler, 16GB RAM 2133Mhz, 600GB VelociRaptor, EVGA 760GTX.

Long story short: even if only few Avisynth plugins use multithreading, this new PC (with a CPUbenchmark score of almost 10000) is indeed ten times faster than the old one (score around 1000); so, do not base your calculations for speed improvements on single thread scores.

Hope this could help someone to decide to upgrade his CPU, or buy a “brand new used” PC as I did!

Sadly my projects are lost due to an HDD crash… 😦 | [Fundamental Collection] thread | blog.spoRv.com | fan preservation forum: fanres.com