CPU_COUNT when more than 1 instance per server

Hi,
I wonder if there is any drawback when we got few instances on the same server from cpu_count point of view.
This parameter is derived by all instances like they are alone so all control structures are allocated independetly but there is more
resource needed when many instances in place.
Could this be potencial bottleneck ?
Regards.
Greg

mseberg wrote:
The last time I checked the guideline the maximum CPU busy rate should be 90%
Here's more info:
http://www.dba-oracle.com/t_high_cpu.htm
The advice on that page is not very good - the most important point is the quote from IBM, which highlights the fact that there is a difference between single-user and multi-user systems:
<blockquote>
+"This holds true in the case of a single-user system with no need to share the CPU. Generally, if us + sy time is below 90 percent, a single-user system is not considered CPU constrained. However, if us + sy time on a multiuser system exceeds 80 percent, the processes may spend time waiting in the run queue. Response time and throughput might suffer"+
</blockquote>
In fact, it's a bit silly to give a single figure for the point where you should be concerned about CPU utilisation. The best reference for discussion is Cary Millsap's book "Optimizing Oracle Performance" which discusses the impact of concurrency on queueing. Instability in performance varies with the number of CPU combined with the percentage utilisation, and the break point sets in around the following levels:
<blockquote>
4 CPUs: 67%
8 CPUs: 75%
16 CPUs: 87%
</blockquote>
Your observation, thought that the OP should not mess with the cpu_count parameter is sound. Perhaps the only parameters that he should worry about are the parallal_max_servers and processes parameters to ensure that no one instance is allowed to run up more processes than the machine can handle.
(I find the best sources of information that bridge the gap between Oracle and the hardware are Kevin Closson's blog, James Morle's website - and a site from someone at Sun whose name I can't remember at the moment.)
Regards
Jonathan Lewis
http://jonathanlewis.wordpress.com
http://www.jlcomp.demon.co.uk
To post code, statspack/AWR report, execution plans or trace files, start and end the section with the tag {noformat}{noformat} (lowercase, curly brackets, no spaces) so that the text appears in fixed format.
There is a +"Preview"+ tab at the top of the text entry panel. Use this to check what your message will look like before you post the message. If it looks a complete mess you're unlikely to get a response. (Click on the +"Plain text"+ tab if you want to edit the text to tidy it up.)
+"Science is more than a body of knowledge; it is a way of thinking"+
+Carl Sagan+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Cannot run more than one instance of a remote app in remote desktop services Server 2012

    All,
    I installed "Remote Desktop Services (RDS) Quick Start Deployment for RemoteApp, Windows Server 2012 Style" using the instructions here http://blogs.technet.com/b/yungchou/archive/2013/02/07/remote-desktop-services-rds-quick-start-deployment-for-remoteapp-windows-server-2012-style.aspx
    I need to set up an image viewing program (Olyvia) to allow students using Macs and iPads access to this windows only application in order for them to get their work done.  We may have 12 or more students accessing and trying to run the Olyvia application
    at any one time.
    All works good, except that I cannot run the Olyvia application (setup as a remoteapp program) more than one instance at a time.  That is, when I start up "olyvia" on a Mac, it works great.  If I leave it up and running, and then try
    and start up "olyvia" on an iPad (using different accounts), I get the following error message:
    "Cannot run more than one instance of this program simultaneously.  Either the program is already running, or it has not been terminated completely."
    I need to understand the root issue.
    1.  Is this a licensing issue?  So, I need to add some CALs to the RDS server?
    2.  Is this a application issue with "olyvia"?  So, no matter what I do, it is not going to be able to be used by more than one person at a time when configured as a remoteapp?
    3.  Did I not "publish" the application correctly?
    4.  Is this happening because I followed the "quick start" guide?
    Appreciate any help I can get on this.  We have no problem getting CALs, I just need some help with the root issue.
    Thanks,
    Geoff Weatherford
    CVMBS, CSU

    Hi Geoff,
    Each application uses different techniques for determining if multiple instances are running.  If you can determine what method it is using then perhaps you could use App-V or other virtualization software.
    In the best case you really should direct your question to the maker of Olyvia.  The reason I said that is they specifically designed their software to prevent multiple instances, so the first question is, why?  Is it related to Licensing? 
    Compatibility?  If you knew the specific reason(s) why they are doing it and the technique used then at the point using a virtualization technique may be the best option.
    -TP

  • Tomcat : Hlow to run more than 1 instance of tomcat server on same machine?

    Hi,
    How to run more than 1 instance of tomcat server on the same machine.
    I use tomcat 5.5. ,updated port number for second instance and tried to run,it takes the same old port number .No batch file available with this version to update the home directory to second instance to run the second server..
    How to work on clustering and load balancing on tomcat server?
    Any inputs?
    Thanks in advance..
    Ani

    Anitha123 wrote:
    We have only 1 dedicated server maintained by third party for hosting..
    If are only getting your site hosted, then, normally, the host would handle clustering (to your sepcifications, of course, but it is normally the hosts responsibility).
    If i need to implement clustering and load balancing for tomcat server then do we need to go for 2 different servers for production environment?
    Yes, you would need two, or more, servers.
    Also please guide me on how to implement clustering and load balancing for tomcat server by running 2 instances on 2 different machine? I'm a newbie to it..
    It should have no (or at least minimal) impact on the code (as long as you are using beans, sessions, and the other components properly). It is handled by the web container (by the tomcat in this case). The tomcat documentation should show how to set it up (if it supports it all, I don't know, we don't have Tomcat at work, and at home I use only a single).

  • How do I configure the Airport utility to allow more than one rule per port?

    How do I configure the Airport Utility (AU) to allow more than one rule per port?
    I am on a home network, with broadband cable modem.  I have my airport extreme connected to the broadband modem.  I have 2 servers in my home that need to be accessed remotely from time (SSH), and they also serve data for an iphone app, so I'm using a variety of protocols.  The problem I'm running into is that AU seems to only allow one rule per protocol, so if I go to add another address for access on a specific port that is being used by one of my servers, AU tells me "The Port Mapping Entry Already Exists". 
    I need to be able to allow SSH on both of my servers, for instance.  Am I missing something?  Is this doable with AU?
    Thanks for any insight.
    Khalid

    The Port Mapping "rules" on the AirPorts will allow you to: 1. Map a single port to a single IP address OR 2) Map multiple ports to a single IP address.
    What you won't be able to do is map a single or multiple ports to multiple IP addresses.

  • Multiple select queries used in Excel BI report ,fetching data from Sharepoint DB(SP2010_Prod_ProjectServer) causing blockage on DB ,when more than one workbook(same copy of Excel BI Report) refreshed using Refresh All option.

    I am using mutiple select queries to fetch data from Project Server 2010 DB(its sharepoint DB) and these queries fetch data in Excel BI report by establishing connection with DB using instance name and all. I have enhance all these select queries and data
    is being fetched in secs. but when more than one copy of same Excel BI report is refreshed using 'Refresh All' option, then these select queries cause blockage on DB.
    Please let me know mitigation for this blockage issue.
    Should I use begin transaction and commit transaction statements/ shared lock statements.
    please reply

    Hi,
    run same query at the same time?

  • Is it possible to datamerge more than one image per page?

    I am building a product catalogue using datamerge.  Is it possible to data merge more than one image per page? (ie I have a logo, product image and dimensioned drawing to go with each product page)
    What would the coding be for the Data Field Name?
    Would it be
    @Logo
    @Product Image
    @Dimension Drawing
    Add image fields in the data source file
    By adding image fields to the data source file, you can allow a different image to appear on each merged record. For example, when you merge documents that include information from various companies, you may want to include an image of each company’s logo as part of the merge.
    Open the data source file.
    At the beginning of the data field name, type an “at” symbol (@) to insert text or paths that refer to image files.The @ symbol is required only in the first line; subsequent lines should include the image paths. Paths, which are case-sensitive, must follow the naming conventions of the operating system in which they’re stored.
    If you get an error message when you type the @ symbol at the beginning of the field, type an apostrophe (') before the @ symbol (such as '@Photos) to validate the function. Some applications, such as Microsoft Excel, reserve the @ symbol for functions. 
    (Windows) Example of image references in data source file
    Bill Tucker
    36
    C:\Photos\BillTucker.jpg
    Dat Nguyen
    53
    C:\MyDocuments\dat.gif
    Maria Ruiz
    26
    C:\Photos\Ruiz.psd
    (Mac OS) Example of image references in data source file
    Bill Tucker
    36
    Mac HD:Photos:BillTucker.jpg
    Dat Nguyen
    53
    Desktop:Family:dat.gif
    Maria Ruiz
    26
    Mac HD:Photos:Ruiz.psd
    You can use InDesign to view the path of an image on your operating system. Insert an image in an InDesign document, and then use the Links panel to view the image’s location. With the image selected, choose Copy Info > Copy Full Path from the Links panel menu. You may need to edit the path after you paste it in your data source. This technique is especially useful for images on a server. 

    anna-rees wrote:
    I am building a product catalogue using datamerge.  Is it possible to data merge more than one image per page? (ie I have a logo, product image and dimensioned drawing to go with each product page)
    What would the coding be for the Data Field Name?
    Would it be
    @Logo
    @Product Image
    @Dimension Drawing
    Yes, pretty much exactly as you describe. You would then just add those fields to the boxes in your page. I tend to add an apostrophe before the @ symbol in Excel so it doesn't think it's a function - as per text you quoted above.
    If you get an error message when you type the @ symbol at the beginning of the field, type an apostrophe (') before the @ symbol (such as '@Photos) to validate the function. Some applications, such as Microsoft Excel, reserve the @ symbol for functions.

  • What if i need more than one prepareStatements per connection

    hi all!!
    Please take some time to look into this scenario.
    On the front end: User enters/ updates his/her records and submits. An ArrayList of object goes to backend.
    On back end: i have to loop for the size of the ArrayList submitted and see if some record is to be updated or inserted.
    Now at back end i do following steps:
    I have only one Connection object named connection.
    Step 1:
    query (say query1 )to see if the record in DB exists for the primary key as extracted from the element from ArrayList. So one prepareStatment ( say prepareStatement1) for this. I write a query and execute :
    prepareStatment1= connection.prepareStatement(query1);
    Step2 :
    A query ( say query2) to update Data in DB. And i have a separtae prepareStatement for this and i execute
    prepareStatment2 = connection.prepareStatement(query2);
    Sep3
    A query (say query3 )to insert Data in DB. And i have a separtae prepareStatement for this and i execute
    prepareStatment3 = connection.prepareStatement(query3);
    Step4:
    for: size of arraylist:
    1. take out the element at ith index from the list.
    2. see if the record exists i.e execute step1 and see if resultSet.next() is true.
    3. if record exists step2 applies so execute update query
    4. if record doesnot exist then go to step3 and execute insert query
    A weird thing happened .. insert was running fine but update was not. May be i was not checking appropriately. BUT the error that occurrd was that
    [Microsoft][ODBC SQL Server Driver]Connection is busy with
    results for another hstmt.
    So i changed my path and in loop i prepareStatement and execute query to see if record exists or not and store the result in some boolean variable and then close this prepareStatement. and if the result existed again prepare a statement for update or else prepare a statement for insert and execute the respective.
    and then again close this prepareStatement and go for next iteration of loop
    so each iteration i am preparing statement and then closing it BECAUSE Connection doesnot allow more than one statement per connection at one time. Am i right.??
    what should i do.? Although i have solved problem by closing and preparing in loop but that is so inefficient. Is there some elegant way???
    please reply.
    PS: I am using ms sql server 8.0 as my DBMS. I am developing web application using Sun Creator.

    No, you can use as many PreparedStatements as you like, all from one Connection, and you can keep them open as long as you like. (I do this with no problems.) Where you will run into problems is when you are trying to use two ResultSets at the same time. That's what the error message means, it just doesn't use JDBC terminology.

  • Can I have more than one iphone per email account?

    When my son got his iphone 4s I used my email address since he didnt have one yet.  I have since gotten an Iphone 4s also, but when I went to activate it I had to put it under another email account, since mine was used for my sons iphone, so I used my husbands.  My husband now has an iphone on order and I was wondering if there was a way of having more than one phone per email account?

    I would set up a new email for him.  That will give you a new icloud account.  Also any apps that he downloaded with your ID will forever be linked to that ID and can only be updated with that ID.  If that is a problem then you might delete those apps and download them again with the new ID ( and if they were paid apps you need to pay again)

  • Can I create more than one instance of a native library?

    Hello all,
    I am using Java to access a Win32 DLL with JNI. Everything is working fine, but I have several threads using the same instance of the native library because it is loaded "statically" in the Java class which uses it, and I suspect I am getting a bottle-neck at the native library.
    Does anyone know if there is any way to load more than one "instance" of a native library?
    The use of System.loadLibrary() would indicate not, and my (limited) knowledge of the Windows environment would tell me that a "shared" library only has on instance. (confirm anyone?)
    I need to find a way around this bottle-neck issue... (and "no", before anyone suggests it, I can't ditch Windows!)
    Thanks.

    I am not sure about the behaviour of the dll as it's not mine. It's a COM DLL which I have "wrapped" in a standard windows DLL so I can expose the JNI methods. I assume because it's COM that it IS reentrant, but I am a bit of a novice when it comes to Windows and COM. I didn't install the COMponent either, it was installed as part of another application. (It's an antivirus COM dll that is part of an AV application)
    Thanks for your help though, I think I will just have to live with it.

  • Can I open more than one instance of CC5.2?

    In my experience, I have not been able to find a way to open more than one instance of CC5.2.  If I want to run an SOD user analysis and an SOD role analysis, for example, I have to run one and wait for the results to return before I can run the next analysis.  
    If I open a new instance of Internet Explorer and type in the url for CC5.2 while CC5.2 is already running in a separate instance, it overwrites whatever is running and reopens CC5.2 all over again.
    In CC4.0 I was able to open multiple SAP sessions and run multiple SOD reports.  I understand 5.2 is a web app, but it seems the code should be smart enough to allow me to open multiple IE instances to run multiple analyses. 
    Am I missing something?
    Thanks,
    Sandy

    Hi Sandy,
      What about option to run your analysis jobs on the background ?
      You can still be in your IE session, but schedule several analysis to run on the background. On completion of the jobs, you'll be able to check output results for each of them.
      Advantage of this is that it also doesn't depend on your link between your machine and CC server which could be an issue for the foreground jobs.
    Best regards,
    Laziz

  • Hacking application id equals() to allow more than one row per "primary key"

    I have a read only entity whose primary key is not the real primary key
    on the underlying table. The result is that I get more than one row per
    "primary key". This is what I want. However KODO will not allow me do
    it, because I am storing the collection in a HashSet() and the equals()
    method on the application id object ensures that this set contains no
    duplicates (as defined by the application id). At least thats how it
    seems to behave.
    So, I have hacked the equals() method to do this:
    public boolean equals (Object ob)
    if (this == ob)
    return true;
    // Doing this because we expect more than one row from
    // REF_CODES for the same domain/shortCode combination.
    // This is ok to do (I guess?) as long as we are only
    // doing selects using this class.
    return false;
    Will this hack have any side effects? Is there another option? Like
    using a list collection? Is so, which collections are supported?
    Thanks,
    Mike.

    The "primary key" I am using it already a compound key of two columns.
    The real key on the underlying table is a three column key. But the
    problem is that the table represents two different application level
    entities. I could deal with it when I was hand-writing SQL (I could do
    a distinct for example) but now I am relying on foreign key
    relationships since I moved to JDO. Not sure what to do. Best solution
    is to rework the table, but there is a lot of legacy code (that other
    teams use and maintain) relying on this table. I guess I'll use the
    weekend for inspiration ;-)
    Steve Kim wrote:
    This sounds like a dangerous operation. Even if this works now, I
    cannot promise future compatibility... and in fact may result in bad
    data (for example in caching both at the PM and PMF level) Is there no
    other field that you can reference as part of the primary key? Primary
    Keys can be multi columned (e.g. last_name, soc_sec_number)
    Mike Hogan wrote:
    I have a read only entity whose primary key is not the real primary
    key on the underlying table. The result is that I get more than one
    row per "primary key". This is what I want. However KODO will not
    allow me do it, because I am storing the collection in a HashSet() and
    the equals() method on the application id object ensures that this set
    contains no duplicates (as defined by the application id). At least
    thats how it seems to behave.
    So, I have hacked the equals() method to do this:
    public boolean equals (Object ob)
    if (this == ob)
    return true;
    // Doing this because we expect more than one row from
    // REF_CODES for the same domain/shortCode combination.
    // This is ok to do (I guess?) as long as we are only
    // doing selects using this class.
    return false;
    Will this hack have any side effects? Is there another option? Like
    using a list collection? Is so, which collections are supported?
    Thanks,
    Mike.

  • Can I launch more than one instance?

    Can I launch more than one instance of the same AIR
    application?

    Check out page 309 of the AIR Dev Guide "Only one instance of
    an AIR application is started. When an already running application
    is invoked again, AIR dispatches a new invoke event to the running
    instance. It is the responsibility of an AIR application to respond
    to an invoke event and take the appropriate action (such as opening
    a new document window)."
    It looks like we have to handle this InvokeEvent.INVOKE event
    and programatically create a new instance of the application.
    If anyone's done this already an example would be a big help
    as this will be a VERY common use case.

  • More than 1 SMP per site

    Can we have more than 1 SMP per site?suppose I have 1 primary site with 2 secondary site, is it possible to have more than 1 SMP for USMT per site?. One of customer have around 40 distribution points and they are expecting to have same DPs as SMP as well
    i.e. 40 SMPs....Any pointers will be appreciated. Thanks
    regards,

    To add-on to Jason, there has been a little change since R2 (at least according to the documentation):
    Prior to System Center 2012 R2 Configuration Manager, all site system roles at a secondary site must be located on the site server computer. The only exception is the distribution point. Secondary sites support installing distribution points on the site
    server computer and on remote computers.
    Beginning with System Center 2012 R2 Configuration Manager, the state migration point can also be installed on the site server computer or on a remote computer, and can be co-located with a distribution point.Reference:
    http://technet.microsoft.com/en-us/library/gg712282.aspx#Plan_Where_to_Install_Sites
    My Blog: http://www.petervanderwoude.nl/
    Follow me on twitter: pvanderwoude

  • Running Air in More than One Instance of an Application

    Is there a work around to allow more than one instances of an Air Application to run?
    Currently our client uses dual monitors  they will spin up two applications.  One is to Inquiry data the other is to enter data.  I know I can create another project and deploy it under another name but that seems clunky.
    We are using  AIR  with Flex/Blaze/FlexMdi.
    Any information would be greatly appreciated.
    Thanks
    Steve

    Hi,
    I'm not too sure if the workaround proposed below will work or not. But it seems worth a shot:
    Create a new window when you get the invoke event. Find your desired screen's bounds by going through the static array Screen.screens. Assign that bounds to your newly created window.

  • ISV embedding database with one instance per server limitation

    Hi All,
    As an ISV, it would be nice for Oracle to provide a better embedding solution than a silent install then having to script the creation of, or restore the database. Not because it's too complicated for an ISV to script, but purely for speed reasons. It's much faster to copy pre-loaded data files onto a machine than to create empty data files, load the data in, perform an analyze and any other scripts on the database. Dems just my thoughts.
    However, my real issue is regarding the 'one instance per server' install limitation. As an ISV, if I choose to embed Oracle XE in my application - how can I 'guarantee' that my product can be installed on any given server. Picture this:
    - We submit a proposal/ tender for a license to our software.
    - Client, in conjunction with their IT dept adds internal costs, identifying servers that will run on, responsibilities, project plans (the whole works) etc.
    - Client gets signoff from their management and pays for license.
    - Client goes to install our software using Oracle XE just to find that another ISV has their software with Oracle XE embedded installed on the server.
    - Client either has to find/ buy another server, or we lose the license. Either way, client is unhappy.
    Am I missing something here? Is anyone else anticipating this problem?
    Brad

    Hi Florin,
    Thanks for the response.. a good suggestion and our schema would be < 1GB so size would hopefully not be a problem. However, as soon as we plug into another appliation's Oracle XE implementation - we've potentially lost control of the database and it loses it's "embedded" nature. Probably not a huge problem if it's an application independant implementation of Oracle XE by an IT person, but if it's another ISVs embedded database - the dramas could start.
    We effectively put our user's database within the control of another application who may not have considered the possibility of our data residing there. eg. They could do a 'drop-all' and we lose our database. Or tune the database right down and our application suffers. Or the user uninstalls that application and it decides to automatically remove Oracle XE (after all, that ISV thought it was an embedded application, right?). Do you see the potential issues?
    Perhaps Oracle XE isn't as attractive for ISVs as first thought... I guess at the heart of the issue is the fact that Oracle XE isn't really an embedded database. It's just a database you can [silently] install with your application and then becomes a general db on the machine.

Maybe you are looking for

  • In need of a soundcard - windows xp x64 and 4gb

    Hello everybody! I?got?a?new?5. surround?system?and?an?Audigy?2?ZS?last week... I was wondering why the sound of the rear speakers was coming out of the front ones. Well after some hours i found out that there exists a bug if you have 4gb?of?ram?or?m

  • WBS Settlement Problem

    we are settling the WBS to asset under construction. while executing the transaction CJ88, system prompt the following error message. ================================================================ Field Cost Ctr is a required field for G/L account

  • Hi Vendor Receipt.

    Hi Gurus, My client wants post Vendor Receipts(rare/y), Where we can post this. sd/- Rajesh.

  • Color Management in Acrobat 9: Still Not Sure What It's Doing...  :o(

    I'm still having some trouble getting my head around what Acrobat 9 is (not) doing in terms of color management. Hopefully someone can either confirm that I'm not crazy, or show me what I'm doing wrong (or what simple thing I'm missing): Open a PDF t

  • Only charge with USB to PC

    The phone does not charge when using the wall or the car charger. It charges with USB plug to a PC. This happened after OS4 upgrade. Does anyone have the same issue? Ken