Corso GPFS Part 2
Corso GPFS Part 2
12/3/12
Outline
Part 2:
12/4/12
Information Lifecycle
Management (ILM)
filesets
user-defined policies
12/4/12
Information Lifecycle
Management in GPFS
File name
User name
Fileset
Access time
Path name
Size of the file
12/4/12
Storage Pools
12/4/12
GPFS Filesets
deleting it, and it can subsequently be linked using its name as a handle
Filesets can have quotas associated with them (global; not per-pool).
Side effects:
Unlinked filesets can confuse programs that scan the file system
(e.g.incremental backup programs)
Moving and linking between filesets is not allowed, in keeping with their
being like little file systems
12/4/12
12/4/12
Policies
Default rule:
Must be defined
12/4/12
!!
12/4/12
'DATA3'
'DATA4'
'DATA5'
'DATA6'
SET
SET
SET
SET
POOL
POOL
POOL
POOL
'data1'
'data2'
'data3'
'data4'
See documentation at !
http://publib.boulder.ibm.com/infocenter/clresctr/vxrx/index.jsp!
12/4/12
10
If the storage pool named system has an occupancy percentage above 90%
now, bring the occupancy percentage of system down to 70% by migrating
the largest files to storage pool data:
RULE 'mig1' MIGRATE FROM POOL system' THRESHOLD(90,70)
WEIGHT(KB_ALLOCATED) TO POOL data'
Delete files from the storage pool named system that have not been
accessed in the last 30 days, and are named like temporary files or appear
in any directory that is named tmp:
RULE 'del1' DELETE FROM POOL system' WHERE (DAY
S(CURRENT_TIMESTAMP) DAYS(ACCESS_TIME) > 30) AND (lowe
r(NAME) LIKE '%.tmp' OR PATH_NAME LIKE '%/tmp/%')
12/4/12
11
12/4/12
12
Performance Tuning
File system
IO Type
Application Examples
Blocksize
Large Sequential IO
1MB to 4MB
Relational Database
DB2, Oracle
512kb
256kb
Special*
Special
16KB-64KB
*Since GPFS 3.3 there are very few workloads that benefit from a file system blocksize of
16KB or 64KB. If you do not have a chance to test your application performance with various
file system blocksize settings you should use the default of 256KB.
12/4/12
13
12/4/12
14
Pagepool
generally to small
If FS blocksize=N*256K (default) use
pagepool=N*64M
256M good starting point
On NSD servers:
15
Some parameters
maxMBpS
Default 150
Recommended value =2*network BW
maxFilesToCache
Default 1000
maxStatCache
Default 4*maxStatCache
12/4/12
16
10 GigaBit Ethernet
Jumbo Frames
net.ipv4.conf.all.arp_filter=1
net.ipv4.conf.all.rp_filter=0
net.ipv4.ipfrag_low_thresh=196608
net.ipv4.ipfrag_high_thresh=262144
net.ipv4.ip_no_pmtu_disc=0
net.ipv4.tcp_syncookies=1
net.ipv4.tcp_max_syn_backlog=4096
net.ipv4.tcp_window_scaling=1
net.ipv4.tcp_sack=1
net.ipv4.tcp_timestamps=0
net.ipv4.tcp_rfc1337=1
net.ipv4.tcp_adv_win_scale=2
net.ipv4.tcp_rmem=4096 87380 16777216
12/4/12
17
12/4/12
18
http://www.ibm.com/developerworks/wikis/display/hpccentral/
GPFS+Tuning+Parameters
12/4/12
19
Acknowledgements
Materials used in this presentation, along with presenters own
experience, have been mainly obtained from the following sources:
12/4/12
20