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


ADVERTISEMENT

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

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

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

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

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

Ubuntu Multimedia :: Creative Webcam Doesn't Work - How To Make It Work

Feb 17, 2011

how to make creative web cam working with ubuntu

View 1 Replies View Related

Ubuntu :: Wireless Does Not Work + Printer Drivers So Buggy + MP3 Players And Digital Cameras Not Work?

Jul 7, 2010

I wanted some input on chronic problems with Ubuntu:

1. Why does wireless almost never work right on Ubuntu?

2. Why, when Ubuntu just decides to turn off my wireless card, can I not just turn it back on?

3. Why do tar balls almost never unpack right?

4. Why are printer drivers so buggy?

5. Why do my MP3 players and digital cameras not work with Ubuntu?

I spent 3 hours last night trying to unpack a tar.bz2 file so I can run my Ralink network card. It worked fine until my son unplugged my computer. Now my card is disconnected and it will not reconnect. When I check forums no one has a simple answer for something as simple as turning a network card back on. On my Apple, it's simple: click my wireless icon and hit "on." tell me an easy way to just turn my wireless card back on, it would renew my faith a little in Linux.

View 4 Replies View Related

Ubuntu Multimedia :: Skype - Pulseaudio - Sound Output Or Input Does Not Work At All Doesn't Work

Sep 11, 2010

When I installed my 64 bit system of Ubuntu 10.04 the sound worked very well and I were very happy. The problem started however when I installed Skype which uses pulseaudio. As soon as I start skype (or any other application that uses pulse, HoN for example) the applications sound output or input does not work at all. If I have pulseaudio started in some way, applications that I suppose do not use it like spotify or flash player stops to produce sounds. And when I type "pulseaudio" in the terminal it gives me this:

[Code]...

View 3 Replies View Related

Ubuntu Multimedia :: Flash Controls Don't Work - How To Make Them Work

Apr 8, 2011

I can't get flash controls to work. If the video auto-plays, it starts just fine, if not, I'm out of luck. I've tried reinstalling flash through the software center. Even if it autoplays, I can't control volume or pause or anything. I'm at the mercy of whatever is already there.

Ubuntu Karmic 9.10 - all updated as of 1/2/2009
Firefox 3.5.6
On a Lenovo Thinkpad R400

View 3 Replies View Related

Ubuntu Servers :: Get Sobdomains To Work Fine On A Test Mache, But Domain/site To Work Due To Lack Of DNS Support At The Moment?

Feb 6, 2011

I'm not to sure this is the place I should post this, but couldn't find any place for it to fit. So here is the deal..I am running 10.10 with the standard LAMP setup. I am running a drupal 7 site no problems. What I need to do is run a multi site sub directory. (domain.com/newsite). So far the best I can do is get a directory index of the second site (domain.com/newsite), but cant run the installer. (I did the symbolic link to the doc root of the drupal install.)If I type in the url domain.com/newsite/install.php I get not found. I placed an index.html test page and it renders fine. I think I'm close but just not there yet.

Any ideas from anyone? I can get Sobdomains to work fine on a test mache, but sadly I need the domain/site to work due to lack of DNS support at the moment. I tried to get some info from the drupal forum, but everything always points to subdomin setups. I also posted over there, but it seems like the forums have very little support and are a bit on the slow side.

[Code]...

View 9 Replies View Related

Ubuntu :: Compiz Doesn't Work - How To Make It Work

Jul 29, 2010

I'm having trouble getting compiz to work on my Laptop. It worked for a while and then I turned on Shift Switcher and a message popped up saying..."The new value for the button binding for the action Terminate in plugin Shift Switcher conflicts with the action Zoom Window of the Scale Addons plugin. Do you wish to disable Zoom Window in the Scale Addons plugin?" I was given the option of Set Terminate anyway, Don't set Terminate, and Disable Zoom Window. I clicked Don't set Terminate and ever since the only thing that works in compiz are the bindings in the general options. I've used synaptic to completely remove and then reinstall compiz but the problem persist. Something else weird, all of the changes I made are still there, even after complete removal, but they don't work?

View 2 Replies View Related

Ubuntu :: Hibernate Doesn't Work - How To Make It Work

Oct 29, 2010

When I try to hibernate, the computer just goes to a blank, black screen and doesn't turn off. I have to hold the power button to get it to shut down, and when I turn it back on none of the programs running before hibernation have been saved.

View 8 Replies View Related

Ubuntu :: Unity Doesn't Work - How To Make It Work

Feb 16, 2011

I just recently (about an hour ago) installed Ubuntu Netbook edition on my old laptop, and I was greeted with the message, that unity could not be run due to some sort of missing driver...fair enough, I was then greeted with the default Ubuntu desktop, I installed all my needed software (wine, google chrome) and installed the missing display drivers. I then rebooted the system, and once again I am stuck with the default desktop, and not the Unity interface. I checked the software center, and it says Unity IS in fact installed.. And yet I cannot make it appear. So now I ask you Ubuntu veterans. How do I make it work?

P.S. I wiped the system of windows, and the computer is an old HP Pavilion DV6000

View 2 Replies View Related

Ubuntu :: Configure Evolution To Work With MS Exchange But Cannot Get It To Work?

Apr 20, 2011

I am trying to configure evolution to work with MS Exchange but cannot get it to work. I also have an android phone which is dead easy to configure, but I've tried so may settings but cannot get evolution to connect. Anyone also having had this problem and finally solved it? I also tried DavMail with no luck.

View 6 Replies View Related

General :: SMP Kernel Would Work With Single Processor / Work With Multiple Processors System?

Feb 10, 2010

If I have SMP kernel would it work with single processor or only work with multiple processors system?

View 6 Replies View Related

Networking :: DNS Lookup Doesn't Work, Ping, Firefox Will Not Work Properly?

Apr 23, 2009

I have this annoying problem since day one.I am testing out Red Hat RHEL5, everything is fine except DNS look up.If I ping www.google.com, it doesn't work, ping ip address it all works;if I bring up browser, put www.google.com it doesn't work, can't find the name, however, simply put ip address there it works.My DNS seeting seems ok, and the DNS works from Windows box.

View 2 Replies View Related

Slackware :: Get Rtsp:// In Firefox To Work \ (adding Entries In :config Does Not Work)?

Feb 2, 2010

I have followed the instructions at http://www.vcn.bc.ca/~dugan/setting-up-slackware.html (under "Making Firefox Perfect"), but I still get the error message"Firefox doesn't know how to open this address, because the protocol (rtsp) isn't associated with any program."

View 13 Replies View Related

Networking :: New Install Of Centos 5.5 Will Not Work On Net Work With Fixed IP Or DHCP

Jan 12, 2011

I am trying to set up an unused machine as a web server for my students.

I originaly tried with Redhat 9 and had the same problems. I am using an HP Pentium 4 system with 2 network cards.

1) The built in Realtek RTL8139 configured as eth0.

2) An add in Broadcom BCM5782 Gigabit card that was added I presume when the built in card failed (we have a number of machines like this around the school), configured as eth1.

I did not realize the second card was installed when I had Red hat 9 on the system, but I discovered it after installing centos 5.5. I have tried to configure the system to use DHCP with and without getting the DNS from the provider, and both ways the system complains that there is no connection, check the cable, so it will not activate the device.

When I configure the device to use a fixed IP, I can configure the device, but I can't ping anything on the network other than myself. I suppose it is possible that both network cards have failed, but I get green link lights with both cards, when I connect them to my router, so I am at a loss as to why neither board seems to work. I don't have a spare network card to slide in because the computer takes a special mini card. Is there an easy way to test the board to see if the board is a problem?

View 2 Replies View Related

General :: Mail() Function Doesn't Work With HOTMAIL But Its Work With Others?

Apr 27, 2011

i have tried mail function in php to send email from the local host its work for yahoo but not with HOTMAIL whay ! actually i tried to figure it out,

View 1 Replies View Related

Debian :: Usb Stick Don't Work - How To Make It Work

Jan 14, 2011

I just installed Squeeze_di_rc1, whit gnome, when i insert any usb stick i recive how can i solve it?At the same times i tried to format in fat 16 with gparted but the result is the same.

View 6 Replies View Related

Fedora Installation :: Used To Work Flawlessly In F14 Now Does Not Work In F15

May 29, 2011

What used to work flawlessly in F14 now does not work in F15. I have done a fresh installation of F15 and all seemed to go well other than a few minor tweaks. In F14 I had an /etc/fstab file that worked well but in F15 does not work. I have 3 external USB drives, mybook, black & StoreIt. With F14 my fstab worked very well and booted regardless of weather or not any particular drive was connected at any given time. Typically I have the mybook and black connected at home and the StoreIt connected at work, but regardless it would boot and work without any problems.

[Code]...

View 1 Replies View Related

Debian :: Get Sendmail To Work With Php But Can't Even Seem To Get To Work On It's Own?

Mar 27, 2010

I'm trying to get sendmail to work with php but i can't even seem to get it to work on it's own. I'm logged in as root (su root). I have in php.ini: commented out smpt and smtp port (win 32 only it says) and sendmail_from commented out

For unix only
sendmail_path=/usr/lib/sendmail

sendmail seems to be installed i can run it from bash. I try sending an email using:
sendmail example@whatever.com
message
ctrl + D

which i saw somewhere however the email doesn't seem to go through. I've also tried (after restarting apache server) to use mail() php function and that also doesn't work. Any ideas?

View 3 Replies View Related

General :: Flash And Quicktime Movies Don't Work; Mgp And Wmv Movies Work Fine?

Jan 9, 2011

As far as I can tell, I have all the applicable applications and plugins (for this, Debian 5.0.6 installation). I type in Code:about:plugins in either iceweasel or epiphany browser and get a list that includes:

Code:
Installed plugins
Find more information about browser plugins at mozilla.org.

[code]...

View 6 Replies View Related

Ubuntu One :: How To Get U1 To Work

Jun 15, 2010

Lucid on desktop. I'm interested in using U1, but have had no success getting it to work.

Tomboy notes: Telling me they are synchronized, but they are not.

View 3 Replies View Related

Ubuntu :: Can't Get Gpg To Work

Oct 12, 2010

I am trying to publish my key to a key server by typing,

Code:
gpg --list-keys
into terminal.

According to LaunchPad the output should say something like,

Code:
pub 1024D/12345678 2007-01-26
uid Geoffrey Hayes (My OpenPGP key) <geoffrey@bungle.com>
sub 2048g/9ABCDEF1 2007-01-26

View 4 Replies View Related

Ubuntu :: Can't Get Ftp To Work / Need That

Nov 3, 2010

I've installed several ftp clients available through the software center. I'm able to connect to my remote host and view directories, but for some reason every time I try to download my files/directories, it disconnects and doesn't help me at all. I've got a large remote site so I can't feasibly download each file through my file manager.
Does anybody have any suggestions to get an ftp client working on my computer?

View 5 Replies View Related

Ubuntu :: Gpg Key Fix Did Not Work

Nov 27, 2010

The gpg key fix did not work for me. I have tried so many things including reinstalling 3 times.I am totally new to Ubuntu and Linux so at this point.

View 1 Replies View Related







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