So I typed in lscpu into my terminal and saw this: CPU(s):              4 On-line CPU(s) list: 0-3 Thread(s) per core:  2 Core(s) per socket:  2 Socket(s):           1  The no. of CPU(s) is 4 here because of the formula: No. of CPUs = Sockets X Cores per socket X Threads per Core But the question is, what exactly is a CPU? Why are we including threads in the above formula?
You can see the output from lscpu command -  jack@042:~$ lscpu Architecture:          x86_64 CPU op-mode(s):        32-bit, 64-bit Byte Order:            Little Endian CPU(s):                56 On-line CPU(s) list:   0-55 Thread(s) per core:    2 Core(s) per socket:    14 Socket(s):             2 NUMA node(s):          2 Vendor ID:             GenuineIntel CPU family:            6 Model:                 79 Model name:            Intel(R) Xeon(R) CPU E5-2690 v4 @ 2.60GHz Stepping:              1 CPU MHz:               2600.000 CPU max MHz:           2600.0000 CPU min MHz:           1200.0000 BogoMIPS:              5201.37 Virtualization:        VT-x Hypervisor vendor:     vertical Virtualization type:   full L1d cache:             32K L1i cache:             32K L2 cache:              256K L3 cache:              35840K NUMA node0 CPU(s):     0-13,28-41 NUMA node1 CPU(s):     14-27,42-55   I can see that there are 2 sockets (which is like a processor ??) and inside each of the socket we have 14 cores. So, in total 2x14=28 physical cores. Normally, a CPU can contain multiple cores, so number of CPUs can never be smaller than number of Cores. But, as shown in the output CPUs(s): 56 and this is what is confusing me.  I can see that Thread(s) per core:    2, so these 28 cores can behave like 2x28=56 logical cores.  Question 1: What does this CPUs(s): 56 denote? Does CPU(s) denote number of Virtual/Logical core, as it cannot be a Physical core core atleast?  Question 2: What does this NUMA node mean? Does it represent the socket?
Open program/windows on specific monitor Is there a way to tell Windows on which monitor it should open a windows  independently of where it was closed? How do I convert, NSDate to NSString so that only the year in @"yyyy" format is output to the string? Remove linux version 3.19.31 How long do Tenacious and Unsung Hero badges take to be awarded? Just curious whether the process takes a while, and whether it scrapes through history to determine if it was once valid or not. Currently, I have 6 0-vote accepted answers and 20 1+-vote answers (), and that makes it > 5 and > 20% but not for long if voting goes up or down from here. ;-P  Update:  Special thanks to Grace Note for pointing out the  to follow. I upgraded this to a bug because it's been 48 hours during which the criteria supposedly were met. 6 0-votes, 20-23 1+ votes during the whole period. The criteria only last so long, so it may go out of scope soon. If it only checks every 3 days, I'm not sure if that's intentional or a bug. app engine datastore auto-clears every time project runs Using memory with a higher MHz rating? Can MacBook Pro's successfully support and fully exploit RAM of a higher MHz rating than that which they ship with?    For example, take my 15" MacBook Pro () that ships with 4GB of 1333MHz DDR3 memory. I'm considering buying 16GB of the same clock speed even though Apple says that it can "support up to 8GB" — .  What about installing 1600MHz in the 16GB variant — will it work? Or will it be clocked down to 1333MHz? When compared to 16GB 1333MHz, will the higher clock speed improve battery life, performance, timings, or what? Is there a PPA with the latest version of LibreOffice? There was recently another release of , but it is  a pain to have to manually go to their website and download the packages every time there is a new release. Is there a PPA that always has the latest version of LibreOffice? Simple as the title states: Can you use only Java commands to take a screenshot and save it?  Or, do I need to use an OS specific program to take the screenshot and then grab it off the clipboard? Home folders accessible to other users and should not be, how to fix? Why are my home folders accessible by other users on the same system by default?  I understand that I can change the permission of the home folders but want to know why this happened?  I have done nothing to make the folders "shareable" and yet I can easily navigate to any users home folder using Nemo 2.4.5 and see all their contents.  This is quite a privacy and security flaw and I'm not sure why it has defaulted this way on my system.  Under Users and Groups (items checked =) (both are administrator accounts)  User 1 = adm, cdrom, dip, lpadmin, plugdev, sudo  User 2 = User 2, sudo  Also of note is why User 2 has User 2 clicked but User 1 does not have User 1 clicked.  Both accounts appear to behave exactly the same.  Thank you for any tips in this matter. In , one learns two definitions of free groups associating with sets.        Let $A$ be a set, the free group of $A$, $F(A)$ is the initial object in the category $\mathcal{C}$, where \begin{equation} \operatorname{Obj}(\mathcal{C})=\{A\xrightarrow{g}G\}, \end{equation}where the codomain $G$ are groups, and \begin{equation} \operatorname{Hom}(\mathcal{C})=\{\text{Commutative Diagrams } A\xrightarrow{g_1}G_1\xrightarrow{\phi}G_2\xleftarrow{g_2}A\}  \end{equation} where $\phi$ are group homomorphisms.   Also $F(A)$ has the concrete construction with elements being non-redundant words with alphabet $A$, and the group multiplication being juxtaposition and reduction.      But what good are free groups? Why are they useful?  says they are useful in topology, but does not explain why explicity.   Can someone give some examples that an undergraduate can understand? I am asking about examples that can show the usefulness of this abstract construction. So I guess the identification of $\mathbb{Z}=F({a})$ does not really count. Match-3 algorithm to fill empty space left from removing matches I am currently creating a match 3 game.   I am at the point where I have objects dropping down in the column when only one item is removed. So if an item is removed, the above item moves into its old position etc.  The problem I am having now is that when more than one item is removed from a column, the items in that column only drop down to the first item that was removed. Instead of filling in both items that were removed it just drops down to fill in the first one.   So basically, if two(or more) items are removed from a column the second, third, fourth, etc positions are left blank.  The way I am designing my game is I am using units of 1. So each item takes up 1 unit by x and 1 unit by y. This means that I can position the items like in a grid, at 0x1, 0x2, etc.   What kind of algorithm could I use to move multiple items down to fill the empty space? Where can I safely store my stuff? I'd like to find a place to store stuff while I'm out adventuring, without spending 5000 on a house (at least, until I can afford that...). Where can I safely store items without worrying about them disappearing?   There are two possible places that come to mind,  (to which I have the key and was told I could stay), and the small bedroom given to me at the  (which I was told was mine, despite seeing J'zaro sitting in it later). Can I store items safely in either of these places? How to use articles with scientific words, such as mass, force, impulse, field and others? How are articles used with scientific quantities, such as mass, force, impulse, field and others? Suppose that $(U,V)$ has the following joint pdf: $$f_{U,V}(u,v)=\exp(-\theta u-\theta^{-1}v)$$ , where $u\geq0$, $v\geq0$, $\theta&gt;0$. Define $X=UV$ and $Y=U/V$. Find the marginal pdf of $X$ and $Y$.  With transformation, I got $U=\sqrt{XY}$ and $V=\sqrt{X/Y}$ and the absolute value of Jacob is $1/2Y$. Then, the joint pdf of $(X,Y)$ is  $$f_{X,Y}(x,y)=\exp(-\theta \sqrt{XY}-\theta^{-1}\sqrt{X/Y})1/2Y, X,Y&gt;0.$$  But I am not sure how to get the marginal pdf?  Thank you! Word that means "the opposite of what you would expect" I'm looking for a word that means the opposite of what one would expect. This word might be used to express the surprise that a teenager's grandmother uses text messaging much more than he does, or that a city seems brighter at night than it does during the day.   I'm not seeking the word ironic or irony which refer to the use of something to describe its opposite experience or emotion. Can you overload controller methods in ASP.NET MVC? I'm curious to see if you can overload controller methods in ASP.NET MVC.  Whenever I try, I get the error below.  The two methods accept different arguments.  Is this something that cannot be done?     The current request for action 'MyMethod' on controller type 'MyController' is ambiguous between the following action methods: Setting Blend Width on Mosaic Dataset using ArcMap How to troubleshoot booting to a black screen on VirtualBox I was using 13.04 as a guest OS on my VirtualBox 14.2.18. Host is Windows 8. After upgrade to 13.10 Ubuntu does not start. I can see a black screen and blinking cursor. I am pretty new to Ubuntu. I suspect a problem with graphics drivers. I can access tty and all files (/home) are there. Is there a word for somebody who cares for his/her child too much? I have just finished watching the 3rd season of .  I am wonder whether there is a word for somebody who cares for his/her son/daughter/child too much, like Dr. Cal Lightman? Show the expected number of packets to buy to collect a whole set of minifigures