You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit ec8ce2e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: docs/machine-learning/administration/create-external-resource-pool.md
+1-3Lines changed: 1 addition & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -100,9 +100,7 @@ The process includes multiple steps:
100
100
101
101
Requests are assigned to the default group whenever the request can't be classified, or if there's any other classification failure.
102
102
103
-
> [!NOTE]
104
-
> SQL Machine Learning Services 2019 for Linux does not support the ability to set CPU affinity.
105
-
103
+
106
104
For more information, see [Resource Governor Workload Group](../../relational-databases/resource-governor/resource-governor-workload-group.md) and [CREATE WORKLOAD GROUP (Transact-SQL)](../../t-sql/statements/create-workload-group-transact-sql.md).
107
105
108
106
## Create a classification function for machine learning
Copy file name to clipboardExpand all lines: docs/machine-learning/administration/resource-governor.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,9 +36,6 @@ Optionally, you can create custom **external resource pools**, with associated w
36
36
37
37
2. Run [CREATE EXTERNAL RESOURCE POOL](https://docs.microsoft.com/sql/t-sql/statements/create-external-resource-pool-transact-sql) to create and configure the resource pool, followed by [ALTER RESOURCE GOVERNOR](https://docs.microsoft.com/sql/t-sql/statements/alter-resource-governor-transact-sql) to implement it.
38
38
39
-
> [!NOTE]
40
-
> SQL Machine Learning Services 2019 for Linux does not support the ability to set CPU affinity.
41
-
42
39
3. Create a workload group for granular allocations, for example between training and scoring.
43
40
44
41
4. Create a classifier to intercept calls for external processing.
Copy file name to clipboardExpand all lines: docs/relational-databases/system-dynamic-management-views/sys-dm-resource-governor-external-resource-pools.md
-3Lines changed: 0 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,9 +50,6 @@ Returns information about the current external resource pool state, the current
50
50
51
51
Requires `VIEW SERVER STATE` permission.
52
52
53
-
> [!NOTE]
54
-
> SQL Machine Learning Services 2019 for Linux does not support the ability to set CPU affinity.
Copy file name to clipboardExpand all lines: docs/t-sql/statements/alter-external-resource-pool-transact-sql.md
+38-6Lines changed: 38 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,9 +35,23 @@ For [!INCLUDE[rsql-productnamenew-md](../../includes/rsql-productnamenew-md.md)]
35
35
[Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md).
Is the name of an existing user-defined external resource pool or the default external resource pool that is created when [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] is installed.
65
79
"default" must be enclosed by quotation marks ("") or brackets ([]) when used with `ALTER EXTERNAL RESOURCE POOL` to avoid conflict with `DEFAULT`, which is a system reserved word.
Specifies the maximum average CPU bandwidth that all requests in the external resource pool can receive when there is CPU contention. *value* is an integer. The allowed range for *value* is from 1 through 100.
66
83
84
+
MAX_MEMORY_PERCENT =*value*
85
+
Specifies the total server memory that can be used by requests in this external resource pool. *value* is an integer. The allowed range for *value* is from 1 through 100.
86
+
87
+
MAX_PROCESSES =*value*
88
+
Specifies the maximum number of processes allowed for the external resource pool. Specify 0 to set an unlimited threshold for the pool, which is thereafter bound only by computer resources.
89
+
::: moniker-end
67
90
MAX_CPU_PERCENT =*value*
68
91
Specifies the maximum average CPU bandwidth that all requests in the external resource pool can receive when there is CPU contention. *value* is an integer. The allowed range for *value* is from 1 through 100.
69
92
@@ -92,21 +115,30 @@ Requires `CONTROL SERVER` permission.
92
115
## Examples
93
116
94
117
The following statement changes an external pool, restricting the CPU usage to 50 percent and the maximum memory to 25 percent of the available memory on the computer.
Copy file name to clipboardExpand all lines: docs/t-sql/statements/create-external-resource-pool-transact-sql.md
+42-7Lines changed: 42 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,9 +38,24 @@ For [!INCLUDE[rsql-productnamenew-md](../../includes/rsql-productnamenew-md.md)]
38
38
::: moniker-end
39
39
40
40
[Transact-SQL Syntax Conventions](../../t-sql/language-elements/transact-sql-syntax-conventions-transact-sql.md).
Is the user-defined name for the external resource pool. *pool_name* is alphanumeric and can be up to 128 characters. This argument must be unique within an instance of [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] and must fulfill the rules for [identifiers](../../relational-databases/databases/database-identifiers.md).
The maximum average CPU bandwidth for all requests in the external resource pool can receive when there's CPU contention. *value* is an integer. The allowed range for *value* is from 1 through 100.
88
+
89
+
When you use AFFINITY NUMANODE = **(\<NUMA_node_range_spec> **)**, the external resource pool is affinitized to the [!INCLUDE[ssNoVersion](../../includes/ssnoversion-md.md)] physical CPUs that correspond to the given NUMA node or range of nodes.
90
+
91
+
MAX_MEMORY_PERCENT =*value*
92
+
Specifies the total server memory that can be used by requests in this external resource pool. *value* is an integer. The allowed range for *value* is from 1 through 100.
93
+
94
+
MAX_PROCESSES =*value*
95
+
The maximum number of processes allowed for the external resource pool. 0 = unlimited threshold for the pool, which is thereafter bound only by computer resources.
96
+
::: moniker-end
73
97
74
98
MAX_CPU_PERCENT =*value*
75
99
The maximum average CPU bandwidth for all requests in the external resource pool can receive when there's CPU contention. *value* is an integer. The allowed range for *value* is from 1 through 100.
@@ -102,7 +126,18 @@ Requires `CONTROL SERVER` permission.
102
126
## Examples
103
127
104
128
The external pool has restricted CPU usage to 75 percent. The maximum memory is 30 percent of the available memory on the computer.
0 commit comments