Ubuntu :: Possible To 'assign' Program To Core?

Jul 26, 2010

Obviously I don't know that much about CPU architecture. I have a fancy new quad core CPU in the machine I just built. Now, given the current state of technology, two or many times three of those cores are pretty much sitting idle.My question is: Is there any way to utilize those extra cores with programs not optimized to take advantage of them? If I have some CPU intensive application, is there any way to tell it to utilize a core that's idling instead of the first core that's probably already got a bunch of processes running on it?

View 7 Replies


ADVERTISEMENT

Slackware :: Multiple Core CPU's And Can Assign Processes To Both Cores, Or Either One

May 15, 2010

Whenever I monitor my CPU's, it seems only the first is ever utilized, with the second always being at 0%.Does this mean it is not being used, or just not being reported as in use?Is there anything I could do to improve the situation if it is not being used as much as it could be?On Windows, I can assign processes to both cores, or either one. Is there a way to do something similar in Linux?

View 10 Replies View Related

General :: Processes And CPU 4-core - Which Core The Program Used?

Mar 26, 2011

I'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?

View 1 Replies View Related

Programming :: Core Dump Issues. Program Crashes But Does Not Generate Core Dump File?

Oct 7, 2009

I want to generate core dump files from my program when it crashes. Its a pretty big process and has about 10-11 threads in it.I have followed the documentation to enable core dump by setting ulimit to unlimited etc. I quickly tried "A demo program creating a core dump" from the following webpage, which succeeds in Segfault and dumping a core file in the directory that I configured.However, I tried running my original program and caused it to crash. I did this by making calls to kill(), raise() or the same null pointer access as shown in the webpage above. In each case, my program crashed but did not generate a core dump file. Am I missing something?My program is in C++ and my environment is Redhat 9.0 (kernel 2.4.20)

