Could threads of a same process run on different CPU in the same time ?

Hello,
probably stupid question..., but I would like to understand if several threads inside a same process can run in the same time on separate CPU.
If the response is positive, how can I bind a thread on differant CPU using C API ?
Also what is the algorithm implemented by Solaris for the laod balancing ?
Is there any white paper on this subject ?
Thanks for any tips

Threads in the same process can run at the same time on separate CPUs.
You can bind a thread to a CPU using the processor_bind(2) API.
That algorithm is not public. You will have to wait for OpenSolaris so that you can look at the implementation at that time.
There is much public documentation on Solaris threading support on the web. Use google. The following document provides a good historical context of Solaris thread support.
http://www.sun.com/software/whitepapers/solaris9/multithread.pdf
Gary

Similar Messages

  • Process 000004 did not confirm within the permitted time period

    Hi
    The process chain failed while activating the ODS with an error message :Process 000004 did not confirm within the permitted time period" . When repeated the failed step it went successufull. but want to know what can be the cause and steps to be taken in order to avoide this issue further.
    Thanks
    Ratan

    Hi,
    Whenever ODS activation goes there'll be some batch processes you can say as parallel processes running along with main job. Due to unavailability of resources i.e either bkgd or dialog processes soemtimes gets delayed and they gets canceled which leads to the failure of main ODS activation job...
    may be in ur scenario the same thing might have happened, so when you had repeated the step if the resources are free it will be successful.
    once chk in your system for canceled jobs, ther might be some job which relates to your process.
    rgds,

  • In what circumstances could my app service simultaneously process requests in different processes?

    Hi,
    We recently encountered a scenario in our Cloud Services Web Role web app where simultaneous api calls on the same item occurred, such that IIS automatically allocated them to be handled on separate threads inside the same w3wp process. We needed to handle
    this scenario by rejecting/ignoring whichever call came in second, so we just used a static ConcurrentDictionary object to track which items were currently "locked".
    But I'm concerned that as we scale up eventually Azure will start routing such calls to different w3wp processes or even different machines.  In such a case, a static in-memory object is obviously not going to do the job.  For now all I want to
    do is find out what happens in the scenario where two requests are handled by different processes/machines - so what's the easiest way to trigger an Azure web role into this behaviour?
    Thanks
    Dylan

    I've confirmed via MS support that my assumptions were basically correct - if you have Instances = 1 then all requests for a single web application will be handled by one instance of the relevant w3wp process.
    If Instances > 1 then they might be handled by w3wp processes on separate virtual machines. There's no known scenario where there would be multiple w3wp processes on one machine, so if you need to handle concurrency for a scalable web-app, you have to
    use some central resource that is available to all instances.

  • More then one repositry could be used at same time?

    please anybody can told what we can use more then one repository at same time? as i have two reposities as sh,paint.what these two could be enable in nsq file .
    Edited by: shakeel khan on Jan 4, 2010 5:03 AM

    yes you can..
    check the following links
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-1-the-bi-server/
    http://rnm1978.wordpress.com/2009/08/25/multiple-rpds-on-one-server-part-2-presentation-services/
    Regards,
    Raghu

  • Can I run a different user as the managed server than the admin server?

    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

    You mean a different UNIX user? Yes, that should be fine.
    -- Rob
    Frank wrote:
    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

  • Can you run a different user on the managed server than the admin server?

    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

    That shouldnt pose a problem.
    anand
    In article <3f679e4d$[email protected]>, Frank wrote:
    >
    Under unix, can I run a Weblogic 7 managed instance as a different user than the
    admin server in the same domain? If not, any reference docs on BEAs site?

  • System Failure while running Adobe Dreamweaver CS6 for the first time..Why?

    When i downloaded the adobe dreamweaver cs6 and during installation ... there is no wrong except screen resolution (required = 1280*800 but available = 1330 * 768)
    But when i tried to run the program for the first time, the system had failed.
    Can you help me to know the true cause, please?
    note: i use Windows XP sp1

    CS6 requires a minimum of Windows XP with Service Pack 3. Your vertical resolution also does not meet the minimum requirements.

  • Can I run two different ipods from the same laptop?

    Hi, I am very new to all this. Is it possible to have two different ipods running from itunes on the same computer. If it is how do I separate them so when I connect and ipod it doesn't sync both lots of music.
    Please Help me
    Thanks
    Hoolie

    I'm currently syncing three iPods to the same library. iTunes will recognize each iPod as a unique device. My preferred method of managing my iPods is "Sync Selected Playlists". This allows me the convinience of syncing (and all my ratings, playcounts and last played sync) while still being able to control what goes on each iPod. You can set your preferences for each iPod. You could managage one manually and sync the other. Whatever works best for you.

  • Running 2 different displays on the same Mac Pro2x 2.66

    Hi folks.
    this is the graphics card that I have:-
    Chipset Model: NVIDIA GeForce 7300 GT
    Type: Display
    Bus: PCIe
    Slot: Slot-1
    PCIe Lane Width: x16
    VRAM (Total): 256 MB
    Vendor: NVIDIA (0x10de)
    Device ID: 0x0393
    Revision ID: 0x00a1
    ROM Revision: 3008
    I understand that I can run 2 displays - is that right?
    I use final cut and was hoping to run my 23in cinema display and a basic SD sony CRT monitor alongside for colour correction. I don't know if this is possible. I can't afford a new monitor, so suggestions in that direction won't help me (unfortunately!). I only have the Apple DVI to video adaptor right now as a connection into the sony monitor. Am I barking up the wrong tree?
    Thanks
    Dom

    Hi Dom-
    Welcome to Discussions!
    Yes, you can run two monitors with your current graphics card. A Cinema Display, and your Sony, should also be no problem.
    So, you have the Sony connected to the DVI to VGA adapter that came with your Mac Pro? Then, all you need to do is connect the Cinema Display to the other DVI port. There may be an actual physical problem disallowing the second DVI connection, which is remedied with another adapter, the DVI extender , which you should have received with the computer.

  • Problem with running Premiere Elements 12 for the first time.

    I have just purchased a download version of Premiere Elements 12.0 and have installed it on my PC running on Windows 7 (64 bit). On first running Elements, however, the program gets stuck on loading "mveH264Exporter.prm" and proceeds no further. I've tried uninstalling and reinstalling, but same problem. I previously had Elements 10 installed and that was working. Any advice offered would be appreciated.

    First we need to check , whether the LAN settings is set to detect settings Automatically or not.
    Follow below steps .
    1)Open Control Panel and then click on the option "Network and Internet" .
    2)Click on Internet options, click on 'Connections' tab.
    3)In the 'Connections' tab, select 'LAN' settings, you will be able to view the Local area network settings box.
    4)Check the box-"Automatically Detect Settings" and then "uncheck" all the other check boxes like 'Use automatic configuration script', 'Use a proxy server' , Bypass proxy server' ,then click on ok button .
    5)Click on "LAN settings" button again , make sure "Automatically Detect Settings" is the only option selected, keep the LAN properties window open.
    Then launch Premiere Elements 12 and try to sign in.
    If the settings were already set like that or you face same issue after signing in , let me know

  • Running two different versions of the oracle client on my laptop

    Hi, i have one application (iAvenue 6.1.3) which absolutely has to have the oracle 8 client installed. I have a second application (Isabel) which absolutely needs the oracle 9 client installed. Can i have the oracle 8 and 9 clients installed on my laptop simultaneously, which would allow both of these applications to work without any conflict? If so, how? Is there a file on my laptop that i can update to make sure this work?

    There are no problems, you can run 8.0 and 8i, but be aware of the differences:
    8.0 required an specific platform installer, it had its own set of regedit entries. 8i used the OUI. Beware of the %PATH% environment. And take care of connectivity issues. You should use two different listeners, if trying to use the same listener, use the 8i and check the compatibility with tns entries 8.0 and older.
    When the transition between 8.0 and 8i took place, a lot of applications suffered mainly because of strange connectivity issues.

  • Process to secure different files on the basis of their filename

    Hello everybody,
    I would like to know if It's possible to batch processing feature with the Acrobat standard version 9. I think that's not possible with the standard version.
    I want to securize a pdf files collection from their filename with different passwords (one different password per file) in an unique process (shell). It's for a payslips' application.
    The Questions:
    - What's the best version to deploy this subject, standard or professional?
    - Do I need the SDK or API or only needed Acrobat Professional with batch processing technique?
    How would you do that?
    Thanks!

    Hello Leonard,
    Thanks by your answer, but I'd like to sure about this to adquire the proper license of product.
    Then, as you say me, I need to write script/program to automate Acrobat...  Do I need the Acrobat SDK?
    Can I do it with the Acrobat Standard version?
    Thanks!

  • Running multiple batch actions on the same folder? One Click?

    We run Actions on a group of images using CS4 with the File->Automate->Batch function. We use this to take, for example, 200 images from a set folder and run an "Action" to create a rendered 2D design and save it in a different location to the source image and add an extension to the file name, leaving the source image unaltered. 
    The problem is that we then require to run this 20 times, each time, the difference is :- we want it to save to a different location and the "action" used is different because it changes the colour for example.
    The desired output is:
    FROM A JPEG ---> 20 folders (named as 20 different colours) and all our images rendered (as in our action) and saved into the 20 folders
    So we have 20 versions of each image
    Currently we simply set off the different actions in a batch separately, IE. 20 lots of batches to set off.
    So for example:
    * We have 200 jpeg images in folder [A]
    * We run a Batch function to run an "action" on all 200 images in folder [A] to render into our design and add a blue colour overlay (this is all done in the action itself) and to save them to folder [B] with the extension (BLUE) added to the filename.
    * Once Photoshop finishes running this Action on the 200 images (wish it would beep or something to let you know it was finished) we then run a batch to run a different "action" on the same 200 images in folder [A] to render the design and add a pink overlay and to save them in folder [C] with the extension (PINK) added to the filename
    And so on and so forth for the 20 different actions.
    Is there a way we can instruct Photoshop to run all of these 20 actions (one after the other in a queue as it where) without having to "Babysit" Photoshop and ask it to run each one off ourselves manually?
    Would we have to use JavaScript for this? We have no experience with JavaScript at all.
    We are currently using Photoshop CS4, is there a easier way to do this on CS5 or CS6?
    Kind Regards and Thanks in advance
    Steven

    Would we have to use JavaScript for this?
    I think it would be advisable but (if you don’t mind risking getting less help) you could use VB or AppleScript depending on your platform.

  • No Oracle processes running Oracles Shared segments not cleaned up

    I've been running into situations where a databases SGA isn't cleaned up from memory but no Oracle processes are running. I always thought that if the Oracle processes die the instance does too, but that doesn't appear to be the case. There's a script that pulls down databases to refresh DB copies. My initial thought was that in certain situations the db isn't shutdown and the files are overwritten, but I have not been able to reproduce it. There's nothing in the Alert.log.... no errors what so ever. In what sort of circumstances would you see a databases SGA still in memory and no Oracle processes running? I can cleanup the shared memory segments.... I'm more concerned about understanding how it is occurring.
    Any insight would be appreciated.
    Thanks

    Please reread your post with great care.
    Do you see a platform and operating system?
    Do you see a product name and full version number?
    Do you see a description of which commands were executed?
    Good. Because I don't either.
    Post a full and complete description of the environment so we can try to replicate it.

  • How can I run Macbook Pro screen and Thunderbolt display at same time with different programs?

    I am running a Macbook Pro with Mavericks and using an Apple Thunderbolt display. I would like to run 2 different programs on the 2 screens at the same time. Is this possible?

    Select Help from the Finder's Help menu and search for "mission control."
    Mac Basics- Mission Control

