SlideShare a Scribd company logo
Jim Moyle, Andrew Wood
Preventing Possible PVS Performance Pain Points
2
#syn306
#citrixsynergy
Please allow us to introduce ourselves…
Jim Moyle
@jimmoyle
Andrew Wood
@gilwood_cs
IOPS Junky, Demo Upgrade Specialist
Badge Collector
State of the VDI/SBC Union 2015
http://www.projectvrc.team/white-papers
PVS Architecture
License Server
SQL
Database
Shared
Storage
Provisioning Servers
Provisioning Services Farm
Provisioning Servers
Site A Site B
Device
Collections
Device
Collections
Device
Collections
Device
Collections
Device
Collections
Device
Collections
http://lnk.glwdcs.tv/1Qw5I3d
Storage with Citrix PVS
Operating System
(Win 7, 8, 10),
2008R2/2012R2
User/Department
Applications
User Profiles/
Settings
Corporate
Applications
User Data
(Docs,Spreadsheets
,Pictures of Family)
PVS vDisk PVS Write Cache Personal vDisk AppDisk
Home
Directories
Hypervisor
SMB/Local NFS/Local NFS/SMB SMB SMB
10GB Ethernet Other
PVS Cache Types
RAM Overflow to HDD - What Can Overflow?
PVS Non
Paged
memory
Pool
Page File Space for
Crash Dump
Anti-Virus
Definitions
Log Files
Hard Drive associated with target VM
In RAM On Disk
Overflow
File
RAM
Many say “take the raw
performance counter details for
Non Paged Pool memory and
assume this is the size of the
cache”. That’s like looking into a
can of beans and trying
to determine which one gave you
gas.
Using WPA to Really Dig Into PVS
https://www.citrix.com/blogs/2015/08/19/digging-into-pvs-with-poolmon-and-wpa/
Generic Events
File IO Events
On Reporting Cache Utilization Easily
Community Tool to Exposes Counters is Available
• PVS RAM cache size (MB)
• PVS metadata size (MB)
• PVS Write Cache VHD disk size (MB)
• PVS Ram Cache Percent used.
http://lnk.glwdcs.tv/1qATRvk
Iometer W/C Local Disk - SSD
Pagefile.
Copying a 1GB file onto c:
1GB Test File – with PVS 7.1
1GB Test File – with PVS 7.8
No Spill
Delete test file, TRIM?
10GB Test File
10GB File Overflow to Disk
Where the test file ends up…
https://technet.microsoft.com/en-us/itpro/windows/keep-secure/windows-10-mobile-security-guide
Turn Off ASLR?
You can forcibly enable or disable ASLR for all executables
and libraries:
If you’re still on Windows XP –
HKLMSYSTEMCurrentControlSetControlSessio
n ManagerMemory ManagementMoveImages
specifying "MoveImages"=dword:00000000 to disable it
system-wide (current user).
Another option is to use the "Enhanced Mitigation
Experience Toolkit" (EMET):
https://technet.microsoft.com/en-us/security/jj653751
https://support.microsoft.com/en-gb/kb/2458544
allowing to enable/disable ASLR it on a system or process
basis.
“When a decision is required on whether or
not a server should be provisioned as (or
migrated to) a virtual server, several criteria
should be considered. In each case the
amount of use, potential hardware
utilization, number of users, and any other
special hardware requirements will have to
be reviewed before a decision is made”
Ron Oglesby
Is CPU a bottleneck for PVS?
3
1Gb n/w ~ 20,000 IOPS @ 4K Block size
Windows Block Size
4BriForum | © TechTarget
4BriForum | © TechTarget
Show BDM cached in VM
4
4
“I just need lots of fast storage right?
In a virtualised environment, fast storage
fixes everything.”
Many people who talk to Jim
Getting RAM Right
http://support.citrix.com/article/CTX125126
SYSTEM CACHE RAM = 512MB + #active vdisks * avg data read from vdisk
For example, assume the following configuration:
• A running Provisioning Services server under load showing 2 GB of
committed memory
• 4 unique vDisk files hosting Windows 7 for various target devices
• 2 GB of data read on average from each vDisk
• System Cache RAM = 512 MB + (4 * 2 GB) = 8.5 GB
• Total RAM = 2 GB + 8.5 GB = 10.5 GB
Multi-threaded BNI Stack
IP Acquisition
Bootstrap
download
PVS Logon
Process
Single Read
Mode
BNIStack/MIO
http://support.citrix.com/article/CTX136378
https://www.citrix.com/blogs/2016/01/12/turbo-charging-boot-times-with-pvs-7-7/
That’s not to say
storage isn’t important
Reducing Creation and Merge Time
http://blog.itvce.com/2016/01/11/citrix-provisioning-services-pvs-7-6-vs-7-7-vhd-vs-
vhdx-and-scale-out-file-server-update
More Ports vs More Threads
Ports Range Threads per
port
Average Boot
time first 10
Guest VMs
Average Boot
time last 10
Guest VMs
Baseline 6910 to 6945 40 49.8 83.2
Test 1 6910 to 6945 8 28.2 60.2
Test 2 6910 to 6968 8 29.4 48.9
Test 3** 6910 to 6968 8 36.1 92.5
https://www.citrix.com/blogs/2016/03/30/updated-guidance-on-pvs-ports-and-threads/
Jeff Qiu
“# of ports” x “# of threads/port” = “max clients”.
**I/O limit set to 0
Traditional Storage
Compute/App
Servers
Storage
Controllers
Hyper-Converged
Compute/App
Servers combining
local resources
Local Storage vDisk Stores
– No networking layer
– Removal of Point Failure
– No storage service to configure
– Increases storage requirements
– Synchronisation of stores
RoboCopy vs DFS-R vs A.N.Other?
PVS-A PVS-B PVS-B
vDisk on Local Storage vDisk on Local Storage vDisk on Local Storage
DFS-R Full Mesh Replica
Pod Based Architecture
6
http://www.xkcd.com/
Monitoring and expand out

