HomeSort by relevance Sort by last modified time
    Searched refs:caps (Results 1 - 14 of 14) sorted by null

  /test/stcnv/usr/src/suites/os/cpu-caps/src/
Makefile 29 include $(TET_SUITE_ROOT)/cpu-caps/Targetdirs
  /test/stcnv/usr/src/suites/os/cpu-caps/tests/
Makefile 29 include $(TET_SUITE_ROOT)/cpu-caps/Targetdirs
Makefile.src 29 include $(TET_SUITE_ROOT)/cpu-caps/Targetdirs
87 TARGET_DEPENDENCIES = $(TET_SUITE_ROOT)/cpu-caps/src
  /test/stcnv/usr/src/suites/os/cpu-caps/
README 32 This suite verifies the functionality of the CPU caps resource control
33 technology. CPU caps enable the administrator to restrict the amount of CPU
35 zonecfg(1M), or via the project(4) file. CPU caps will work for all scheduling
37 class are not subject to CPU caps. CPU caps may be used in conjunction with
38 the cpu-shares resource control, but caps will take precedence. Also, zone caps
77 As root user perform the following to install the tetlite and cpu-caps test
81 # pkgadd -d <package location> SUNWstc-os-cpu-caps
100 $ export TET_SUITE_ROOT=/opt/SUNWstc-os-cpu-caps
    [all...]
Makefile 29 include $(TET_SUITE_ROOT)/cpu-caps/Targetdirs
Targetdirs 29 SUITEDIR = cpu-caps
  /test/stcnv/usr/src/suites/os/cpu-caps/tests/global_zn/
tp_global_zn_003.pl 53 # Set a series of caps, verify the cap is enforced.
67 our @caps;
70 # CPU caps should cap CPU consumption within just a few seconds.
105 # Grab a copy of the caps list since it will be manipulated due to
107 my @capv = @caps;
239 # Sleep just a few seconds to let the caps work their
295 cti::report("Can't clear caps.");
306 # Clear the caps to set a new one.
311 # Unable to remove the caps that had been set.
312 cti::report("Can't clear caps");
    [all...]
tp_global_zn_001.pl 32 # DESCRIPTION: The kstat data available for CPU caps set for both projects
48 our @caps;
64 # There may be existing caps for some reason, so let's clear them out.
68 cti::report("Unable to clear caps");
78 # We'll verify that the caps are functioning for each class (except RT)
79 # and then make sure the value field in the caps is the cap value
80 # expressed in nanoseconds. We'll check both project and zone caps in
97 foreach my $cap (@caps) {
133 # Clear out the caps
137 # Can't remove caps that had been set
    [all...]
tp_global_zn_004.pl 52 our @caps;
55 # CPU caps should set cap CPU consumption within just a few seconds.
68 # There may be existing caps for some reason, so let's clear them out.
72 cti::report("Can't clear caps");
98 foreach my $cap (@caps) {
115 # Sleep just a few seconds to let the caps work.
138 cti::report("Unable to clear caps");
152 # Clear out the caps
156 # Can't remove priv caps.
157 cti::report("Can't clear priv caps");
    [all...]
  /test/stcnv/usr/src/suites/os/cpu-caps/tests/non_global_zn/
tp_non_global_zn_002.pl 37 # STRATEGY: Execute a process within a local zone. Then set zone caps and
38 # project caps, verifing the CPU consumption is in accordance
56 # CPU caps should cap CPU consumption within just a few seconds.
59 # Due to the length of the test, just use a small selection of caps
61 my @caps = (10, 75, 90, 100);
83 # There may be existing caps for some reason, so let's clear them out.
92 # We'll verify that the caps are functioning for each class
93 # (except RT) and then make sure the value field in the caps is
95 # and zone caps in both the global and a local zone.
106 foreach my $cap (@caps) {
    [all...]
tp_non_global_zn_001.pl 55 our @caps;
61 # CPU caps should cap CPU consumption within just a few seconds.
84 # There may be existing caps for some reason, so let's clear them out.
88 cti::report("Can't clear caps");
94 # Verify that the caps are functioning in each class except RT, as it is
107 foreach my $cap (@caps) {
141 cti::report("Unable to clear caps");
151 # Clear out the caps
156 cti::report("Can't clear priv caps");
163 cti::report("Zone caps effectively limited CPU consumption")
    [all...]
tp_non_global_zn_003.pl 32 # DESCRIPTION: The kstat data available for CPU caps set on a local zone
46 our @caps;
64 # There may be existing caps for some reason, so let's clear them out.
68 cti::report("Unable to clear caps");
74 # We'll verify that the caps are functioning for each class
75 # (except RT) and then make sure the value field in the caps is
77 # and zone caps in both the global and a local zone.
91 foreach my $cap (@caps) {
109 # 'kstat -m caps' output.
119 # Clear out the caps
    [all...]
  /test/stcnv/usr/src/suites/os/cpu-caps/src/lib/
Makefile 29 include $(TET_SUITE_ROOT)/cpu-caps/Targetdirs
libcaps.pl 37 our $EPATH = "$ENV{TET_SUITE_ROOT}/cpu-caps/bin";
49 # List of caps to use
50 our @caps = (1, 5, 10, 25, 50, 75, 100);
341 # This function clears out CPU caps for zones and/or projects.
1205 # This function parses output from kstat -m caps and ensures
1207 # the value reported by 'kstat -m caps'. It will return a 0 upon
1229 # Walk the kstats and match the caps labeled "cpucaps" and $search.
1236 foreach my $i (keys %{$k->{caps}}) {
1241 foreach my $n (keys %{$k->{caps}{$i}}) {
1244 my $u = $k->{caps}{$i}{$n}{"usage"}
    [all...]

Completed in 120 milliseconds