Solaris 10 zone config for one application

I have a Solaris 10 x86 server with 48GB of memory and 8 CPUs (although I believe hyperthreading is turned on because prsinfo shows 16 CPUs). The server is dedicated to one big application which spawns many processes/threads. Performance is extremely important for this application so I need to give it all of the resources possible.
I tried just allowing the application to run in the global zone because there's nothing else it will interfere with (aside from the OS) but I couldn't get it to utilize all of the CPUs this server has. My guess is the global zone is only designed for running the OS and playing traffic cop for the other zones, so it's not suited for running applications. Is that correct?
So my question is, assuming I do need to setup a dedicated zone for this monster application, how do I configure it to dedicate all CPUs and all memory (or as close to all of it as I can get)?
Also, is there some default limit on how much CPU % a process can have? Because I have tried getting one process to utilize 100% of a CPU and can't get anywhere near that... unless prstat doesn't display per CPU utilization information.
Any help would be appreciated.

Kupacmac wrote:
I have a Solaris 10 x86 server with 48GB of memory and 8 CPUs (although I believe hyperthreading is turned on because prsinfo shows 16 CPUs). The server is dedicated to one big application which spawns many processes/threads. Performance is extremely important for this application so I need to give it all of the resources possible.
I tried just allowing the application to run in the global zone because there's nothing else it will interfere with (aside from the OS) but I couldn't get it to utilize all of the CPUs this server has. My guess is the global zone is only designed for running the OS and playing traffic cop for the other zones, so it's not suited for running applications. Is that correct?No. Unless you have dedicated CPUs to zones (so they are not available to the global zone), or unless you're running under a project which restricts CPU usage, the global zone has access to all virtual CPUs.
Can you see your process spawning threads? How much CPU is it able to use?
Also, is there some default limit on how much CPU % a process can have? Because I have tried getting one process to utilize 100% of a CPU and can't get anywhere near that... unless prstat doesn't display per CPU utilization information.One thread can only use one CPU. So you'd either need to run 16 single threaded processes, or your process would need to spawn 16 threads that were CPU-heavy. No, there's no default limit on a process.
Darren

