General :: Access CRx Registers On A Multi Core Processor
Sep 9, 2011
I 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
ADVERTISEMENT
Apr 11, 2011
I 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]...
View 3 Replies
View Related
Mar 14, 2011
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 Related
Jun 16, 2010
I will try to write correctly but be indulgent... so as describe in the title I have a CPU ARM and I want to access a register. i tried with mmap but it doesn't work. i attach my program if someone see the problem... so when I run the program there isn't any error, all works (open, mmap ...) but I know that my program do nothing because i have ask to read something that i know and there is nothing...
View 1 Replies
View Related
Mar 27, 2011
I have a command line OCR program called OCR Shop XTR (Vividata corp) that I am using on a system with a 6-core AMD chip. I changed the bios so that the 6-cores were activated, but htop shows me that while the program is running, I am only getting activity on one core (the program maxes out the one core with consistent usage between 97% and 100%).
I have read that many programs are not written to take advantage of multiple core cpu's. However, I am just hoping that there is some way to get this program to take advantage of the extra cores. Does anyone know of a way to invoke programs from the command line which would spread the workload out among additional cores?
Here is the output of uname -a:Linux linux 2.6.37.1-1.2-desktop #1 SMP PREEMPT 2011-02-21 10:34:10 +0100 i686 athlon i386 GNU/LinuxAnd here is the output for one of the cores from cat /proc/cpuinfo:processor : 5
vendor_id : AuthenticAMD
cpu family : 16
model : 10
model name : AMD Phenom(tm) II X6 1100T Processor
stepping : 0
[Code].....
View 5 Replies
View Related
Oct 31, 2010
Is 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 Related
Jun 29, 2011
What is the best way to determine in Linux if a multi-processor machine is overloaded? I thought load was a good measure but I run a large number of tasks which don't consume a lot of CPU but which drive up the load. A 4 processor machine has a load of 66 right now according to top for example but mpstat reports that the all CPU idle time is 89%.
View 1 Replies
View Related
Apr 2, 2010
I am planning to by Dell Laptop having core i3 processor. Does Linux supports this processor ?
View 2 Replies
View Related
Jun 1, 2011
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?
View 8 Replies
View Related
Sep 12, 2011
Im running 64bit centos 5.6 and using virt-manager.On one of my guest OS's, Windows 7, The max Physical CPUs is 2, you can have unlimited CPU Cores however. (like my machine i use for work has 1, 4 core processor).The issue im having is xen only allows you to set the vcpu arguemnet in your xen config file. How can i set it so that 1 CPU has several Cores just as windows would recognize this machine if i were installing directly to the hardware vs via a VM.Ive searched for 2 days staright trying to address this issue, very little progress, Does anyone know where a XEN support forum is? all i get is the citrix xen support forums.
here is the best info i have found on this, but i dont know how to change this for my CPU to work, when i enter this in my xen config it essentially ignores it and just takes the value of vcpu= so windows shows 2 CPUs each with ONLY one core. Id like 1 or 2 CPUS showing Several cores.The physical Hardware is 2x Xeon 5300 Quad Core CPUs.
> # Expose to the guest multi-core cpu instead of multiple processors
> # Example for intel, expose a 8-core processor :
> #cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,[code]........
View 3 Replies
View Related
Mar 16, 2011
Unix command that allows to know which process is running on processor core?
View 2 Replies
View Related
Feb 23, 2010
Compiling 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 Related
Mar 28, 2010
I have tried to learn how 64bit asm (nasm in my case) works and found, among the many disparate pieces of info on the net, a few vague inferences that floating point registers can be used for other purposes than what they are intended for, example: "64-bit Linux allows up to fourteen parameters to be transferred in registers (6 integer and 8 floating point)." This would be fantastic for string operations/manipulation (I have never used asm for floating-point operations), can anyone shed a bit of light?
View 8 Replies
View Related
Jan 11, 2010
I'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?
View 1 Replies
View Related
Jun 4, 2010
In my environment all the servers are having more than 5+ cpu's.Please help me to find out from which CPU the OS is booting
View 5 Replies
View Related
Dec 22, 2010
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..
View 4 Replies
View Related
Jun 30, 2011
I have a multi-threaded app using pThreads that runs great under Windows on my 4 core machine - all four cores get maxed out processing parts of a large file. I recompiled the same code to run on Red Hat linux on a 64 CPU machine - but from I can tell when it runs - it gets stuck on one core. "mpstat -P ALL" shows the cores are barely loaded. I have tried sched_affinity, sched_priority and SCHED_FIFO - nothing has helped. Any ideas on getting more performance?
View 14 Replies
View Related
Aug 24, 2011
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 Related
Jun 9, 2010
I 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.
View 5 Replies
View Related
Mar 28, 2010
Which architecture to use with an Intel Core 2 Duo processor?
View 3 Replies
View Related
Mar 6, 2010
I 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 Related
Aug 20, 2010
I've been doing some computations at home and at work and have noticed some unexpected performance issues. The work machine is quite a bit more "serious" than the home machine, but sometimes the home machine outperforms the work machine. I'm curious what the dynamic is -- why this should be, and if I can tweak it at all.
Ultimately on both machines the computations are just a lot of very large arbitrary-precision integer linear algebra computations (based on the GNU multi-precision library). Reducing a lot of sparse but "large" integer matrices, finding the vertices on the boundary of high-dimensional polyhedra, and so on.
On my home computer (which has two cores), if I run a standard computation on only one core (the 2nd core near-idle), it takes 282s.
On the home computer running two identical parallel computations (the same computation as above), it takes approx 320s on each core.
On my office computer, with all cores essentially idle except for one core running this computation, it takes 196s.
On my office computer, if I have all 8 cores running full-out, and one of the cores is doing the computation above, it takes 356s on the one core that's running the computation.
Here are the details on my home computer:
View 2 Replies
View Related
Jul 30, 2010
I 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 Related
Dec 26, 2009
I'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 Related
Mar 13, 2009
Many people have multi-core cpus supporting frequency scaling now, if you want to see if the workload is being evenly distributed then add as many CPU Frequency Scaling Monitor applets to the Gnome panel as you have cores/cpus. Then right-click each one and select preferences and choose which cpu to monitor.
Now compile a large program or run a cpu intensive game and watch how the workload dances around between the two (hopefully)
Some clever apps like gnome chess will multi-thread and make max use of both cores, sadly many others won't.
View 9 Replies
View Related
Sep 14, 2009
I've tried searching the forums / google and haven't been able to come up with anything... in Debian-based distros there's an option that can be set to allow boot concurrency so that multiple processor cores can be used for the boot process. Windows also has an option similar to this to specify how many processor cores to use for boot.
Is there an option for multi-core booting in Fedora?
View 1 Replies
View Related
Jun 16, 2011
need to know start till end explantory steps to configure my internet connection. using amd athlon 2 x2 processor and newer motherboard asus
View 11 Replies
View Related
Nov 11, 2010
I have installed OpenSuse 11.3 32 Bit in a virtual machine on an older computer on a Windows XP host and on a new computer with AMD Phenom II X4 965 processor.
With sysbench I tested the performance of mutex and on the new computer it is 3 - 4 times slower than on the virtual machine. Other performance tests with sysbench for CPU, memory and threads are faster on new computer like expected. I tested this, because I have a slower performance of table creation in MySql tested with sql-bench, where creation of 10000 tables lasts 45 seconds on the virtual machine but over 400 seconds on the new computer.
I have tested with kernel-desktop and kernel-default but there are not large differences. File creation was tested with bonnie++ and is on newer computer faster as expected.
My questions are:
- Why is the mutex handling on the multi core CPU slower than in the virtual machine and how to speed up this?
- Or is there another reason why table creation of MySql is so much slower on multi core CPU?
View 7 Replies
View Related
Feb 19, 2010
In my Open-Suse server I have a script, where makepasswd output(by default it generates similar passwords: cGyTbqpr, tpJ1LA, 33EXdo) is redirected to mkpasswd(which uses DES by default) in order to generate salted hash of this previously generated password. I would like to test the strength of this system. I have a quad core CPU, and if I start John The Ripper like this(I want to use -incremental:all flag):
john -incremental:all passwd
..only one core is utilized at 100%. Is there a possibility to make all four cores to crack this password? Or is this possible only after reprogramming John The Ripper? Or what is the algorithm for generating passwords with with -incremental:all flag? I mean if John generates passwords randomly in brute-force mode, then it's smart to start four different John processes simultaneously because then one of those four will find the password firs
View 2 Replies
View Related
Aug 23, 2010
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?
View 1 Replies
View Related