Going through the "Why do I NOT get a core dump?" section on the same webpage as above, I can see two potential problems. One - there are issues with the suid/sgid (bullet # 6). I am not able to change any settings with suid because my system does not contain either /proc/sys/fs/suid_dumpable or /proc/sys/kernel/suid_dumpableTwo, my program has threads in it and the bullet # 8 is the problem.

View 1 Replies View Related

General :: Assign A Variable To The Output Value Of A Program?

Feb 6, 2011

so i wrote myself a very simple hellworld program in c++

...the usual stuff
int main()
{

[code]...

View 3 Replies View Related

General :: How To Know The Program That's Dumping The Core

Aug 27, 2011

I am seeing cores dumped in a particular directory continuously. I am sure there must a script that's continuously starting a process which is core-dumping and dying. But, how can I find which process is it?

View 2 Replies View Related

General :: Compile A C Program In Fedora Core 12 - Error

Jul 6, 2010

When I compile a C program in Fedora Core 12 using the following format: gcc -o program -static program.c

I get an error:

What do I need to do to make the program compile correctly with the -static flag ?

View 1 Replies View Related

Programming :: Core Dump Analysis Require A Program Name / Why Is So?

Jul 21, 2010

To analyse a coredump, I need to specify program name/path in GDB/KDevelop. Since the program name along with arguments is also within a core dump, I wonder if it doesn't keep the proper path of program that crashed and so asks for it?

View 3 Replies View Related

Software :: Install A Program On System (core 5) But Fails Due To Fort77

Apr 9, 2010

I am trying to install a program on my Linux system (Fedora core 5) but it fails because there is no fort77 compiler. I know that I have working ifort on my system, but I need fort77. It looks like that the program that I am trying to install can also be compiled with g77, but again this one is also missing. how I can get these compliers and get them work on my system.

View 3 Replies View Related

Networking :: Program To Assign Globa LIPv6 Address And Bind() To The Previously Assigned Address?

Apr 24, 2010

Consider the following program:

Code:
#include <stdio.h>
#include <stdint.h>

[code]...

View 2 Replies View Related

Ubuntu :: Run Dual Core - Crash - Single Core Runs Perfect

Apr 1, 2011

i 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 Related

Ubuntu Installation :: Dual Core Support Core 2 E8500 Out Of Box?

Feb 14, 2010

Just a quick question. Does Kubuntu Karmic support core 2 E8500 out of the box or do you need the SMP kernel?

View 3 Replies View Related

Ubuntu :: Lucid Lynx - Dual Core - One Core Always At 100%

May 15, 2010

I've a Compaq CQ61 laptop, and i noticed that one of the cores is always at 100%.

I didn't check the duration of the battery but surely it will "eat" my battery in a hurry

View 1 Replies View Related

Fedora Installation :: Dual Core Only Showing Single Core On F14?

Nov 3, 2010

I 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]....

View 2 Replies View Related

OpenSUSE :: Get Application To Utilize More Than One Core In Multi-core Setup?

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

Programming :: Multi-core Support - Control On What Core Will A Thread Run

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

Debian :: Wheezy Only Recognizes 1 Core Or Dual Core CPU?

Sep 7, 2011

I have now installed Wheezy on two different hard drives and in each case it seems only one CPU of my dual core CPU computer is recognized. System Monitor, Gkrellm and lscpu show just one when prior to the new install the old Wheezy showed both CPU's. I have put the hard drive into two other computers with dual core CPU's and all show just one CPU.

Interestingly System Profiler and Benchmark (hardinfo?) > Devices > Processors now show a large amount of processor infomation when with the old Wheezy I would only see both CPU's listed and nothing else.

View 14 Replies View Related

General :: Only One Core Of Dual Core Processor Are Working

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

Programming :: Get Process Running CPU Core And The Utilization On That Core?

Apr 27, 2010

Assume someone bind a particular process to a particular CPU core(In multi core machine) by using sched_setaffinity() like functions. Then how we can get that process running core id and CPU core utilisation of that process on that running CPU core(Pragmatically or by a Linux command)?.

View 5 Replies View Related

Fedora Installation :: Upgrading From Core 4 To Core 10?

May 20, 2009

I have created a virtual machine of a system running Fedora Core 4 and I need to upgrade it to Fedora Core 10. Based on what I have read, it iis possible so I started theupgrade process. I get an error message saying that /dev/hda6 (my root paritition does not exist) even though it does.

Does the installer need to read a label from /etc/fstab? I executed tune2fs -L / /dev/hda6 amd ,and added LABEL=/ for the corresponding entry for fstab. but the FEDORA CORE 10 is still giving the same problems for the installation process. Should I upgrade to an intermediate verson like Fedora Core 7 first?

View 14 Replies View Related

CentOS 5 Hardware :: Infiniband (mlx4) Works On 16-core System But (now) Fails On 32-core System

Jan 27, 2010

We have a small cluster of 20 HP systems, all running CentOS 5.3 in an NFS-root environment. Half are quad-socket, quad-core Xeon E7340 @ 2.40GHz (total 16 cores), the other half are 8-socket, quad-core Opteron 8354 (total 32 cores). All systems have a Mellanox Infiniband adapter ("Mellanox Technologies MT25418 [ConnectX VPI PCIe 2.0 2.5GT/s - IB DDR / 10GigE] (rev a0)")

With kernel 2.6.18-128.1.6.el5, infiniband works fine on all systems.

With the update to kernel 2.6.18-164.11.1.el5 (and both types of node running the same NFS-root image), the 16-core Xeons still work fine. Infiniband no longer works on the 32-core Opterons. Specifically, either the ib0 interface fails to appear, or it does appear but when configured with an IP address, doesn't actually work. In either case, loading the IB kernel modules takes a long time, but I haven't instrumented the load script yet to see which module, if any, is at fault. More errors listed below.

However, if I tweak the BIOS of the 32-core systems to reduce the per-socket core count to 2 (so effectively 8-socket, dual-core, down to a total of 16 available cores), Infiniband starts working again. Putting it back to 32-cores makes it fail. Booting the older kernel makes it work again. In summary: old kernel, IB works on all systems. Newer kernel, IB only works on 16-core systems.

Updating the IB firmware from 2.5.0 to 2.7.0 (latest available) doesn't help. I also did a full 'yum update' to make sure that libmlx4, openibd all other associated packages were up-to-date. Doesn't help either.

Some errors that appear on 32-core nodes:

ib_query_port failed (-16) for mlx4_0
ib_query_port failed (-16) for mlx4_0
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)
mlx4_core 0000:04:00.0: SW2HW_MPT failed (-16)

