Fedora :: Any Way To Unset Processor Affinity?

Oct 28, 2009

Does anyone know if there is a way to "unset" processor affinity? So if you bind a process to just one proc, but then want to tell the OS to revert to normal behavior? Also, when you bind a process to a processor, can other processes use that process or does it have exclusive usage of that proc?

View 1 Replies


ADVERTISEMENT

OpenSUSE :: Advanced Processor Affinity Practice?

Oct 27, 2010

Am investigating processor affinity theory and practice, am somewhat surprised at the paucity of information on something that has been a part of many Windows Enterprise type applications for more than a decade and although I haven't investigated would assume is supported by big iron UNIX.What it is Processor Affinity is the *NIX terminology for "soft" assigning a process and its threads to a specific processor core. On multi-tasking machines and particularly those which run heavy loads it can be useful to "advise" the Scheduler to isolate/assign heavy loads to a core separate from other processes. I also have a specific situation where I would like to run more than one instance of a specific app, but cannot when sharing the same processing environment.

What I've found so far By default, any and all processes are assigned an affinity that permits running on any and all available processors.The taskset utility can be used to modify the affinity for any process, which means that once an application/service/process has been launched, only then can the affinity be modified.It seems that the RH platform may also have a utility called tuna which might provide some tuning capabilities in addition to setting affinity but does not seem to be in the SuSE repositories and I cannot find source.Is there a reference or utility that can launch an application with a specified processor affinity?

View 6 Replies View Related

Programming :: Setting Processor Affinity In Application

Jan 28, 2010

there is any possibility that I can set in this application an affinity so that the processor binds it to core 2 for instance.Is this possible to do in an application that runs than under root? Or is this just possible after the application started with using the taskset tool?

View 1 Replies View Related

Ubuntu :: Program Execution Time And Processor Affinity?

Aug 7, 2010

I have some questions.First, how can i obtain a process execution time ( after it terminated)??? Second, in a multi-core system like SMP how can i run different processes on different cores explicitly? i.e. how can i assign a process to a specific core?

View 1 Replies View Related

Software :: AMD Processor Fedora Doesnt Support AMD Processor?

Jan 5, 2010

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 Related

Red Hat / Fedora :: When Launch The Firefox Through A Shortcut, The Ld_Library_Path Is Unset?

Mar 23, 2009

I am using Firefox 1.5.0.9 in RHEL 5.0. I have a application which needs to load some jar files to the firefox browser, for which I am adding the path in LD_LIBRARY_PATH in ~/.bashrc.The issue is when I launch the firefox through a shortcut, the LD_LIBRARY_PATH is unset, and it just sets it to Firefox specific libs.Additionaly if I run firefox through command line it sets it perfectly fine, and appends the Firefox libs to the already set LD_LIBRARY_PATH.

View 1 Replies View Related

CentOS 5 :: Set Default Affinity To CPU 0?

Dec 18, 2009

I have a question about using taskset. I am using Core 2 Quad box. I set the default affinity to CPU 0, by doing the following:
Edit: /etc/rc.d/rc.sysinit
Addline: /bin/taskset -p 1 0

That has been working fine for me, but from searching the web, I found some suggestion about adding an additional line:
/bin/taskset -p 1 $$
What does that line do?

I checked the man page of taskset and some references for regular expression, and I couldn't find the explanation about the $ character. By the way, 0 for CPU 0, correct? I checked via htop and seemed to be correct...

View 1 Replies View Related

Programming :: Unable To Change Affinity

Apr 29, 2010