Maybe you are looking for

  • Fullscreen Flash movie not showing up on Mac

    My flash movie is set to 100% width and height and it is working fine on my PC on IE 6,7, FF 2, Safari 3, and Opera, but on my Mac, the movie will not show up unless I change the 100% values to actual height and width values. Does anyone have any tho

  • Visited Sites do not Change Color

    Since the recent Safari upgrade, the sites I have visited do not change color.  For example, if I do a Google search, click the first link and then either use the back button or the refresh button in the Google search field, the site I just visited i

  • Printers disappearing

    I have an Intel iMac 2012 Mac 21.5 running OS 10.8.5. The printers keep disappearing from the list of printers. All printers or networked on the same segment and switch. The printers are networked with a static IP address and Bonjour. I have tried ad

  • How to make detection and acquasition processes faster on 6602 board ?

    Hi to everybody, Currently I am using a NI 6602 board. And I am designing my project using VC++ in .NET framework(1.1) . In my application, I have to wait a digital signal(triggering signal) to go high level to start my acquasition. At first, I tried

  • How condition divide in to parts i wnats vat4%and cst 1% but at this time

    hi i am doing RG23D process in which take cont ion JIN6 condition type in which come vat+cst 5% and i want to divide it in two like vat 4% and cst1% . what is procedure to dividend it and it shoe in invoice in two different record  .and in invoice sh