More Related Content

Similar to Preventing Possible PVS Performance Pain Points

How to deploy SQL Server on an Microsoft Azure virtual machines
How to deploy SQL Server on an Microsoft Azure virtual machinesHow to deploy SQL Server on an Microsoft Azure virtual machines
How to deploy SQL Server on an Microsoft Azure virtual machines
SolarWinds
 
Oracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageOracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified Storage
David R. Klauser
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksAmit Gatenyo
 
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios
 
Make room for more virtual desktops with fast storage
Make room for more virtual desktops with fast storageMake room for more virtual desktops with fast storage
Make room for more virtual desktops with fast storage
Principled Technologies
 
Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01
Clint Edmonson
 
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI ServersGet Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Unidesk Corporation
 
Scoping for BMC Discovery (ADDM) Deployment by Traversys Limited
Scoping for BMC Discovery (ADDM) Deployment by Traversys LimitedScoping for BMC Discovery (ADDM) Deployment by Traversys Limited
Scoping for BMC Discovery (ADDM) Deployment by Traversys Limited
Wes Moskal-Fitzpatrick
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshootingglbsolutions
 
Presentation v mware performance overview
Presentation   v mware performance overviewPresentation   v mware performance overview
Presentation v mware performance overview
solarisyourep
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructuresolarisyourep
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
xKinAnx
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirionsthirion
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要
Kazuki Takai
 
IBM System Storage TS7650G ProtecTIER Deduplication Gateway
IBM System Storage TS7650G ProtecTIER Deduplication GatewayIBM System Storage TS7650G ProtecTIER Deduplication Gateway
IBM System Storage TS7650G ProtecTIER Deduplication Gateway
IBM India Smarter Computing
 
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2 VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld
 
WindowsAzureSDK1.7
WindowsAzureSDK1.7WindowsAzureSDK1.7
WindowsAzureSDK1.7Saravanan G
 
Get started With Microsoft Azure Virtual Machine
Get started With Microsoft Azure Virtual MachineGet started With Microsoft Azure Virtual Machine
Get started With Microsoft Azure Virtual Machine
Lai Yoong Seng
 
Iocg Whats New In V Sphere
Iocg Whats New In V SphereIocg Whats New In V Sphere
Iocg Whats New In V Sphere
Anne Achleman
 

Similar to Preventing Possible PVS Performance Pain Points (20)

How to deploy SQL Server on an Microsoft Azure virtual machines
How to deploy SQL Server on an Microsoft Azure virtual machinesHow to deploy SQL Server on an Microsoft Azure virtual machines
How to deploy SQL Server on an Microsoft Azure virtual machines
 
Oracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified StorageOracle Exec Summary 7000 Unified Storage
Oracle Exec Summary 7000 Unified Storage
 
Hyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and TricksHyper-V Best Practices & Tips and Tricks
Hyper-V Best Practices & Tips and Tricks
 
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
Nagios Conference 2012 - Dan Wittenberg - Case Study: Scaling Nagios Core at ...
 
Make room for more virtual desktops with fast storage
Make room for more virtual desktops with fast storageMake room for more virtual desktops with fast storage
Make room for more virtual desktops with fast storage
 
Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01Windows Server 2008 R2 Dev Session 01
Windows Server 2008 R2 Dev Session 01
 
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI ServersGet Your GeekOn with Ron - Session One: Designing your VDI Servers
Get Your GeekOn with Ron - Session One: Designing your VDI Servers
 
Scoping for BMC Discovery (ADDM) Deployment by Traversys Limited
Scoping for BMC Discovery (ADDM) Deployment by Traversys LimitedScoping for BMC Discovery (ADDM) Deployment by Traversys Limited
Scoping for BMC Discovery (ADDM) Deployment by Traversys Limited
 
VMware Performance Troubleshooting
VMware Performance TroubleshootingVMware Performance Troubleshooting
VMware Performance Troubleshooting
 
Presentation v mware performance overview
Presentation   v mware performance overviewPresentation   v mware performance overview
Presentation v mware performance overview
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
 
Presentation architecting a cloud infrastructure
Presentation   architecting a cloud infrastructurePresentation   architecting a cloud infrastructure
Presentation architecting a cloud infrastructure
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
 
5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要5分で分かる Windows Server 2019 HCI 超概要
5分で分かる Windows Server 2019 HCI 超概要
 
IBM System Storage TS7650G ProtecTIER Deduplication Gateway
IBM System Storage TS7650G ProtecTIER Deduplication GatewayIBM System Storage TS7650G ProtecTIER Deduplication Gateway
IBM System Storage TS7650G ProtecTIER Deduplication Gateway
 
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2 VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
VMworld 2013: Enterprise Architecture Design for VMware Horizon View 5.2
 
Del 1
Del 1Del 1
Del 1
 
WindowsAzureSDK1.7
WindowsAzureSDK1.7WindowsAzureSDK1.7
WindowsAzureSDK1.7
 
Get started With Microsoft Azure Virtual Machine
Get started With Microsoft Azure Virtual MachineGet started With Microsoft Azure Virtual Machine
Get started With Microsoft Azure Virtual Machine
 
Iocg Whats New In V Sphere
Iocg Whats New In V SphereIocg Whats New In V Sphere
Iocg Whats New In V Sphere
 

Recently uploaded

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
James Anderson
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
Elena Simperl
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
Jemma Hussein Allen
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
Elena Simperl
 

Recently uploaded (20)

Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
GDG Cloud Southlake #33: Boule & Rebala: Effective AppSec in SDLC using Deplo...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...When stars align: studies in data quality, knowledge graphs, and machine lear...
When stars align: studies in data quality, knowledge graphs, and machine lear...
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
The Future of Platform Engineering
The Future of Platform EngineeringThe Future of Platform Engineering
The Future of Platform Engineering
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Knowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and backKnowledge engineering: from people to machines and back
Knowledge engineering: from people to machines and back
 

