General :: Difference Core And Thread In Processor?
Jun 1, 2011Can someone explain to me about the "core" and "thread" in the processor.
1. What is core?
2. What is thread?
3. What's the difference between core and thread?
Can someone explain to me about the "core" and "thread" in the processor.
1. What is core?
2. What is thread?
3. What's the difference between core and thread?
When i viewed the cpuinfo file (using command: vi /proc/cpuinfo ), i found that there are listings for 4 processors( i.e 4 sets of listings each one starting with item : processor - 0 ; processor -1 and so on..). Each of them have similar data among which one is "cpu cores" which is 2 for all.. How do i make sense of this data.. 4 processors with 2 cores each ? Also, what could be this hardware be classified as : dual core? quad core ?...
P.s: each of these processor listings also have an item called "siblings" which is 2 for all... Just thought i'll include this here because i felt it may be relevant to this question..
I recently read in a forum that by default the Linux kernel only activates one of two cores in a dual core processor. Searching online gave one option to find out and that was the mpstat command. I therefore ran the command and got the following output.As the result says, it shows only 1 cpu. I was wondering what I could do to activate both cores in my machine, and whether doing so was going to cause me any problems.
View 14 Replies View RelatedIs there any Linux API that will let me control on what core will a thread run? If not, do I have to use assembly language?
View 2 Replies View RelatedMy CPU has 2 cores, so I can see two parts in /proc/cpuinfo.But, I want to know if CPUs that support Hyper-Threading (or similar tech), will /proc/cpuinfo give CPU info per core or per thread (or call it sibling)?I only know that Windows Task Manager will give CPU usage statistics per thread if the CPU supports HT.
View 2 Replies View RelatedI am planning to by Dell Laptop having core i3 processor. Does Linux supports this processor ?
View 2 Replies View RelatedI need to set the CR4.MCE bit for all the cores on my system (4). I'd like to write a linux kernel module for that, but I am not sure how to proceed: How do you sequentially access all of the CR4 registers? I have read the Intel manuals and they describe a way to initialize each core, but this is done in the bios.
View 2 Replies View RelatedI have quite an old laptop using an XP OS with an Intel(R)Pentium(R)M processor, 1400MHz 1.40GHz,with 504 MB of RAM,and with Service Pack 3. (this info was taken off the system properties info) I have recently been given a new HD Digital camera which needs a Pentium 4 or above on Windows XP for the software to work. As I said I'm not very good with this sort of thing so have searched for information about the subject, but not had much luck so far understanding the terminoligy used. That's how I came to this website. what the difference is between these two OS, also if my laptop system is compatable with a pentium 4 or not is it more or less that a pentium 4.
View 5 Replies View RelatedUnix command that allows to know which process is running on processor core?
View 2 Replies View RelatedCompiling a kernel on this machine first time and get upset with which processor family/type/options to select for my Intel Pentim Dual Core T2390.Does sombody know how to configure kernel better for this processor?
View 5 Replies View Relatedhow to differentiate cores and sockets in CPU?
View 5 Replies View RelatedI am in school for my CIS degree and the book I am using this session covers Windows XP and Fedora Core 4. I am having trouble finding & downloading Fedora Core 4. My question is: Is there a big enough difference between Fedora Core 4 and Fedora Core 14 that I would not be able to use 14 instead of 4?
View 14 Replies View RelatedI've got a few simple questions that have been bugging me for days:
What do we need slack64 for? What are the differences and advantages?
Is it true that EVERY core 2 duo processor is both 32 and 64 bit?
I am troubleshooting something and I got this problem.
If I do "pstree -p"
It shows,
Code:
[code]....
However, it does NOT show up in "ps -elf"
Code:
ps -elf | grep soffi
0 S whho 7734 1 0 80 0 - 36435 - 11:14 pts/2 00:00:03 /usr/lib/openoffice/program/soffice.bin -splash-pipe=5
0 S whho 7833 7759 0 80 0 - 751 - 11:21 pts/3 00:00:00 grep soffi
I was wondering if 7735, 7736, 7737, 7743 were really processes. Then I checked /proc, I could cd to /proc/7735, /proc/7736, etc, but I could not ls them out. I looked at the man page of "pstree", it says,
Code:
Child threads of a process are found under the parent process and are shown with the process name in curly braces, e.g.
icecast2---13*[{icecast2}]
So, what does all this mean? Does it mean that 7735, 7736, 7737, 7743 are just threads but not processes? If so, why could I cd to /proc/<id> but not see them in "ps -elf".
What is the best debian iso that I should choose to install in a machine with intel core i7 second gen processor? amd64,ia64 or i386 ?
View 4 Replies View RelatedI am looking to buy a laptop for my college years, so I would like to buy one that will serve me many years ahead. Currently the only laptop I have found is the System76 Serval laptop, but they do not ship to Europe.
Another laptops I have found are the Toshiba A505 series, but they are not currently supported by the latest version of Ubuntu.
I anyone knows of a good laptop (must have Corei7 processor and Nvidia/ATI powerful card fully supported by the proprietray drivers), please share your knowledge here.
Which architecture to use with an Intel Core 2 Duo processor?
View 3 Replies View RelatedI wanted to try Fedora 12 Live/KDE on a newly-bought Fujitsu Esprimo P1500. Booting with no kernel options would just freeze the machine. After some random experimentation, I added the option "nolapic" and got a seemingly working machine. However, only seemingly, as it turned out that only one of the processor cores was working (the processor is a "Pentium(R) Dual-Core CPU E5300").
View 4 Replies View RelatedI am attempting to install a custom fedora build but it crashed, I then attempted the standard fedora build (.iso) burned on a CD and I got to the boot window but at some point following the colored lines going across the bottom of the screen it froze. symptom - monitor still on not hibernating, num key works caps lock doesn't , hard drive is spinning and so is CD drive. Has anyone had issue loading this build onto similar hardware?
View 1 Replies View RelatedI'm about to upgrade a server for a local non-profit, and am looking at a Gigabyte GA-P55-UD3L motherboard and an Intel Core i5 750 processor. Does anyone have any observations or experiences with SUSE on this platform?
View 7 Replies View RelatedI have written a simple script which has to find required patterns from a bunch of files ( where each file is around 2 GB each,which contain the output of seq 1 10000000000000) on an 8 core machine.I am current forking 6 child processes which run simultaneously on 6 cores of the processor & have to search for the required pattern in 6 different files & inform the parent process when a pattern is found using a PIPE.
The problem is,when a child process is done reading a text file looking for a pattern,it is becoming a zombie process.It exits cleanly when i put a $SIG{CHLD} = "IGNORE"; in the script.Can any one tell me whats going on & how do i improve the communication between child and parent processes?
Code:
#!/bin/perl
use strict;
[code]...
I've been thinking of going into opensuse for a long time and now with KDE 4.4 is finally out - I'm going to do it. The installation shouldn't be a problem but I wonder how I can upgrade to kde 4.4, since opensuse 11.2 will have 4.3 by default? I saw in the documentation to add these repos:
# Core packages: http://download.opensuse.org/reposit.../openSUSE_11.2
# Community: Index of /repositories/KDE:/KDE4:/Community/openSUSE_11.2_KDE4_Factory_Desktop
# Playground: Index of /repositories/KDE:/KDE4:/Playground/openSUSE_11.2_KDE4_Factory_Desktop
whats the difference between core, community and playground? And isnt there "stable" repos for the KDE 4.4 release? And are there a repo with amarok 2.3 Beta?
I would like to run my own server, and I'm thinking of buying a dedicated machine to run it on. I checked out the dell website for a cheap machine to run it on (I don't need high performance - just a personal file server running a few hard drives, and a web/mail server). I noticed that they have some cheap models in their server line that are as cheap as a desktop. Compare:
[URL]
The main difference I see between the desktops and the servers is the use of the Core or Xeon processor, and also, the servers tend to have lower RAM.if I am looking for value, should I opt for a low end desktop or a low end server to run a personal server? Also, what advantage does the Xeon processors and Dell server line have over the desktop models that make it better for running a server?
I am going to use "pthread_setaffinity_np" to bind a thread to a specific core. My application has two threads. I have used mutex to assign a specific id to each thread and then bind that thread to a core different from another core. but it seems that the os assigns both thread to one core.What should I do to bind each thread to a specific core?
View 4 Replies View RelatedI've a program that launches new processes, and wait for them to die before it exits. So, for example, my program is a process, and it launches 3 more processes, and when the 3 child processes end, it will exit.
As you see, at end of the example, the program used a total number of 4 processes.
1 - Now, I'm running this program in a CPU with 4 cores. This means that the program used each core for each process?
2 - How can I know which core the program used?
i have installed ubuntu in my laptop.since i have AMD processor fedora doesnt support AMD processor..the recent version fedora 12 supprots AMD processor.i am doing my final project in ns2 hence it should support tht too!!! Which is the best choice to override ubuntu grub fedora 12 or redhat linux.
View 3 Replies View RelatedI wrote a code .sh I want to make it a runnable thread.
Q1: How can I do that in Ununtu?
Q2: I put that file (x.sh) in the "Auto start" program.I choose start at "start up" but it open the code editor page.I want it to be run behind backgroun...Have I convert it to .exe firstly ?!
Is there a way for members to make a thread with a poll? I've looked around and havent found how, but thought it is around here somewhere.
View 2 Replies View Relatedi am running gigabyte GA-M68M-S2P and AMD sempron 2.7. the problem is when i try to run dual core. it will boot and run for 2mins then it crashes. single core runs perfect.
View 6 Replies View RelatedI just loaded F14 on an old Dell Dimension 3000 with a dual core processor but only one is showing. Here's the output from top:
processor: 0
vendor_id: GenuineIntel
cpu family: 15
model: 4
[Code]....