Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
![]() |
#41 | Link | |
Join Date: Mar 2006
Location: Barcelona
Posts: 5,034
|
Quote:
Running the first pass, you will almost always be limited by the decoder/AVIsynth script so the you won't get an accurate result for the raw encoding speed, regardless of the number of threads. Running the 2nd pass (or CRF), x264 will utilize all cores very efficiently anyway. So, what's the point? |
|
![]() |
![]() |
![]() |
#42 | Link |
Registered User
Join Date: Aug 2005
Location: Slovakia
Posts: 10
|
I want to encode multiple files.
In that case you are limited only with CPU power. It's little more linear in that case. 1. file get 100% of 1. core 2. file get 100% of 2. core 3. file get 100% of 3. core 4. file get 100% of 4. core 5. file get 100% of 5. core 6. file get 100% of 6. core I can do it in same time And it's much faster than if you are encoding one file with 6 threads ( 6 files one after another ) |
![]() |
![]() |
![]() |
#43 | Link | |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,393
|
Quote:
Quick tryout on a dualcore: 1 x 720p CRF encoding, multithreaded: 6.48 fps 2 x 720p CRF encoding, simultaneously, singlethreaded: 3.30 fps / 3.31 fps For this random example, that's 2% faster. Is that what you'd call "much faster"? (The quite little advantage that can be seen is, most probably, the overhead of thread synchronization. Apart from that, 99% CPU usage is 99% CPU usage, no matter how you turn the coin.) However, one thing is sure: when you mass-convert always 6 videos in parallel, you surely will get more file fragmentation on the resulting files. ![]()
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
|
![]() |
![]() |
![]() |
#44 | Link |
Registered User
Join Date: Sep 2004
Posts: 42
|
If you're encoding 1 file multithreaded, does each core re-use some of the same data in the cpu shared cache (reducing manin memory reads, increasing encoding speed)? If you're doing many single threaded encodes, this won't happen? Also you'll be storing x copys of the x264 executable, x avisynth scripts etc in cache instead of just 1?
Finally, if you're doing many simultaneous encodes, will each encode 'fight' over disk access, since it's very possible that each source is at competely different disk position, so HD seek times will have an effect? edit: another thought, x264 is quite RAM intensive (with a decent look-ahead buffer). With 6 simultaneous encodes, you'll be limiting this buffer, so you may end up reducing the quality of your encodes if you use single pass mode. Last edited by shakey; 8th June 2010 at 14:30. Reason: more random musings |
![]() |
![]() |
![]() |
#45 | Link | |
too much lurking
Join Date: Sep 2006
Location: Valhalla
Posts: 668
|
Quote:
|
|
![]() |
![]() |
![]() |
#46 | Link |
Registered User
Join Date: Apr 2002
Location: Germany
Posts: 5,393
|
Another point is: what kind of source material you're encoding. With SD material, the point probably isn't all too serious. But assume it's some Full-HD material, perhaps a BR source, or - who knows - some kind of raw data? Decoding one H.264 1080p stream is one story - decoding six such streams at the same time is another story. After all, you mainly want to encode, not just decode. OTOH, in case of RAW data, the mere bitrate surely starts to matter when dealing with six streams at the same time.
__________________
- We´re at the beginning of the end of mankind´s childhood - My little flickr gallery. (Yes indeed, I do have hobbies other than digital video!) |
![]() |
![]() |
![]() |
Tags |
amd, intel, x264 |
Thread Tools | Search this Thread |
Display Modes | |
|
|