3PAR Performance
3PAR Performance
Performance
Tomasz Piasecki
[email protected]
24 Oct 2018
1. Host VLUNs
2. Host Ports
3. Node Cache
4. Node Volumes
5. Disk Ports
6. Disks
Understanding Performance
Common terms and definitions
Service Time
✓ Time to process one request (IO) once received
✓ In some cases, this might include any wait time as well
✓ Can vary greatly based on type of workload
Hardware Component Limits - CPU
Snapshots Snapshots
CPU Load
Data Deduplication RAID Rebuilds
Replication Replication
Any
Processors
Intel x64
Processors
+
Most Arrays 3PAR StoreServ
Hardware Component Limits – Drive Chassis
or
Notes:
✓We do not support enough drives to max out IOPS limits of a chassis!
✓In most cases, only worried about MB/s (throughput) on a FC link.
Hardware Component Limits – FC Links
Notes:
✓In most cases, only worried about MB/s (throughput) on a FC link.
✓Limits apply to anything with a FC link (Hosts AND Drive Chassis)
Understanding Performance
How performance is tested in the results that follow
IOPS (Random)
✓ Small block sizes (16k or smaller)
✓ Random access pattern to the entire device
✓ Multiple threads/queues to the device
Bandwidth (Sequential)
✓ Large block sizes (128k or larger)
✓ Sequential access pattern to the entire device
✓ Single/Few thread/queue to the device
Understanding Performance
Larger Block Size Means Fewer Disk IOPS
Maximum IOPS vs Block Size (8K = 100%)
120%
Percentage Drop from 8K Value
40%
20%
0%
4k 8k 16k 32k 64k 128k 256k 512k
Hardware Component Limits
Disk Drives
15K FC 200 45
10K FC 150 45
7.2K NL 75 30
Notes:
• These are back-end numbers only! Use performance spreadsheet to determine front-end
performance.
• Performance assumes load described earlier. Changing the workload changes performance!
Hardware Component Limits
SSD performance:
100 GB and 200GB SSDs, 4KB or 8KB block size
• These are back-end numbers only! Use performance spreadsheet to determine front-end
performance.
• Performance assumes load described earlier. Changing the workload changes performance!
InServ Cache Behavior
30K IOPs
40K IOPs
2000
1500
1000
500
0
0 10 20 30 40 50 60 70 80 90 100
% Read IOPS from Host
InServ Cache Behavior
Read-Ahead Algorithm
16
Delayed ack mode
• “Delayed ack” is a behavior of HP 3PAR systems when the cache gets filled faster than it can be de-
staged to disk (most likely because the physical disks are maxed out)
• This is determined by the number of dirty cache pages for a type of disk exceeding 85% of the allowed
maximum
• When this happens, the system will start delaying incoming write IOs to keep the number of dirty pages
below this number
• At this point, increasing the amount of outstanding IOs will only result in a higher average response
time
17
MB/s per disk and Write cache flusher limits
– Upon writing to the 3PAR array, the data will be put in write cache. Each 3PAR controller
node only allows a maximum number of pages for a type of disk, based on the number of
disks of each type.
– When reaching 85% of this number of maximum allowed cache page, the system will start
delaying the acknowledgement of IOs in order to throttle down the hosts, until some
cache pages have been freed by having their data de-staged to disk (condition known as
“delayed ack”)
– This de-staging happens at a fixed speed that will also depend on the number of disks of
each type.
– Because this de-staging happens at fixed speed, the maximum write bandwidth of the
hosts will be limited to the speed of this de-staging
18
Max number of pages per disk
19
stat commands
Start looking at
• Front-end
• Backend
• VV/CPU
High Low Low Verify host system resources and hba settings
RAID 5 RAID 1
Performance
RAID 5 RAID 1
LD LD LD LD
Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive Drive
%
3PAR OS ≤ 3.1.2 3PAR OS ≥ 3.2.1
3PAR Adaptive Flash Cache (AFC)
Read Cache Extension for hybrid arrays
128MB region
AO VV 1-Tier VV
Advantages and Use Cases
moves
• Leverages SSD providing lowers latency for HDD workloads
• Can be enabled system-wide or for individual Virtual Volume sets (VVset)
• Complementary to Adaptive Optimization (AO)
• AO moves regions of 128MB between tiers based on IO density sampling Cache Control
• AFC increases Read Cache hits by de-staging 16kB DRAM pages to Flash Cache Write Read Flash Cache
look-up
Cache Cache
• No dedicated SSDs required – can be shared with SSD Tier and AO DRAM DRAM
hash table
• Starting with 3.2.2 default for 7k,8k and 20k is RAID0 (was RAID1 before)
acceleration Flash
Cache
3PAR Adaptive Flash Cache performance benefits
Random read acceleration and increased write throughput in mixed workloads
• 3PAR 7200
• 8 x 10 k SAS 1500
IOPS
• 4 x SSD and 668GB Adaptive Flash Cache Read
Write
• Workload: 1000
• 32 kB blocks
• 60/40 r/w 500
• 60/40 sequential/random
0
AFC disabled AFC enabled
3PAR Adaptive Flash Cache
Effect on a 7000 array with a working set of 1.2 x Cache size
Tested Configuration
• StoreServ 7400 – 2 Node
3 x IOPS • 100% 8kB Random Reads
• Working set : Cache = 1.2 : 1
• 272GB total Cache (16GB DRAM + 256 AFC)
• 320GB working set
• 32 x 10GB VV
• RAID5, SAS
1/3 Latency
Alerts & Event Logs
Monitoring and managing alerts
removealert <alert_ID
Setting threshold alert
User space allocation warning. Generates a warning alert when the user data space of the TPVV
exceeds the specified percentage of the virtual volume size
setvv –usr_aw <threshold> vvname
User space allocation limit. The user space of the TPVV is prevented from growing beyond the
indicated percentage of the virtual volume size.
setvv –usr_al <threshold> vvname
showvv –s
Setting threshold alert
Raw space limits
For each of these commands, <threshold> is an integer from 10 to 100,000 that represents the
total available space on the system in gigabytes. A value of 0 enables the default raw space alerts
of 50%, 75%, 85% and 95%.
Monitoring and managing the event log
showsys -param
System parameters from configured settings
----Parameter----- ---Value----
RawSpaceAlertFC : 800
RawSpaceAlertNL : 0
RemoteSyslog : 1
RemoteSyslogHost : 192.168.6.15
SparingAlgorithm : Minimal
CopySpaceReclaim : 0
EventLogSize : 4M
Monitoring and managing the event log
Changing the default event log size 5 within the range 512 KB to 4 MB
setsys EventLogSize
• Security - sends security related events (user logins, commands issued, etc)
setsys RemoteSyslogSecurityHost
{{<hostname>|<IPv4>}[:<port>]|<IPv6>|[<IPv6>]:<port>}
© Copyright 2013 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without notice.