Preventing Possible PVS Performance Pain Points

  • 1. Jim Moyle, Andrew Wood Preventing Possible PVS Performance Pain Points
  • 3. Please allow us to introduce ourselves… Jim Moyle @jimmoyle Andrew Wood @gilwood_cs IOPS Junky, Demo Upgrade Specialist Badge Collector
  • 4. State of the VDI/SBC Union 2015 http://www.projectvrc.team/white-papers
  • 5.
  • 6. PVS Architecture License Server SQL Database Shared Storage Provisioning Servers Provisioning Services Farm Provisioning Servers Site A Site B Device Collections Device Collections Device Collections Device Collections Device Collections Device Collections http://lnk.glwdcs.tv/1Qw5I3d
  • 7. Storage with Citrix PVS Operating System (Win 7, 8, 10), 2008R2/2012R2 User/Department Applications User Profiles/ Settings Corporate Applications User Data (Docs,Spreadsheets ,Pictures of Family) PVS vDisk PVS Write Cache Personal vDisk AppDisk Home Directories Hypervisor SMB/Local NFS/Local NFS/SMB SMB SMB 10GB Ethernet Other
  • 8.
  • 10. RAM Overflow to HDD - What Can Overflow? PVS Non Paged memory Pool Page File Space for Crash Dump Anti-Virus Definitions Log Files Hard Drive associated with target VM In RAM On Disk Overflow File RAM
  • 11. Many say “take the raw performance counter details for Non Paged Pool memory and assume this is the size of the cache”. That’s like looking into a can of beans and trying to determine which one gave you gas.
  • 12. Using WPA to Really Dig Into PVS https://www.citrix.com/blogs/2015/08/19/digging-into-pvs-with-poolmon-and-wpa/
  • 13.
  • 16. On Reporting Cache Utilization Easily Community Tool to Exposes Counters is Available • PVS RAM cache size (MB) • PVS metadata size (MB) • PVS Write Cache VHD disk size (MB) • PVS Ram Cache Percent used. http://lnk.glwdcs.tv/1qATRvk
  • 17. Iometer W/C Local Disk - SSD
  • 18.
  • 20. Copying a 1GB file onto c:
  • 21. 1GB Test File – with PVS 7.1
  • 22. 1GB Test File – with PVS 7.8
  • 27. Where the test file ends up…
  • 28.
  • 30. Turn Off ASLR? You can forcibly enable or disable ASLR for all executables and libraries: If you’re still on Windows XP – HKLMSYSTEMCurrentControlSetControlSessio n ManagerMemory ManagementMoveImages specifying "MoveImages"=dword:00000000 to disable it system-wide (current user). Another option is to use the "Enhanced Mitigation Experience Toolkit" (EMET): https://technet.microsoft.com/en-us/security/jj653751 https://support.microsoft.com/en-gb/kb/2458544 allowing to enable/disable ASLR it on a system or process basis.
  • 31.
  • 32. “When a decision is required on whether or not a server should be provisioned as (or migrated to) a virtual server, several criteria should be considered. In each case the amount of use, potential hardware utilization, number of users, and any other special hardware requirements will have to be reviewed before a decision is made” Ron Oglesby
  • 33. Is CPU a bottleneck for PVS? 3
  • 34. 1Gb n/w ~ 20,000 IOPS @ 4K Block size
  • 36.
  • 37. 4BriForum | © TechTarget
  • 38. 4BriForum | © TechTarget
  • 40. 4
  • 41. 4
  • 42.
  • 43.
  • 44. “I just need lots of fast storage right? In a virtualised environment, fast storage fixes everything.” Many people who talk to Jim
  • 47. SYSTEM CACHE RAM = 512MB + #active vdisks * avg data read from vdisk For example, assume the following configuration: • A running Provisioning Services server under load showing 2 GB of committed memory • 4 unique vDisk files hosting Windows 7 for various target devices • 2 GB of data read on average from each vDisk • System Cache RAM = 512 MB + (4 * 2 GB) = 8.5 GB • Total RAM = 2 GB + 8.5 GB = 10.5 GB
  • 48. Multi-threaded BNI Stack IP Acquisition Bootstrap download PVS Logon Process Single Read Mode BNIStack/MIO http://support.citrix.com/article/CTX136378 https://www.citrix.com/blogs/2016/01/12/turbo-charging-boot-times-with-pvs-7-7/
  • 49. That’s not to say storage isn’t important
  • 50.
  • 51. Reducing Creation and Merge Time http://blog.itvce.com/2016/01/11/citrix-provisioning-services-pvs-7-6-vs-7-7-vhd-vs- vhdx-and-scale-out-file-server-update
  • 52. More Ports vs More Threads Ports Range Threads per port Average Boot time first 10 Guest VMs Average Boot time last 10 Guest VMs Baseline 6910 to 6945 40 49.8 83.2 Test 1 6910 to 6945 8 28.2 60.2 Test 2 6910 to 6968 8 29.4 48.9 Test 3** 6910 to 6968 8 36.1 92.5 https://www.citrix.com/blogs/2016/03/30/updated-guidance-on-pvs-ports-and-threads/ Jeff Qiu “# of ports” x “# of threads/port” = “max clients”. **I/O limit set to 0
  • 54.
  • 55. Local Storage vDisk Stores – No networking layer – Removal of Point Failure – No storage service to configure – Increases storage requirements – Synchronisation of stores
  • 56. RoboCopy vs DFS-R vs A.N.Other? PVS-A PVS-B PVS-B vDisk on Local Storage vDisk on Local Storage vDisk on Local Storage DFS-R Full Mesh Replica
  • 57.
  • 58.
  • 60.