Professional Web Applications Themes

solaris 9 resource manager software question - Sun Solaris

I have some questions about Solaris 9 resource manager. 1. I have the following pool configuration create pset netscape_pset (uint pset.max = 1) create pset default_pset (uint pset.min = 1; uint pset.max = 2) create pool default_pool (string pool.scheduler="FSS"; boolean pool.default = tr ue) create pool netscape_pool (string pool.scheduler="IA") associate pool default_pool (pset default_pset) associate pool netscape_pool (pset netscape_pset) What I understand is all the porjects bind to default_pool can use upto two CPUs if it's busy and nobody using netscape project (which binds to netscape_pool). But I did the test, the result is: no matter how busy project default ...

  1. #1

    Default solaris 9 resource manager software question

    I have some questions about Solaris 9 resource manager.

    1. I have the following pool configuration
    create pset netscape_pset (uint pset.max = 1)
    create pset default_pset (uint pset.min = 1; uint pset.max = 2)
    create pool default_pool (string pool.scheduler="FSS"; boolean
    pool.default = tr
    ue)
    create pool netscape_pool (string pool.scheduler="IA")
    associate pool default_pool (pset default_pset)
    associate pool netscape_pool (pset netscape_pset)

    What I understand is all the porjects bind to default_pool can use
    upto two CPUs if it's busy and nobody using netscape project (which
    binds to netscape_pool). But I did the test, the result is: no matter
    how busy
    project default is, and nobody using project netscape, project default
    only use ONE cpu. In this case, what's the use of uint pset.max?

    2. If I run database and batch on one server, and I assign user
    "database" to
    project database, user "batch" to project batch. But my batch
    script will
    call user "database".
    so when I run batch under "newtask -v -p batch", every child
    process, no
    mater it runs as user "batch" or user "databse", will run under
    project
    "batch". Is it right? (Didn't get a chance to test it)

    Thanks.
    Tom Guest

  2. #2

    Default Re: solaris 9 resource manager software question

    In article <2a413b1f.0307161310.691bd4e0posting.google.com >, Tom wrote:
    >I have some questions about Solaris 9 resource manager.
    >
    >1. I have the following pool configuration
    >create pset netscape_pset (uint pset.max = 1)
    >create pset default_pset (uint pset.min = 1; uint pset.max = 2)
    >create pool default_pool (string pool.scheduler="FSS"; boolean
    >pool.default = tr
    >ue)
    >create pool netscape_pool (string pool.scheduler="IA")
    >associate pool default_pool (pset default_pset)
    >associate pool netscape_pool (pset netscape_pset)
    >
    >What I understand is all the porjects bind to default_pool can use
    >upto two CPUs if it's busy and nobody using netscape project (which
    >binds to netscape_pool). But I did the test, the result is: no matter
    >how busy
    >project default is, and nobody using project netscape, project default
    >only use ONE cpu. In this case, what's the use of uint pset.max?
    Your testing is correct -- the understanding should be that pools are
    allocated based on their configuration at pool reconfiguration time.
    They are not scaled based upon workload today.

    The point of pset.max (in combination with pool.importance) is to
    determine allocation of resources at pool reconfiguration time.

    When is pool reconfiguration time? Currently it is when you run
    pooladm -c, perform DR, or reboot your system. Those are the
    times when the number of CPUs in any pool could change.

    If you're looking for scaling in relation to workload along with
    proportional guarantees, you should be looking to the Fair Share
    Scheduler (FSS).
    >2. If I run database and batch on one server, and I assign user
    >"database" to
    > project database, user "batch" to project batch. But my batch
    >script will
    > call user "database".
    > so when I run batch under "newtask -v -p batch", every child
    >process, no
    > mater it runs as user "batch" or user "databse", will run under
    >project
    > "batch". Is it right? (Didn't get a chance to test it)
    As long as your project(4) configuration allows both users "batch"
    and "database" access to project "batch", that's correct. Project
    credentials are inherited across fork(2).

    --
    Liane Praza (lianepeng.sun.com) -- Solaris Kernel Development
    Liane Praza Guest

Similar Threads

  1. Replies: 5
    Last Post: December 30th, 11:30 PM
  2. solaris 10 zone / container question (or Solaris 9)
    By anna in forum Linux / Unix Administration
    Replies: 6
    Last Post: June 23rd, 04:24 PM
  3. The best content/article manager php software
    By Gemini in forum PHP Development
    Replies: 7
    Last Post: August 20th, 07:54 PM
  4. Solaris 8 media kit Bonus software
    By Eric in forum Sun Solaris
    Replies: 0
    Last Post: July 31st, 06:34 PM
  5. Antivirus software for Solaris 9
    By Angela Spiro in forum Sun Solaris
    Replies: 1
    Last Post: July 12th, 05:44 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139