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.

 

Go Back   Doom9's Forum > Video Encoding > MPEG-4 AVC / H.264

Reply
 
Thread Tools Search this Thread Display Modes
Old 23rd November 2008, 16:45   #61  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
it's obvious it cant be equal to physical cores...
Sharktooth is offline   Reply With Quote
Old 23rd November 2008, 19:46   #62  |  Link
Sagekilla
x264aholic
 
Join Date: Jul 2007
Location: New York
Posts: 1,752
If x264 (or any other multithreaded app) can't feed the 4 physical threads, then yes the extra logical thread will come in handy. They're there only to help keep the execution units completely filled up, but x264 shouldn't have a hard time keeping the execution units churning out data.
__________________
You can't call your encoding speed slow until you start measuring in seconds per frame.
Sagekilla is offline   Reply With Quote
Old 26th November 2008, 15:15   #63  |  Link
Sharktooth
Mr. Sandman
 
Sharktooth's Avatar
 
Join Date: Sep 2003
Location: Haddonfield, IL
Posts: 11,768
HT is exactly the opposite. it doesnt help the software, but the pipeline.
if there are difficulties to keep the pipeline filled, HT becomes effective, otherwise it doesnt.
and that's not a matter of software but of a series of problems a CPU may have (L1 cache too small, pipeline too long, non optimal instructions/data fetch/prefetch, too frequent cache misses, etc...).
Sharktooth is offline   Reply With Quote
Old 26th November 2008, 15:27   #64  |  Link
LoRd_MuldeR
Software Developer
 
LoRd_MuldeR's Avatar
 
Join Date: Jun 2005
Location: Last House on Slunk Street
Posts: 13,248
However HT requires at least two threads per CPU core to keep all the ALU's busy.

Hence in order to get the maximum benefit from HT on a Quadcore machine, you need at least eight threads running at a time.

Unless your application is multi-threaded and scales well to a huge number of threads, there's no benefit from HT.

Since x264 scales well with many threads, usually, some benefit from HT can be expected...
__________________
Go to https://standforukraine.com/ to find legitimate Ukrainian Charities 🇺🇦✊
LoRd_MuldeR is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 03:03.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.