Skip to content

Commit 4668072

Browse files
authored
Merge pull request #18215 from tejasaks/master
Update sql-server-linux-performance-best-practices.md
2 parents 4b0cb01 + b275f34 commit 4668072

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

docs/linux/sql-server-linux-performance-best-practices.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ The following table provides recommendations for disk settings:
190190

191191
**Description:**
192192

193-
- **vm.swappiness**: This parameter controls relative weight given to swapping out runtime memory by limiting the kernel to swap out SQL Server process memory pages.
193+
- **vm.swappiness**: This parameter controls relative weight given to swapping out runtime process memory as compared to filesystem cache. The default value for this parameter is 60, which indicates swapping runtime process memory pages as compared to removing filesystem cache pages at ratio of 60:140. Setting the value 1 indicates strong preference for keeping runtime process memory in physical memory at expense of filesystem cache. Since SQL Server uses buffer pool as a data page cache and strongly prefers to write through to physical hardware bypassing filesystem cache for reliable recovery, aggressive swappiness configuration can be beneficial for high performing and dedicated SQL Server.
194+
You can find additional information at [Documentation for /proc/sys/vm/ - #swappiness](https://www.kernel.org/doc/html/latest/admin-guide/sysctl/vm.html#swappiness)
194195

195196
- **vm.dirty_\***: SQL Server file write accesses are uncached, satisfying its data integrity requirements. These parameters allow efficient asynchronous write performance and lower the storage IO impact of Linux caching writes by allowing large enough caching while throttling flushing.
196197

0 commit comments

Comments
 (0)