ArcGIS Pro 2.1并行处理因子(环境设置)
许多现代计算机包含多核 CPU。跨多个进程展开地理处理操作可以利用多核优势提高性能。并行处理的性能优势因工具的不同而不同。
支持并行处理因子环境的工具将跨多个进程分隔并执行操作。
下面是在Pro2.1中支持并行处理的GP工具列表:
Analysis Tools
- Intersect
- Pairwise Intersect
- Union
- Update
- Identity
- Clip
- Erase
- Graphic Buffer
- Pairwise Buffer
- Pairwise Dissolve
- Split
3D Analyst Tools
- Intervisibility
- Regularize Building Footprint
- Classify Las Building
- Reclassify
- Viewshed 2
Conversion Tools
- Multipatch To Raster
Spatial Statistics and Space Time Pattern Mining
- Spatially Constrained Multivariate Clustering (Spatial Statistics)
- Local Outlier Analysis (Space Time Pattern Mining)
Spatial Analyst Tools
- Viewshed 2
- Weighted Overlay
- Weighted Sum
- Zonal Statistics
- Zonal Statistics As Table
- Reclassify
Geostatistical Analyst Tools
- Areal Interpolation Layer To Polygons
- Cross Validation
- Densify Sampling Network
- Diffusion Interpolation With Barriers
- EBK Regression Prediction
- Empirical Bayesian Kriging
- Create Geostatistical Layer
- GA Layer To Contour
- GA Layer To Grid
- GA Layer To Points
- GA Layer To Rasters
- Moving Window Kriging
- Gaussian Geostatistical Simulations
- Generate Subset Polygons
- Global Polynomial Interpolation
- IDW
- Kernel Interpolation With Barriers
- Local Polynomial Interpolation
- Radial Basis Functions
Data Management Tools (Raster and Mosaic Dataset tools)
- Add Rasters To Mosaic Dataset
- Analyze Mosaic Dataset
- Build Footprints
- Build Mosaic Dataset Item Cache
- Build Overviews
- Build Pyramids and Statistics
- Build Seamlines
- Color Balance Mosaic Dataset
- Compute Camera Model
- Compute Control Points
- Compute Tie Points
- Copy Raster
- Export Mosaic Dataset Items
- Export Tile Cache
- Generate Point Cloud
- Generate Raster Collection
- Generate Raster From Raster Function
- Import Tile Cache
- Interpolate From Point Cloud
- Manage Tile Cache
- Register Raster
- Split Raster
- Synchronize Mosaic Dataset
Image Analyst Tools
- Weighted Sum
- Zonal Statistics
如果您指定一个百分比值(用符号 % 代表),则所用的进程数量将取计算机核数量的指定百分数(取最近的整数)。例如,对于四核计算机
- 设置 50% 意味着此操作将跨两个进程(50% * 4 = 2)。
- 设置 66% 意味着此操作将跨三个进程(66% * 4 = 2.64,取整数 3)。
- 设置 100% 意味着此操作将跨四个进程(100% * 4 = 4)。
关于I/O bound的解释:
I/O bound 指的是系统的CPU效能相对硬盘/内存的效能要好很多,此时,系统运作,大部分的状况是 CPU 在等 I/O (硬盘/内存) 的读/写,此时 CPU Loading 不高。
CPU bound 指的是系统的 硬盘/内存 效能 相对 CPU 的效能 要好很多,此时,系统运作,大部分的状况是 CPU Loading 100%,CPU 要读/写 I/O (硬盘/内存),I/O在很短的时间就可以完成,而 CPU 还有许多运算要处理,CPU Loading 很高。
指定的进程数量大于计算机所具有的核数量,可能导致性能损失。这是因为多进程将在一个核上争夺资源。为避免这样的竞争,您可以指定并行处理因子,可以使用低于 100% 的百分数值或少于计算机核数量的进程数量。
然而,当所有进程均是对磁盘或企业级数据库连接的 I/O bound 时,您可通过指定多于核数量的进程以提高性能。例如将镶嵌数据集储存到企业级数据库时,添加栅格至镶嵌数据集 工具是 I/O bound。同样,构建概视图工具对磁盘的主要的 I/O bound。您可通过指定大于 100% 的百分比或大于计算机所含核数量的进程数量,来使用更多进程。例如,如果您有一台四核计算机,则指定 8 或 200%,这会跨八个进程展开操作。
并行处理因子 - 工具进行操作所跨进程数量。
- 空 - 让各工具决定使用进程的数量。这是默认设置。
- 0 - 不跨多个进程进行操作。
- n - 使用指定的进程数量。
- n% - 使用指定百分比计算进程数量:进程数量 = 系统核数量 * n / 100。