I am using glib version 1.2.10.I came to know from somewhere that "pthread_attr_setaffinity_np(3)" does not work on this version for POSIX threads. Following error was coming:(.text+0x112): undefined reference to `pthread_attr_setaffinity_np'collect2: ld returned 1 exit status.All I want to do is to run 2 threads on two different processors. I cannot change the glib version.

View 3 Replies View Related

Ubuntu :: CPU Affinity / Taskset Does Not Always Work

Feb 20, 2010

I have a program for which it seems to be impossible to set cpu affinity from launch with the command taskset -c <cpu list> <command> <arguments>

View 3 Replies View Related

General :: Write Cpu Affinity Code To Map 8 Nodes To 8-cores Computer?

Jan 24, 2011

I have a 8 core computer, which has 8 logical processor in total. I want to create 8 process(nodes). Each node is mapped to each logical processor. The order is code...

I wrote the code as below, could you please see whether it is correct? code...

View 3 Replies View Related

General :: Unset Or Get Rid Of A Bash Function?

Jun 19, 2010

If you set or export an environment variable in bash, you can unset it. If you set an alias in bash, you can unalias it. But there doesn't seem to be an unfunction.

Consider this (trivial) bash function, for example, set in a .bash_aliases file and read at shell initialization.

function foo () { echo "bar" ; }

How can I clear this function definition from my current shell? (Changing the initialization files or restarting the shell doesn't count.)

View 1 Replies View Related

General :: $LD_LIBRARY_PATH Get Unset When Using Screen With Bash?

Jun 16, 2010

This is related to http://superuser.com/questions/27376/why-does-my-ld-library-path-get-unset-launching-terminal, but a different set of symptoms.First, /usr/bin/screen is setuid as per the other question. Second, the default shell on this system is /bin/tcsh for various historical reasons, and we're not allowed to chsh to /bin/bash, so I typically run bash manually immediately after login. Third, I almost always use screen, but I want ctrl-a ctrl-c in screen to create a new bash "tab", so I always invoke bash first.

That is:
{~} $ echo $SHELL
/bin/tcsh

[code].....

View 2 Replies View Related

Ubuntu Networking :: Export Http_proxy Won't Unset?

May 21, 2010

I use my laptop through a proxy and at home I don't. I've set the proxy at uni using export http_proxy="...", as well as ftp and https proxies. Now I'm at home, I go to unset them by typing export http_proxy="" and that works, until I close and reopen terminalwhere "export" shows the proxy still set

View 1 Replies View Related

CentOS 5 :: Forbidden Users To Modify/unset A Env-var ?

May 18, 2009

If a root user set an environment variable for users, how to let users not modify or unset the variable?

View 4 Replies View Related

General :: New Grub Version - How To Unset Quiet Booting

Aug 6, 2010

I've got new version of grub from the newest linux. Do you know how to disable quiet booting ? Because I've got problem with my graphics card and to fix it I need recovery mode.

View 1 Replies View Related

Ubuntu :: Thunderbird Unset 80 Chars Width Lines?

Jan 25, 2011

For some reason it seems like my Thunderbird 3.x has a limit of 80 chars per line enabled, so when I edit a message, it puts a line feed on or before that limit.

I think it could be set when I installed Enigmail for using GPG, that changes some default values, but I'm not sure.

Anyway I would like to avoid this issue, so I can write lines as long as I want, but I've not found a configuration option to do this within "Preferences" dialog.

View 1 Replies View Related

Programming :: Bash Unset Array Loops GARBAGE?

Jun 27, 2011

Code:

#loop until there are no more files
while [ ${#files[@]} -gt 0 ]; do
for num in `seq 1 ${#files[@]}`; do
wurd=`tail -4 ${files[$num-1]}`

[code].....

Everything works.. but when it has to unset.. it breaks.. it doesnt give an error though.. it just jams the program.

View 7 Replies View Related

Security :: Prevent Users From Changing Or Unset Their HISTFILE Variable?

Sep 30, 2010

'readonly HISTFILE'

but the user could tamper with the histfile itself. Like:
rm -f $HISTFILE;
rm -f $HISTFILE; mkdir $HISTFILE;
rm -f $HISTFILE; ln -s /dev/null $HISTFILE;

I'm experimenting with PROMPT_COMMAND to execute a command each time the user executes a command and so log it somewhere else.This post was pruned from the 2009 Is there a way to prevent users from changing or unset their HISTFILE variable? thread. Please do not resurrect old threads but instead create your own (and maybe provide a link to the old one).

View 2 Replies View Related

Fedora :: Processor Is At 100% All The Time

Aug 14, 2009

Ever since I turned on my notebook yesterday (Compaq Evo N610c) my processor has been working 100% all the time. I checked processes via System Monitor, and no process is doing such thing.

What can I Do?

Here's a copy/paste from top command

Code:
[juan@x22 ~]$ top
top - 11:02:39 up 37 min, 2 users, load average: 2.77, 2.21, 1.48
Tasks: 142 total, 3 running, 139 sleeping, 0 stopped, 0 zombie

[Code].....

View 8 Replies View Related

Security :: Failed Logins Are Logged To Syslog With The Login Id Set To UNKNOWN Or UNSET?

Jun 10, 2011

Failed login attempts are logged to syslog with the user id or login id set to UNKNOWN_USER or UNSET.Anybody know if this is configurable. I would rather it just pass the actual id that the user used. Doesn't matter if it exist or not, just want to know if someone is guessing at user names and what those user names are

View 1 Replies View Related

Fedora :: X Taking Too Much Processor Percentage

Feb 5, 2011

My configuration is as Follows:
Intel Pentium Dual core 2.6 Ghz
4 GB DDR2 Apacar 800 Mhz RAM
Gigabyte ATI Radeon 5450 HD GPU

I'm using Fedora 14 KDE but on startup it uses 40% of my processor. I'm using the proprietary 10.12 AMD ATI Linux Driver. I'm only using blur and woobly windows effect and I'm using OpenGL. Kubuntu/Suse never gave me this trouble. Even GNOME doesn't only KDE and fedora 14 is troubling me.

View 1 Replies View Related

Red Hat / Fedora :: How To Get Processor Type At Particular Root

Jun 16, 2010

How do I get arch/processor type at a particular root? On Solaris, I can get it by running
"pkgparam -R "$alt_root" SUNWcsu" (SUNWcsr)
Wonder if something similar for Linux exists? I know that 'uname -p' works for the current system, but I am looking to find arch for a system mounted at some root.

View 7 Replies View Related

Fedora :: Unrecoverable Processor Error Has Been Encountered

Jul 14, 2010

I installed Fedora 12 at school on my external hard drive, using Windows Virtual PC 2007 to run Fedora at school on a dell PC with XP 2000, which works at school!However at home, i am using Windows 2007 os, I install Windows Virtual PC 2007, wasn't successful in running Fedora 12.As soon as Fedora begin to boot, an error message appeared which said,"An unrecoverable processor error has been encountered.The virtual machine will reset now".below the message it gives you only option to reset the virtual machine, however this is a vicious cycle

View 1 Replies View Related

Fedora X86/64bit :: Optimizing Processor Speed In 64?

Aug 13, 2010

I am running Ferdora 12 (constantine) 64 with Intel Xeon 3.2GHz processor + 12GB Ram. I am running this machine specifically for number chunching applications but it isnt running as fast as i thought it would! Are there any tips to optimizing the speed of processors in fedora?

View 7 Replies View Related

Red Hat / Fedora :: Build Tool Chain For Arm Processor?

Apr 5, 2010

iam having fedora 10 core so w to build toolchain for arm processor or systametic steps for building toolchain of arm processor on fedora 10 core.

View 1 Replies View Related

Fedora Installation :: Will The I686 Live CD Work On Processor?

Nov 3, 2009

I have a Celeron 2.13GHz single core processor.

View 5 Replies View Related

Fedora Installation :: 12 Live/KDE: Only One Processor Core Works?

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

Fedora Hardware :: Crashing On Install On Athlon 8 Core Processor

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

Fedora Hardware :: Server Twin/two Processor Causes Freeze (unsupported)

Aug 13, 2010

My older motherboard is a MSI K7D Master which had two AMD Athlon 1800 MP's installed. My new motherboard is a HDAMA Rev G which has two AMD Opteron Socket 940 CPUs 2.4Ghz installed. When both chips are installed, Fedora will freeze when putting the system under load (i.e when transferring data). This has now happened to both the motherboards, once I remove the second CPU the system will run perfectly.

I think it may be a kernal problem as this also happens on other linux distributions. I have posted here for several reasons, a) to allow any other person searching for a fix a solution (all be it not a good solution), b) to request help on fixing this issue or request to who and where I should report this bug, c) to see if any other users are having the same issues. I should add that I once had the MSI mobo used in conjuntion with Windows Home Server which never had a problem when both chips were installed.

View 2 Replies View Related

Hardware :: Best Board To Use With Fedora And Intel Pentium D E5500 Processor?

Dec 7, 2010

Why can't I find a HCL?

Does Fedora 14 support ASUS P5KPL SE motherboard?

What is the best board to use with Fedora and a INTEL PENTIUM D E5500 processor?

View 3 Replies View Related







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