Similar Messages

  • One server certificate for one application? not for whole WebServer

    Hello,
    I am using SSL for the server- and clieint authtication. It works fine. But this authtication works for all applcations in this Webserver. How can I make it only for one application available? or one server certifiate for a certain application?
    Example:
    Config:
    <Connector port="8443" maxThreads="150" minSpareThreads="25" maxSpareThreads="75" enableLookups="false" disableUploadTimeout="true" acceptCount="100" debug="0" scheme="https" secure="true" clientAuth="true" sslProtocol="SSL" keystoreFile="C:\temp\keystore\server\server.keystore" keystorePass="changeit" truststoreFile="C:\temp\keystore\server\trust.keystore" truststorePass="changeit"/>
    and all application used same server certificate:
    like: https://localhost:8443/myapp1
    https://localhost:8443/myapp2
    used same server certificate.
    How can I make one certificate for one application?
    thanks

    and I am using Tomcat 5.0 standalone

  • Can I run 2 versions of firefox? I need to run older version for one application

    My operating system is mac 10.6.8 and I need to be able to run firefox 3.6.19 for one application & the latest version of firefox for other applications. Can I have 2 versions of firefox on my computer and choose which one to run depending on my application?

    You can install the portable Firefox 3.6.19 version to access websites that do not work with Firefox 5+.
    *http://www.freesmug.org/portableapps:firefox#toc1

  • Open two GUI( JFrame) simultaneously for one application

    Can we open two GUI( JFrame) simultaneously for one application at tha same time.if yes why ?and if no why?

    OK, its really simple, basically, you need a desktop frame to stor all the other frames and then you just pop them in, from a new class each time.
    Here's the code from the demo I learnt it from:
    (The demo itself)
    import javax.swing.JInternalFrame;
    import javax.swing.JDesktopPane;
    import javax.swing.JMenu;
    import javax.swing.JMenuItem;
    import javax.swing.JMenuBar;
    import javax.swing.JFrame;
    import javax.swing.KeyStroke;
    import java.awt.event.*;
    import java.awt.*;
    * InternalFrameDemo.java requires:
    * MyInternalFrame.java
    public class InternalFrameDemo extends JFrame
    implements ActionListener {
    JDesktopPane desktop;
    public InternalFrameDemo() {
    super("InternalFrameDemo");
    //Make the big window be indented 50 pixels from each edge
    //of the screen.
    int inset = 50;
    Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
    setBounds(inset, inset,
    screenSize.width - inset*2,
    screenSize.height - inset*2);
    //Set up the GUI.
    desktop = new JDesktopPane(); //a specialized layered pane
    createFrame(); //create first "window"
    setContentPane(desktop);
    setJMenuBar(createMenuBar());
    //Make dragging a little faster but perhaps uglier.
    desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    protected JMenuBar createMenuBar() {
    JMenuBar menuBar = new JMenuBar();
    //Set up the lone menu.
    JMenu menu = new JMenu("File");
    menu.setMnemonic(KeyEvent.VK_D);
    menuBar.add(menu);
    //Set up the first menu item.
    JMenuItem menuItem = new JMenuItem("New");
    menuItem.setMnemonic(KeyEvent.VK_N);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_N, ActionEvent.ALT_MASK));
    menuItem.setActionCommand("New");
    menuItem.addActionListener(this);
    menu.add(menuItem);
    //Set up the second menu item.
    menuItem = new JMenuItem("Quit");
    menuItem.setMnemonic(KeyEvent.VK_Q);
    menuItem.setAccelerator(KeyStroke.getKeyStroke(
    KeyEvent.VK_Q, ActionEvent.ALT_MASK));
    menuItem.setActionCommand("Quit");
    menuItem.addActionListener(this);
    menu.add(menuItem);
    return menuBar;
    //React to menu selections.
    public void actionPerformed(ActionEvent e) {
    if ("New".equals(e.getActionCommand())) { //new
    createFrame();
    } else { //quit
    quit();
    //Create a new internal frame.
    protected void createFrame() {
    MyInternalFrame frame = new MyInternalFrame();
    frame.setVisible(true); //necessary as of 1.3
    desktop.add(frame);
    try {
    frame.setSelected(true);
    } catch (java.beans.PropertyVetoException e) {}
    //Quit the application.
    protected void quit() {
    System.exit(0);
    * Create the GUI and show it. For thread safety,
    * this method should be invoked from the
    * event-dispatching thread.
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    InternalFrameDemo frame = new InternalFrameDemo();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    //Display the window.
    frame.setVisible(true);
    public static void main(String[] args) {
    //Schedule a job for the event-dispatching thread:
    //creating and showing this application's GUI.
    javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    Myinternalframe.java:
    import javax.swing.JInternalFrame;
    import java.awt.event.*;
    import java.awt.*;
    public class MyInternalFrame extends JInternalFrame {
    static int openFrameCount = 0;
    static final int xOffset = 30, yOffset = 30;
    public MyInternalFrame() {
    super("Document #" + (++openFrameCount),
    true, //resizable
    true, //closable
    true, //maximizable
    true);//iconifiable
    //...Create the GUI and put it in the window...
    //...Then set the window size or call pack...
    setSize(300,300);
    //Set the window's location.
    setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
    You should be able to tell from that

  • Add file config for hole application?

    Hi everyone,
    Is there any one worked with build file config for hole fusion adf application? It is similar with web.config in .NET ASP web site. I think in jdeveloper, we can use web.xml for add some parameter but don't know how to read this parameter?
    Any help is appreciate!
    Thank.

    User, please tell us your jdeveloper version!
    In general you can read context or innit parameters from web.xml.
    You get to them via the servlet context
    String databaseHost =getServletContext().getInitParameter("database.host");
    And to get to the servlet context use
    FacesContext ctx = FacesContext.getCurrentInstance(); ServletContext servletContext = (ServletContext) ctx.getExternalContext().getContext();
    Timo

  • WRT110: I want to create an access rule for one client for one application during one time period

    I have a problem with one of the clients on my LAN which is running uTorrent to detriment of everyone else. It saturates the pipe. I have been unable to prod this user into bothering to tweak their settings to throttle bandwidth back and so have resorted to an access rule on the router which kicks that MAC address off during a particular time period during the day. But as irritated as I am about this slacker sense of outrageous entitlement, kicking them off entirely seems a tad heavy handed even for me.
    So, In the router I can create a rule per MAC address and specify time. But is it possible to limit this to denying uTorrent ONLY? And if so what port or port ranges would I use.
    Alternatively I already use a QoS setting for one of my VoIP TA's. Would I gain anything by degrading the application indirectly by creating a QoS = LOW for that port range? Again, I don't really care about any other application, just uTorrent and just that client. How much degradation is there really in setting QoS to LOW?

    Well it wont make much difference, when you enable QOS service on your router. Yes it is possible to Deny uTorrent application from your Router. When you are Under "Application and Gaming" Tab, Under "Blocked Application" you will find "Application Name" , "Port Range" and "Protocol" so you need to input under Application Name "uTorrent" and under port range you need to input the port number which uTorrent application use and then under protocol select "Both" and click on ADD. Then again in Application you will find uTorrent , select and click on (>>) right arrow so it will block that application on your Router. By doing this it will block uTorrent from your Router.

  • Multiple themes for one application

    Hi,
            How to apply multiple themes dynamically for singel application. Is there any sample available.
    Regards,
    Jayagopal.

    Hi,
    I work for big bank sector corp - Citigroup.,i am using themes to load themes dynamically using style manager class.i wrote a application which have 3 themes as a combo box items. when theme selected the look and feel of the same application's UI screen has to change. for the loading i used below mxml application. please advise me as need to submit this task today to implement all our project.it will be very gr8 if u can help me.
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application
    xmlns:fx="http://ns.adobe.com/mxml/2009"
    xmlns:s="
    library://ns.adobe.com/flex/spark"
    xmlns:mx="
    library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600">
    <fx:Script>
    <![CDATA[
    import mx.controls.Alert;
    import mx.styles.StyleManager;
    import mx.events.StyleEvent;
    [Bindable] private var themes:Array = [ "AeonGraphical","Spark","Halo" ];
    private function initApp():void {
    //Initialize the ComboBox to the first theme in the themes Array.
    themesCmbBox.selectedIndex = themes.indexOf(0);
    private function thmsCmbChangeHandler(themeName:String):void {
    themeName= themesCmbBox.selectedLabel;
    if (themeName!=null && themeName == "AeonGraphical") {
    styleManager.loadStyleDeclarations("assets/AeonGraphical/AeonGraphical .swf");
    if (themeName!=null && themeName == "Spark") {
    styleManager.unloadStyleDeclarations("assets/AeonGraphical/AeonGraphic al.swf");
    styleManager.loadStyleDeclarations("assets/Spark/spark.swf");
    if (themeName!=null && themeName == "Halo") {
    styleManager.unloadStyleDeclarations("assets/Spark/spark.swf");
    styleManager.loadStyleDeclarations("assets/Halo/halo.swf");
    private function registrationComplete():void {
    Alert.show('Thank you for registering!');
    private function clickClear(event:KeyboardEvent=null):void {
    if(event==null || event.keyCode == 13 ) {
    person.text = "" ;
    addr.text = "" ;
    city.text = "";
    state.text = "" ;
    zip.text = "" ;
    ]]>
    </fx:Script>
    <mx:Form id="Themes">
    <mx:FormItem>
    <mx:Label text="{'Themes Demo in Flash 4'}" fontSize="35"/>
    </mx:FormItem>
    <mx:FormItem label="Themes" >
    <mx:ComboBox id="themesCmbBox" dataProvider="{themes}" change="thmsCmbChangeHandler(themesCmbBox.selectedLabel)" />
    </mx:FormItem>
    <mx:FormItem label="Person Name">
    <mx:TextInput id="person" />
    </mx:FormItem>
    <mx:FormItem label="Street Address">
    <mx:TextInput id="addr"/>
    </mx:FormItem>
    <mx:FormItem label="City">
    <mx:TextInput id="city"/>
    </mx:FormItem>
    <mx:FormItem label="State">
    <mx:TextInput id="state" />
    </mx:FormItem>
    <mx:FormItem label="ZIP Code">
    <mx:TextInput id="zip" />
    </mx:FormItem>
    </mx:Form>
    <mx:HBox>
    <mx:Button id="sub" label="{'Submit'}" y="100" click="registrationComplete()" />
    <mx:Button id="reset" label="{'Reset'}" buttonDown="clickClear()" keyDown="clickClear(event)" />
    </mx:HBox>
    </s:Application>
    and i given the compiler option:
    -theme+=${flexlib}/themes/Halo/halo.css,${flexlib}/themes/Spark/spark.css,${flexlib}/theme s/AeonGraphical/AeonGraphical.css
      or -theme+=assets/Halo/halo.css,assets/Spark/spark.css,assets/AeonGraphical/AeonGraphical.cs s
    i tried with locally project assets path, and framework path nothing work out. and added these themes in the flex-config.xml file also.
    And i tried to run your MyStyle app same problem. Please advise me ASAP.
    Advance Thanks,
    Usha
    Optional Information:
    Computer OS: Windows XP
    Programming Language: mxml/as3
    Compiler: flash 4.1.0

  • Development menu disappear for one application only

    Hello,
    For one of my application, when I run it from application builder, the apex development standard menu at bottom of each screen (where we have Modify app, Modify current page, Create, Session, Debug, etc.) does not appear. It was there few weeks ago...
    For all others applications I have it.
    I don't remember what I did to get this situation. Any idea if exist a parameter to hide it?
    thank you
    Jean

    Check your application's "Availability" attribute under application definition
    See http://i13.tinypic.com/4cc1c8i.jpg
    The "Available with Edit links" is what makes the Developer toolbar appear at the bottom of the page when you run it via the Builder.

  • Can i have 2 login for one application

    Please I need help am trying to design a sch portal where lecturers and students get different login and view different information on one application.
    Thank you
    Mario

    You can explore the use of Authorization Scheme, enabling tabs, regions, pages or even items based on authorization defined for each scheme:
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21674/sec_authorization.htm#BABEDFGB

  • Are Solaris Zones approved for SAP production environments?

    All,
    I am trying to find an official document from SAP that confirms that Solaris Zones are approved for use in SAP NW production environments. I checked the product availability matrix but it does not address Containers or Zones.
    Thanks,
    Guenther

    They don't state it explicitly because you can use it. I comes with the operating system and if they would deny that, there would a be a note stating that explicitly.
    On top of that, SAP would not create notes how to install and configure a zone if it wouldn't be supported
    We run many instances under zones (production, test, sandbox) and make use of ZFS heavily and it works like a charm.
    Markus
    root@consbig / >zoneadm list -vi
    ID NAME             STATUS         PATH                         
       0 global           running        /                            
       4 crmtest          running        /zone/crmtest                
       5 crmqual          running        /zone/crmqual                
       6 srmtest          running        /zone/srmtest                
       7 solmgrt          running        /zone/solmgrt
       8 epjava           running        /zone/epjava                 
    124 tdmshost         running        /zone/tdmshost               
    128 nwdi_ext_1       running        /zone/nwdi_ext_1             
    148 icht             running        /zone/icht                   
    204 scheduler        running        /zone/scheduler              
    217 ichp             running        /zone/ichp                   
    220 appl2mp1         running        /zone/appl2mp1               
    221 solmgrt          running        /zone/solmgrt                
    236 output           running        /zone/output                 
    252 bicopy           running        /zone/bicopy                 
    267 kerberos         running        /zone/kerberos               
    289 spnego           running        /zone/spnego                
    root@consbig / >zpool iostat
                   capacity     operations    bandwidth
    pool         used  avail   read  write   read  write
    dbdata      4,73T  64,1G     68      6  8,34M   430K
    dblog       34,6G  15,2G      0     16  62,1K   123K
    usrsap       118G  80,9G      2     26   188K   157K
    zone        54,7G  44,8G      0     31  56,1K   135K

  • Why I had been charged twice for one application

    Why I had been charged twice for one application

    No one here has any idea.
    You need to contact iTunes customer support.

  • Solaris 10 zone config for JES

    Setup a zone to install JES - Web servers, but when I launch the installer I get the following:
    WARNING: Unsupported non-global zone
    EntSysResources:zoneCheckPanel-Gui-LocalZoneSupported
    Something in the zone setup is incorrect, but not sure what.
    Anyone else out running JES in Solaris 10 zones?
    Thanks!
    Steve
    [email protected]

    From docs.sun.com -
    The following Java ES and zones scenarios are supported in this release of Java ES:
    * Installing Java ES in a non-global zone that uses the whole root file system (Using the default sparse root file system is not supported.)
    * Installing Java ES in the global zone with no non-global zones
    Zone can be 2 type - sparse root and whole root . sparse root model has following folders inherited - /lib, /platform, /sbin and /usr.
    If a non-global zone doesn't have any inherit-pkg-dir resources, such a zone is said to be a whole root one
    If you want to create a whole root zone but default shared file systems resources have been added by using inherit-pkg-dir, you must remove these default inherit-pkg-dir resources using zonecfg before you install the zone:
    zonecfg:my-zone> remove inherit-pkg-dir dir=/lib
    zonecfg:my-zone> remove inherit-pkg-dir dir=/platform
    zonecfg:my-zone> remove inherit-pkg-dir dir=/sbin
    zonecfg:my-zone> remove inherit-pkg-dir dir=/usr

  • Solaris vs Linux For Multithreaded Application

    Hi all,
    I am having a Multithreaded Java application which is used to monitor devices in a network (NMS). After collecting the data from the devices, this will update the data in the database. (Usualy there will be lot of device around 25000) . There will be lot of database updation. I am planning to run this application in a server.
    But now I am confused in selecting which platform (which os) I have to use. There are two options for me. Either to use Linux or Solaris.
    Can anyone help me in selecting the platform. Since my application is multithreaded , please tell me which of these OS will give the best performance
    Thanks in advance

    There's no way to tell which one performs better without testing it. Both have reasonably mature and stable multitasking and multi threading. Why don't you write the application and try it on both platforms?

  • Running Snow Leopard but need Tiger for ONE application... Possible?

    Hello all... I currently have an intel Macbook Pro which is about 3.5 yrs old. My OS is Snow Leopard 10.6.4 and I love it.. however, I also need to use an old version of Avid Xpress Pro which recommends running 10.4.6-10.4.8 (Tiger). This is the only application that I have that requires this OS... Unfortunately, I need the app for now.
    My question is this:
    Can I partition (or by any other means) a portion of my Mac for Tiger 10.4.8 and the rest for Snow Leopard?
    If so how do I go about it?
    Many thanks!!

    Having the original disks does not matter... the question is, what did your Mac _ship with_? If it shipped with Tiger, then you can certainly partition and install Tiger on a second partition. Of course, if it were me, I would probably just buy an external drive and install Tiger on that, but that's just personal preference. If you choose to partition, just make sure you've got a good set of backups. You should be able to do it without erasing, but should not gamble your data on it going off without a hitch.
    OTOH, if your Mac shipped with something other than Tiger, you simply cannot run Tiger on it. See:
    http://support.apple.com/kb/HT2186

  • Solaris 8 config for DSL

    I want to reconfigure my standalone SunBlade100 for DSL service. The OS is Solaris 8 10/01, and is currently configured for dial-up access to an ISP.
    I've edited the etc/hosts, etc/resolve.conf, and etc/nsswitch.conf files, and I created an etc/defaultrouter file containing the gateway IP address.
    Sun PPPD 4.0 is installed, and includes PPPoE.
    My question is what else do I need to do in order to complete the configuration?
    Are there any good references for Solaris DSL configuration?
    Thanks in advance?

    Hello,
    I supose that its an errata but its /etc/resolv.conf and not /etc/resolve.conf.
    Your access internet via a router. I don�t know about DSL but if it�s a standar router you shoudn�t have to configure pppd, just a normal network access with the routing and the naming service properly configured.
    If you edit /etc/defaultrouter, the changes will take effect on the next reboot, so maybe you�ll have to add a route manually if you cannot shutdown the machine:
    route add default your_router_ip
    This way you should ping your router, if the routing is properly configured your dns server too (specifying it�s IP) and finally if the naming service is well configured, any Full Qualyfied Domainame on internet.
    Try this and post the results. Bye,
    Joseba M. Iturbe
    P.D: Read another similar post on this disscussion forum.

Maybe you are looking for

  • How do you sync iTouch to iTunes if you don't own or have access to a computer?

    For some time now, my iTouch 4 iOS 4.3.2 (or whatever the latest iOS Apple still provided for this particular device), 59.1 GB, with wi-fi, no cellular, has displayed a screen message indicating there is no room to complete download of song(s) or to

  • How to halt http progressive download in FLVPlayback?

    Hi all you Flash video experts, I'm building a CD-ROM presentation with a lot of videos, divided in 10-12 sections. I want to use the same FLVPlayback component to show all of my videos. (with differents active VideoPlayers) To initialise the thing,

  • OPEN CALL: Forge Driver Project

    Hi, don't know if you did know but there is a driver project on forge which hosts a lot of drivers for the older imaging environements. It was started by me but with the implementation of the newer kernels it got put on the backburner. As Forge will

  • Statement Generation Program- Incompatability

    Hi, We are trying to find out if the 'Statement Generation Program' can be run simultaneously for more than a customer within a operating unit. Are we expecting to see any issues in terms of the performance or the output if we have the program run si

  • Is it possible to scale Illustrator files inside After Effects and retain the vector quality?

    I imported an Illustrator file into my After Effects project and scaled the ai file to 200%, but noticed that is pixelated.  Is there a way to keep the ai file vector based inside After Effects. Note:  I attempted to use the "Create Shapes from Vecto