[Code]....

View 5 Replies View Related

Ubuntu :: Only Single Core Active On Quad Core AMD When Acpi Is Active?

Jun 8, 2011

Only Single core active on quad core AMD when acpi is active.with acpi=offuname -aLinux dvip4 2.6.32-30-server #59-Ubuntu SMP Tue Mar 1 22:46:09 UTC 2011 x86_64 GNU/Linux

Code:
cat /proc/cpuinfo
processor : 0

[code]...

View 1 Replies View Related

Software :: Install Older Version Of Gcc 2.95.3 In Fedora Core 8 Or Fedora Core 12?

Mar 14, 2010

i download the rpm package of gcc .

View 10 Replies View Related

General :: Difference Between Fedora Core 4 And Fedora Core 14?

Jan 12, 2011

I 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 Related

Ubuntu :: Assign A Static Ip Address?

Jun 13, 2010

I want to assign a static ip address, my network/interfaces files shows

Code:
auto lo
iface lo inet loopback

am I correct to add

Code:
iface eth0 inet static
address 10.42.43.10
netmask 255.255.252.0
gateway 10.42.43.1

or is there more I need?

View 4 Replies View Related

Ubuntu :: How To Assign More Than One Keyboard Shorcut

Jul 22, 2010

I'm running Ubuntu 10.04 on my Lenovo laptop. Sometimes I use USB KB which doesn't have the Multimedia keys. It would be great if I will be able to control my Volume etc using some Keyboard shortcut. I know that this can be done using Preferences->keyboard Shortcut. But the problem is it "replaces" old key (e.g. dedicated volume key on laptop ) with new one which I don't want to happen. I want to keep both keys for same operation.

View 5 Replies View Related

Ubuntu Servers :: Assign Static IP Or DNS Name?

Nov 27, 2010

I have installed a ssh server on a computer (Ubuntu 10.04). This computer will be reboot many times, so the IP address is going to change. As a result, I couldn't connect with an other computer on this server via ssh. That's why I search a solution: either I assign a static IP on my server computer or I heard that I could use a dns name. I don't know if the latter solution is good so I hope to have some precisions. Also, I tried to have a static IP by editing the file : /etc/network/interfaces but it doesn't work.

View 5 Replies View Related

Ubuntu :: Change Assign Key Letter?

Apr 18, 2011

I know their are several threads pre-taining to keyboard remapping, I own a Toshiba X205 S7483 laptop running Ubuntu 10.10 32 bit with the latest updates installed. I like this os overall but here is my question.

My laptop keyboard letter, "b" has broke and Im copying and pasting when I need to use it. Is there a way how I can change either the assigned b letter key to like one of the alt keys or windows menu keys or fn key?

View 5 Replies View Related

Ubuntu :: How To Create New Dns And Assign Bandwith To It

Feb 25, 2010

i recently installed ipplan on my server .. but cuz i am new at it i am nt any good . is there some way i can read or refer some book or website and learn all its functionalities ??

1. how do i create a new dns and assign bandwith to it ?
2. how do i assign bandwith to a specific ip in general ?

View 3 Replies View Related

Ubuntu :: Assign Or Change The Label On UDF Dvd+rw Disks?

Jan 15, 2010

how can one assign or change the label on UDF dvd+rw disks??

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved