泛性恋什么意思| 痛风买什么药| 耍大牌是什么意思| 脑梗吃什么药可以恢复的快| 胸口疼吃什么药| 睡觉容易醒是什么原因| daks是什么品牌| 什么药治便秘效果最好最快| 喜欢出汗是什么原因| 海龙是什么| 美国为什么要打伊拉克| 嘴唇发麻是什么病兆| 六九年属什么| 那英姓什么| 返祖现象什么意思| 大小脸去医院挂什么科| 什么是主食| 举牌是什么意思| 细佬是什么意思| 什么人不能吃洋葱| 编程是干什么的| 补办医保卡需要什么资料| 黄褐斑内调吃什么中药| 进产房吃什么补充体力| 枣子什么季节成熟| 肝叶钙化灶是什么意思| 秋香绿是什么颜色| 生肖马和什么生肖最配| karl lagerfeld是什么牌子| 溢于言表什么意思| 甲状腺结节有什么症状表现| uma是什么意思| 麾下什么意思| 向日葵为什么会随着太阳转动| miu是什么单位| 脸色蜡黄是什么原因| 产检挂什么科| 林深时见鹿是什么意思| 白斑是什么原因引起的| 感冒发烧不能吃什么食物| 很困但是睡不着是什么原因| 男人梦见蛇是什么意思| 许多的近义词是什么| 鸟为什么会飞| 大蒜不能和什么一起吃| 今年的属相是什么生肖| 双性人是什么意思| 处男什么意思| 舌苔厚是什么原因引起的| 乙肝235阳性是什么意思| 男士阴囊痒用什么药膏| 斯德哥尔摩是什么意思| 子夜是指什么时间| 梦见爬山是什么预兆| 科技馆里面有什么| 嘎嘎嘎是什么意思| 人工念什么字| 豆乳是什么| 过敏期间不能吃什么东西| 宫外孕术后可以吃什么| 年金是什么意思| 阴虚火旺喝什么茶好| 手心为什么老出汗| 月亏念什么| 甲状腺结节是什么症状| 樵夫是什么生肖| 夏枯草是什么| geo是什么意思| 品质是什么| 日加华读什么| mastercard是什么意思| 肺气肿是什么病| 人潮涌动是什么意思| 11月12日是什么星座| 步履维艰是什么意思| 猫三联什么时候打| 跖围是什么意思| remax是什么牌子| 武夷肉桂茶属于什么茶| 眉中间有竖纹代表什么| 打疫苗前后要注意什么| 邓超是什么星座| conch是什么牌子| 天行健的下一句是什么| 刍狗是什么意思| 禾加末念什么| 拉不出屎吃什么药| 仙人跳是什么意思| bally属于什么档次| 脂蛋白a高是什么原因引起的| 此物非彼物是什么意思| 李世民是什么民族| 女人男相有什么说法| 孢子粉是什么| 什么东西在倒立之后会增加一半| 春光乍泄是什么意思| 猫咪的胡须有什么作用| 梦到头发长长了是什么意思| 屙是什么意思| 过氧化氢一个加号什么意思| 菠菜补什么| 恍惚是什么意思| 青龙男是什么意思| 小人痣代表什么意思| 请佛像回家有什么讲究| 脖子爱出汗是什么原因| qq邮箱的格式是什么| 不爱说话的人是什么性格| 世故是什么意思| 什么叫甲亢| 大便臭是什么原因| 经常嘴苦是什么原因| 脚臭用什么药| pdo是什么意思| 424是什么意思| 孩子为什么不说话| 缺维生素D吃什么补得最快| 女生抽什么烟合适| 做蛋糕用什么油| 高脂血症是什么意思| 28属什么的生肖| 词牌名什么意思| 鸡为什么喜欢吃泡沫| 折耳猫为什么不能养| 六月是什么生肖| 外传是什么意思| 生化流产是什么原因造成的| 血压太低有什么危害| 杭字五行属什么| 皮上长小肉疙瘩是什么| 大眼角痒用什么眼药水| 什么门关不上| 人乳头瘤病毒58型阳性是什么意思| fsw是什么意思| 青色是什么样的颜色| 孩子恶心想吐是什么原因| 什么化妆品好用| 孕妇血糖高对胎儿有什么影响| 有过之而不及什么意思| 虾仁炒什么菜好吃| 我们到底什么关系| 牙疼吃什么饭| rio是什么酒| 谷草转氨酶偏高是什么原因| 卜卦是什么意思| 夏天有什么花开| 什么情况下必须做胃镜| 透析病人磷高了吃什么降磷| 1800年是什么年| 尿酸高吃什么药降尿酸效果好| 杨五行属什么| 小腿前面的骨头叫什么| 怀孕1个月有什么症状| 对象是什么意思| 尿道感染要吃什么药| 珠海有什么特产| 早上起来口干口苦口臭是什么原因| 胰岛素是什么| 胳膊麻是什么原因| 尼泊尔人是什么人种| f4什么意思| 男人气虚吃什么补得快| 孩子半夜咳嗽是什么原因| 脱头发严重是什么原因引起的| 澄面是什么面粉| 四大美女指什么生肖| 鲁蛇是什么意思| 什么是生物制剂| 吃中药忌口都忌什么| 水是由什么组成的| 梦见戴帽子是什么预兆| 肩周炎看什么科| 胎毒是什么| 藿香正气水有什么作用| 妇科检查清洁度3度什么意思| 3D硬金是什么意思| 双侧卵巢多囊样改变是什么意思| 梦见包丢了是什么意思| 鹿晗有什么歌| 大腿淤青是什么原因| 糖类抗原是什么意思| 广州和广东有什么区别| 什么的红烧肉| 胃烧心吃什么能缓解| 加湿器加什么水最好| 依然如故的故是什么意思| 知更鸟是什么意思| 肺栓塞挂什么科| 用盐洗脸有什么好处| 高手过招下一句是什么| 平年是什么意思| 大鼻是什么生肖| 美版苹果和国行有什么区别| 骨挫伤是什么意思| ft是什么| 什么人不适合艾灸| 白细胞低有什么危险| 一个口一个麦念什么| 间歇性跛行见于什么病| 痛风吃什么消炎药| 大三阳是什么病| 甲状腺三项检查什么| 警察为什么叫条子| 为什么会长溃疡| hyundai是什么牌子| 什么情况下会怀孕| 棺材用什么木材做最好| 如来佛祖和释迦牟尼是什么关系| 喉咙溃疡吃什么药| 中耳炎吃什么药效果比较好| 见龙在田什么意思| 天蝎座属于什么象星座| 什么肉最好吃| 氨水对人体有什么危害| 紫癜吃什么好得快| 吃什么能快速减肥| 初一的月亮是什么形状| 痤疮是什么原因引起的| 骨头受伤了吃什么恢复的快| 阴茎发麻是什么原因| 无水焗是什么意思| 手指关节疼痛是什么原因| 胸推什么意思| 补脾吃什么好| 血液为什么是红色| 什么是脂肪肝| 猪胰是什么东西| 孕妇喝什么补羊水最快| 胃子老是胀气是什么原因| ctc是什么| 谷丙转氨酶是什么意思| 落枕吃什么药好得快| 什么不什么身| 总是放响屁是什么原因| 两个马念什么| 香水前调中调后调是什么意思| 搭桥香是什么意思| 牡丹花有什么颜色| 南瓜不能和什么食物一起吃| 皮肤消炎用什么药最好| 睡眠障碍挂什么科| 孕妇肠胃炎能吃什么药| 黄豆什么时候种| 八六年属什么生肖| 气血不足什么引起的| 长脸男生适合什么发型| 载脂蛋白a1偏高是什么原因| 苦口婆心是什么意思| 储备是什么意思| 肚子胀气放屁吃什么药| 检查肾功能挂什么科| 宸字五行属什么| ao是什么意思| mrv是什么检查| 喉咙痛可以吃什么水果| acei是什么| 32岁属什么| 甲抗是什么原因引起的| 鼻咽癌有什么症状| 什么是融合菜| 睾丸疼痛什么原因| 囡是什么意思| 经常吃秋葵有什么好处| 五年是什么婚| 百度

泉州装备制造研究所加快建设 两片区将陆续投

ID 766472
Updated 11/7/2022
Version Latest
Public
百度   2月,销量和营业利润双双创出历史新高的德国戴姆勒的财报发布会上没有兴奋感。

author-image

By

Introduction

This guide is targeted towards users who are already familiar with Microsoft* SQL Server* and provides pointers and system settings for hardware and software that will provide the best performance for most situations. However, please note that we rely on the users to carefully consider these settings for their specific scenarios, since Microsoft SQL Server can be deployed in multiple ways, and this is a reference to one such use-case.  

Microsoft SQL Server is a relational database management system developed by Microsoft. SQL Server is offered in many different editions, but this guide will focus on the SQL Server Enterprise edition. SQL Server’s database architecture is based on a Client-Server architecture model. This tuning guide will focus on Online Transaction Processing (OLTP) workloads (TPCE like) while using SQL Server for Windows*.

4th Gen Intel? Xeon? Scalable processors deliver industry-leading, workload-optimized platforms with built-in AI acceleration, providing a seamless performance foundation to help speed data’s transformative impact, from the multi-cloud to the intelligent edge and back. Improvements of particular interest to this workload applications are:

  • Enhanced Performance
  • More Intel? Ultra Path Interconnect (Intel? UPI)
  • Increased DDR5 Memory Speed & Capacity

 

The hardware and software used in testing the server configuration for this tuning guide:

Hardware Memory 32 * 64GB Hynix DDR5, 4400MT/s
I/O Controllers 4x RS3SC008 Intel Raid
Disks

1 x Intel? 1.9TB SSD OS Drive

10 x Intel? SC2KG019T7 SSD (1.9TB) Backups

8 x Intel? SC2KG960G8 SSD (960GB) Log

5 x Intel? SC2BA800G3 SSD (800GB) Tempdb

2 x Intel? SC2BB016T4 SSD (1.6TB) mdf

85 x Intel? SC2KG960G8 SSD (960GB) DB

NIC 2x Intel? Ethernet Network Adapter X520 Series 210G BASE-T
Software Operating System Microsoft Windows Server 2022 Datacenter
Kernel 10.0.20348 Build 20348
SQL Version 2022.160.1000.6
Workload Kit TPCE Kit 1041
Benchcraft 2.5.6

 

Note The configuration described in this article is based on 4th Generation Intel Xeon processor hardware. Server platform, memory, hard drives, network interface cards can be determined according to customer usage requirements.

Hardware

BIOS

Please note, that all BIOS settings outlined below are based on Intel’s Software Development Platforms designed for the 4th Gen Intel Xeon Scalable processors. Begin by resetting your BIOS to default setting, then follow the suggestion below for changes:

Configuration Item Recommended Value
EDKII Menu -> Socket Configuration -> Processor Configuration -> Hardware Prefetcher Disabled
EDKII Menu -> Socket Configuration -> Processor Configuration -> Adjacent Cache Prefetch Disabled
EDKII Menu -> Socket Configuration -> Processor Configuration -> DCU Streamer Prefetcher Enabled
EDKII Menu -> Socket Configuration -> Processor Configuration -> DCU IP Prefetcher Enabled
EDKII Menu -> Socket Configuration -> Processor Configuration -> LLC Prefetch Disabled
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU P State Control -> Energy Efficient Turbo Disabled
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU P State Control -> Turbo Mode Enabled
EDKII Menu -> Socket Configuration -> UP Configuration -> UPI General Configuration -> Boot Performance Mode Max perf
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> Hardware PM State Control -> Hardware P State Disabled
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU - Advanced PM Tuning -> Energy Perf BIAS -> ENERGY_PERF_BIAS_CFG_mode Performance
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU - Advanced PM Tuning -> Energy Perf BIAS -> Workload Configuraiton I /O sensitive
EDKII Menu -> Socket Configuration -> Memory Configuration -> Memory RAS Configuration -> Patrol Scrub Disabled
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU C State Control -> Package C State Co\C1 state
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU C State Control -> Enhanced Halt State (C1E) Disable
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU C State Control -> CPU C6 Report Disable
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU C State Control ->CPU C1 auto demotion Disable
EDKII Menu -> Socket Configuration -> Advanced Power Management Configuration -> CPU C State Control -> CPU C1 auto undemotion Disable
EDKII Menu -> Socket Configuration -> Common RefCode Configuration -> UMA-Based Clustering Disable (All2All)
EDKII Menu -> Socket Configuration -> Uncore Configuration -> Uncore General Configuration -> SNC (Sub NUMA) Enable SNC2 (2-clusters)

 

Memory Configuration

This workload runs best with 2 DIMMS per channel populated with 4400 MTS DDR5 registered memory. For specifics consult your platform’s manual.

 

Storage

The table below details the type and number of drives used. Each type of drive sets (DB, Temp DB, etc.…) are organized into RAID volumes, with the DB drives being evenly split into RAID0 volumes per IO controller. The only exception to this is the LOG volume which is configured as RAID10. The following are the recommended settings for the RAID volumes and can be set via the Intel? RAID Web Console 3 for Windows.

Drive Purpose RAID Level Stripe Size (KB) Read Ahead Write Back Cache Policy Disk Cache Policy
DB 0 64 No Write Through Enabled
Temp DB 0 64 No Write Through Enabled
Backups 0 64 Yes Write Through Enabled
Log 10 64 No Write Back Enabled

Network

This workload runs best with the following settings for all adapters connecting the Server to the Client:

The following PowerShell script is used as an example with ‘Ethernet 2’(say):

Set-NetAdapterAdvancedProperty -Name "Ethernet 2" -RegistryKeyword '*JumboPacket' –

RegistryValue '9014'

Set-NetAdapterRss

-Name "Ethernet 2" -Enable 1 -BaseProcessorGroup 0 -BaseProcessorNumber 0 -MaxProcessors 16 -NumaNode 65535 -MaxProcessorGroup 0 -MaxProcessorNumber 16 -NumberOfReceiveQueues 8  -Profile Closest

 

In addition, the following must be set in SQL Server using the SQL Server sp_configure command.

sp_configure network_packet_size,8192

go

RECONFIGURE WITH OVERRIDE

Go

 

Software Tuning

Software configuration tuning is essential. From the Operating System to SQL Server configuration settings, they are all designed for general purpose applications and default settings are almost never tuned for best performance.

 

Microsoft Windows Server* 2022 settings

Configuration Item Recommended Value
Windows Firewall Control Panel -> Windows Firewall -> Tunr Windows Firewall on or off (left side of panel) -> select Turn Off Windows Firewall for both private and public networks
Visual Performance Setting Computer -> properties -> advanced system settings -> advanced -> performance -> settings -> visual: adjust best performance
Virtual Memory Setting  Computer -> properties -> Advanced tab, virtual memory: change custom size: 4096 intial and maximum (not system managed)
Power Profile Control Panel -> Hardware and Sound -> Power Options -> High Performance Option
Large Page Enable Large Page Enable (Reboot to take effect):  Control Panel -> Administrative tools -> local security policy -> local policy -> user rights assignment -> Lock pages in memory -> properties -> add user or group -> Administrators (or the user to be used with SQL Server)
Remove Windows Defender PowerShell command:  Remove-WindowsFeature - Name Windows-Defender-Features

 

OLTP Architecture

The TPC-E like workload consists of transactions that simulate the interchanges commonly associated with brokers, customers, and a real-time stock exchange. These transactions are intended to represent a balanced mixture of disk input/output and CPU usage. Performance is measured in transactions per second and reported as tpsE.

Example of an OLTP benchmarking hardware configuration:

 

 

 

Tuning SQL Server for OLTP Workload

The following sp_configure commands should be used to configure SQL Server:

sp_configure show_advanced_options,1

go

RECONFIGURE WITH OVERRIDE

go

sp_configure backup_compression,1

go

RECONFIGURE WITH OVERRIDE

go

sp_configure "default trace enabled",0

go

RECONFIGURE WITH OVERRIDE

go

sp_configure lightweight_pooling,1

go

RECONFIGURE WITH OVERRIDE

go

sp_configure max_degree_of_parallelism,1

go

RECONFIGURE WITH OVERRIDE

go

sp_configure max_serv,<This number should be equal to 90% of system memory>

go

RECONFIGURE WITH OVERRIDE

go

sp_configure max_worker_threads,3000

go

RECONFIGURE WITH OVERRIDE

go

sp_configure priority_boost,1

go

RECONFIGURE WITH OVERRIDE

go

sp_configure recovery_interval,32767

go

RECONFIGURE WITH OVERRIDE

go

sp_configure remote_query_timeout,0

go

RECONFIGURE WITH OVERRIDE

go

sp_configure set_working_set_size,1

go

RECONFIGURE WITH OVERRIDE

go

sp_configure network_packet_size,8192

go

RECONFIGURE WITH OVERRIDE

go

 

The following flags should be used on the command line when starting up SQL Server prior to running the OLTP workload.

Sqlservr.exe -x -c -T827 -T652 -T661 -T834 -T3502 -T3979 -T8040 -T8095 -T8099 -T8088 -T8744 -T9038 -T8101

 

Related Tools

Microsoft Windows Performance Monitor tool (Perfmon) can be used to monitor overall system and disk performance metrics.

 

Best Practices for Testing and Verification

This workload is best run just after a fresh restoration of the database from backup and restart of the system. This workload should drive CPU Utilization to 99% across all logical processors. CPU kernel utilization should be around 12%. This is an I/O intensive workload that is characterized by approximate 850K IOPs, Random Access, and a 90/10 Read/Write ratio. The clients for this workload initiate transactions with 500+ simultaneous connections to the system under test with 500+ transactions in flight. This workload is more sensitive to memory speed than capacity. Typically, this workload reaches peak performance with memory size equal to about 3% of the database size. For verification of the database integrity, refer to the TPCE kit mentioned in resources for details. The TPCE kit provides verification tools suitable for an audit per the TPCE benchmark spec.

 

Conclusion

We have shared our best-known methods to optimally benchmark our 4th Generation Intel Xeon Scalable Processors using an OLTP benchmark. We have covered both software and hardware configuration considerations to get the best performance.

 

Additional Resources

Microsoft SQL Server

Transaction Processing Council

TPCE benchmark kit version 1.14.0

 

 

1
为什么肚子总是胀胀的 动脉硬化挂什么科 祛痣后应注意什么 尿血吃什么药 廉洁奉公是什么意思
杞菊地黄丸治什么病 宫颈纳囊多发是什么意思 飞字五行属什么 没出息什么意思 金多水浊什么意思
胰腺炎吃什么好 义字少一点念什么 925银什么意思 拔智齿后吃什么消炎药 孕期感冒可以吃什么药
梦见死人是什么征兆 空腹洗澡有什么危害 金牛座是什么星象 兰州市区有什么好玩的地方 脊髓空洞症是什么病
肚子腹泻是什么原因naasee.com 吃什么盐最好hcv8jop0ns7r.cn 梦见两口子吵架是什么意思hcv7jop7ns1r.cn 小孩感冒吃什么饭菜比较好hcv8jop1ns8r.cn 梦见盖房子是什么预兆hcv9jop2ns1r.cn
kyocera是什么牌子liaochangning.com 脚臭用什么药最好hcv7jop9ns2r.cn 吃什么调节内分泌最快ff14chat.com 子宫内膜炎吃什么药hcv8jop9ns9r.cn 怀孕40天有什么症状hcv9jop2ns1r.cn
y是什么意思hcv9jop4ns9r.cn 电光性眼炎用什么眼药水creativexi.com 胸口长痘痘是什么原因hcv8jop1ns3r.cn 什么的菜地hcv9jop1ns7r.cn 保税仓是什么意思hcv9jop7ns1r.cn
车水马龙是什么意思hcv8jop1ns7r.cn 甲钴胺不能和什么药一起服用hcv9jop3ns8r.cn 虾黄是虾的什么部位96micro.com 什么食物含dhahcv9jop5ns5r.cn 阑尾炎吃什么食物好hcv9jop0ns3r.cn
百度