LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-05-2013, 10:04 PM   #1
H5X00R
Member
 
Registered: Apr 2013
Posts: 39

Rep: Reputation: 1
About CPUs, threads and ffmpeg


Hello,

Ffmpeg has an option called threads which speeds up encoding. I have an AMD Phenom Triple-Core Processor and I ran this command to check for threads so I can use that info for the threads option of ffmpeg.

Here is the output of lscpu
Quote:
Architecture: i686
CPU op-mode(s): 64-bit
CPU(s): 3
Thread(s) per core: 1
Core(s) per socket: 3
CPU socket(s): 1
Vendor ID: AuthenticAMD
CPU family: 16
Model: 2
Stepping: 3
CPU MHz: 2100.000
Virtualization: AMD-V
L1d cache: 64K
L1i cache: 64K
L2 cache: 512K
L3 cache: 2048K
Does this mean that my machine sees 6 cores from the info above?

i.e Three cores plus one thread per core = six cores

Let me know if my assumption is correct. Thanks

Last edited by H5X00R; 04-05-2013 at 10:05 PM.
 
Old 04-05-2013, 11:12 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 21,126

Rep: Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120Reputation: 4120
Quote:
Originally Posted by H5X00R View Post
Does this mean that my machine sees 6 cores from the info above?

i.e Three cores plus one thread per core = six cores
Very strange "logic".
You have 3 cores, each of which can run 1 thread - i.e. not hiper-threaded.
 
Old 04-05-2013, 11:26 PM   #3
H5X00R
Member
 
Registered: Apr 2013
Posts: 39

Original Poster
Rep: Reputation: 1
deleted double post

Last edited by H5X00R; 04-06-2013 at 12:10 AM.
 
Old 04-06-2013, 12:05 AM   #4
H5X00R
Member
 
Registered: Apr 2013
Posts: 39

Original Poster
Rep: Reputation: 1
Hello,

I found this link which explains CPUs and threads counts in linux
http://dbastreet.com/blog/?p=469

So, I was wrong about having six cores. My system sees four cores max. i.e 3 cores plus one thread and hyperthreading is unavailable in my bios.

Last edited by H5X00R; 04-06-2013 at 12:25 AM.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
ffmpeg.SlackBuild: line 194: cd: /tmp/SBo/package-ffmpeg/usr/man: No such file or dir darkstarbyte Linux - Software 7 12-29-2010 05:45 PM
Install FFMPEG and FFMPEG-PHP on fedora10 & 12 cks Linux - Server 2 09-17-2010 01:55 PM
Help me in installing ffmpeg, ffmpeg-PHP, Mplayer, Mencoder, flv2tool, LAME MP3 Encod mitesh.ever Red Hat 5 05-16-2009 12:14 PM
Does the latest version of ffmpeg not work with ffmpeg-php? whitey4900 Linux - Software 0 08-04-2008 05:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 08:17 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration