Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for Parallelism (0.18 sec)

  1. pkg/apis/batch/v1/defaults_test.go

    				t.Errorf(".spec.suspend does not match; -want,+got:\n%s", diff)
    			}
    			validateDefaultInt32(t, "Completions", actual.Spec.Completions, expected.Spec.Completions)
    			validateDefaultInt32(t, "Parallelism", actual.Spec.Parallelism, expected.Spec.Parallelism)
    			validateDefaultInt32(t, "BackoffLimit", actual.Spec.BackoffLimit, expected.Spec.BackoffLimit)
    
    			if diff := cmp.Diff(expected.Spec.PodFailurePolicy, actual.Spec.PodFailurePolicy); diff != "" {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  2. pkg/scheduler/apis/config/v1/defaults_test.go

    						SchedulerName: ptr.To("default-scheduler"),
    					},
    				},
    			},
    		},
    		{
    			name: "set non default parallelism",
    			config: &configv1.KubeSchedulerConfiguration{
    				Parallelism: ptr.To[int32](8),
    			},
    			expected: &configv1.KubeSchedulerConfiguration{
    				Parallelism: ptr.To[int32](8),
    				DebuggingConfiguration: componentbaseconfig.DebuggingConfiguration{
    					EnableProfiling:           &enable,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon May 06 15:03:04 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  3. pkg/registry/batch/job/storage/storage_test.go

    	}
    	return &jobStorage, server
    }
    
    func validNewJob() *batch.Job {
    	completions := int32(1)
    	parallelism := int32(1)
    	return &batch.Job{
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      "foo",
    			Namespace: "default",
    		},
    		Spec: batch.JobSpec{
    			Completions: &completions,
    			Parallelism: &parallelism,
    			Selector: &metav1.LabelSelector{
    				MatchLabels: map[string]string{"a": "b"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 15 14:34:53 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  4. hack/make-rules/test-e2e-node.sh

    # fail due to resource contention. 8 is a reasonable default for a
    # e2-standard-2 node.
    # Currently, parallelism only affects when REMOTE=true. For local test,
    # ginkgo default parallelism (cores - 1) is used.
    parallelism=${PARALLELISM:-8}
    artifacts="${ARTIFACTS:-"/tmp/_artifacts/$(date +%y%m%dT%H%M%S)"}"
    remote=${REMOTE:-"false"}
    remote_mode=${REMOTE_MODE:-"gce"}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 16 09:46:28 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  5. pkg/scheduler/apis/config/validation/validation_test.go

    		wantErrs field.ErrorList
    	}{
    		"good": {
    			config: validConfig,
    		},
    		"bad-parallelism-invalid-value": {
    			config: invalidParallelismValue,
    			wantErrs: field.ErrorList{
    				&field.Error{
    					Type:  field.ErrorTypeInvalid,
    					Field: "parallelism",
    				},
    			},
    		},
    		"bad-resource-name-not-set": {
    			config: resourceNameNotSet,
    			wantErrs: field.ErrorList{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  6. pkg/scheduler/apis/config/validation/validation.go

    	}
    
    	profilesPath := field.NewPath("profiles")
    	if cc.Parallelism <= 0 {
    		errs = append(errs, field.Invalid(field.NewPath("parallelism"), cc.Parallelism, "should be an integer value greater than zero"))
    	}
    
    	if len(cc.Profiles) == 0 {
    		errs = append(errs, field.Required(profilesPath, ""))
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 25 06:27:01 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  7. docs/en/docs/async.md

    This idea of **asynchronous** code described above is also sometimes called **"concurrency"**. It is different from **"parallelism"**.
    
    **Concurrency** and **parallelism** both relate to "different things happening more or less at the same time".
    
    But the details between *concurrency* and *parallelism* are quite different.
    
    To see the difference, imagine the following story about burgers:
    
    ### Concurrent Burgers
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 23K bytes
    - Viewed (0)
  8. cmd/kube-scheduler/app/options/options_test.go

    			},
    			expectedUsername: "config",
    			expectedConfig: kubeschedulerconfig.KubeSchedulerConfiguration{
    				TypeMeta: metav1.TypeMeta{
    					APIVersion: v1.SchemeGroupVersion.String(),
    				},
    				Parallelism:           16,
    				DelayCacheUntilActive: false,
    				DebuggingConfiguration: componentbaseconfig.DebuggingConfiguration{
    					EnableProfiling:           true,
    					EnableContentionProfiling: true,
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Sep 13 07:42:19 UTC 2023
    - 30.3K bytes
    - Viewed (0)
  9. pkg/scheduler/scheduler.go

    	return func(o *schedulerOptions) {
    		o.profiles = p
    		o.applyDefaultProfile = false
    	}
    }
    
    // WithParallelism sets the parallelism for all scheduler algorithms. Default is 16.
    func WithParallelism(threads int32) Option {
    	return func(o *schedulerOptions) {
    		o.parallelism = threads
    	}
    }
    
    // WithPercentageOfNodesToScore sets percentageOfNodesToScore for Scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:20:55 UTC 2024
    - 20.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tensorflow/transforms/host_runtime/tpu_variable_runtime_reformatting.cc

            devices) {
      int64_t num_replicas = replicate.getN();
      assert(new_inputs.size() == num_replicas);
    
      // As model parallelism is not yet supported, we assume that all ops are
      // placed in logical core 0.
      // TODO(b/148913020): Remove this constraint once model parallelism is
      // supported.
      assert(devices.find(tensorflow::GetDeviceAliasForLogicalCore(0))
                 ->getSecond()
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top