Windows Hardware Performance Tuning for Nastran. Easwaran Viswanathan (Siemens PLM Software)

Similar documents
COMP283-Lecture 3 Applied Database Management

Storage Devices for Database Systems

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 6 Supporting Hard Drives

Forensic Toolkit System Specifications Guide

IBM Tivoli Storage Manager for Windows Version Installation Guide IBM

Chapter 6 - External Memory

FEMAP/NX NASTRAN PERFORMANCE TUNING

Virtual Memory. Reading. Sections 5.4, 5.5, 5.6, 5.8, 5.10 (2) Lecture notes from MKP and S. Yalamanchili

PowerVault MD3 SSD Cache Overview

I/O CANNOT BE IGNORED

A+ Guide to Hardware: Managing, Maintaining, and Troubleshooting, 5e. Chapter 6 Supporting Hard Drives

Computer Organization and Structure. Bing-Yu Chen National Taiwan University

Storage. Hwansoo Han

CSCI-GA Database Systems Lecture 8: Physical Schema: Storage

Performance of relational database management

Adaptec MaxIQ SSD Cache Performance Solution for Web Server Environments Analysis

Upgrade to Webtrends Analytics 8.5: Best Practices

Chapter 6. Storage and Other I/O Topics

ASN Configuration Best Practices

VI-CENTER EXTENDED ENTERPRISE EDITION GETTING STARTED GUIDE. Version: 4.5

CS370 Operating Systems

Comparing Performance of Solid State Devices and Mechanical Disks

Data center requirements

Mtron SSD Installation and Performance Analysis in Hetis 965

HYBRID STORAGE TM. WITH FASTier ACCELERATION TECHNOLOGY

CS3600 SYSTEMS AND NETWORKS

How Hard Drives Work

Virtual Desktop Infrastructure

Performance Characterization of the Dell Flexible Computing On-Demand Desktop Streaming Solution

Second Conference on Parallel, Distributed, Grid and Cloud Computing for Engineering

WHITEPAPER. Disk Configuration Tips for Ingres by Chip nickolett, Ingres Corporation

Take control of storage performance

HPC File Systems and Storage. Irena Johnson University of Notre Dame Center for Research Computing

The Operating System

Chapter 10: Mass-Storage Systems. Operating System Concepts 9 th Edition

IBM InfoSphere Streams v4.0 Performance Best Practices

HP and NX. Introduction. What type of application is NX?

Introduction to I/O and Disk Management

INCA V7 Performance Tips And Tricks

Viewtier Parabuild 4.3. Installation Guide

NetVault Backup Client and Server Sizing Guide 2.1

NetVault Backup Client and Server Sizing Guide 3.0

I/O CANNOT BE IGNORED

Introduction to I/O and Disk Management

SurFS Product Description

Modern RAID Technology. RAID Primer A Configuration Guide

Che-Wei Chang Department of Computer Science and Information Engineering, Chang Gung University

Linux+ Guide to Linux Certification, Third Edition. Chapter 6 Advanced Installation

SONAS Best Practices and options for CIFS Scalability

V. Mass Storage Systems

Concepts Introduced. I/O Cannot Be Ignored. Typical Collection of I/O Devices. I/O Issues

W H I T E P A P E R. Comparison of Storage Protocol Performance in VMware vsphere 4

CS 261 Fall Mike Lam, Professor. Memory

Chapter 6. Storage and Other I/O Topics

Toshiba Solid State Drive PC Upgrade Kit. Toshiba Solid State Drive:

Specifying Storage Servers for IP security applications

Computer Performance

Chapter 10: Mass-Storage Systems

FAQs HP Z Turbo Drive Quad Pro

3.1. Storage. Direct Attached Storage (DAS)

Storage. CS 3410 Computer System Organization & Programming

IT Best Practices Audit TCS offers a wide range of IT Best Practices Audit content covering 15 subjects and over 2200 topics, including:

Implementing Software RAID

Dell EMC Ready Bundle for HPC Digital Manufacturing Dassault Systѐmes Simulia Abaqus Performance

Deep Learning Performance and Cost Evaluation

IBM Spectrum NAS. Easy-to-manage software-defined file storage for the enterprise. Overview. Highlights

Chapter 12: Mass-Storage

Lecture 29. Friday, March 23 CS 470 Operating Systems - Lecture 29 1

Mtron SSD Installation and Performance in Hetis 965 Brian Klug

Catalogic DPX TM 4.3. ECX 2.0 Best Practices for Deployment and Cataloging

Pension System/Windows. Installation Guide

PAC094 Performance Tips for New Features in Workstation 5. Anne Holler Irfan Ahmad Aravind Pavuluri

Mass-Storage Structure

CSE 378 Final 3/18/10

WEBHOSTS, ISPS & RESELLERS SETUP REQUIREMENTS & SIGNUP FORM LOCAL CLOUD

Zadara Enterprise Storage in

Database Management Systems, 2nd edition, Raghu Ramakrishnan, Johannes Gehrke, McGraw-Hill

Actian Hybrid Data Conference 2018 London

System Requirements EDT 6.0. discoveredt.com

DP Computer Science Unit 6: Managing system resources

Chapter 9: Peripheral Devices: Magnetic Disks

WHITE PAPER. Know Your SSDs. Why SSDs? How do you make SSDs cost-effective? How do you get the most out of SSDs?

Lesson 2: Using the Performance Console

NVIDIA RAID Installation Guide

T E C H N I C A L S A L E S S O L U T I O N S

CMSC 424 Database design Lecture 12 Storage. Mihai Pop

Database Systems II. Secondary Storage

Storage Update and Storage Best Practices for Microsoft Server Applications. Dennis Martin President, Demartek January 2009 Copyright 2009 Demartek

Deep Learning Performance and Cost Evaluation

IBM V7000 Unified R1.4.2 Asynchronous Replication Performance Reference Guide

8 ISSUE 02 SPECIAL EDITION. Installing opensuse Ready to get started? This article shows you how to install opensuse from the disc

The Drive Interface Progress Cycle

Virtual File System -Uniform interface for the OS to see different file systems.

Presented by: Nafiseh Mahmoudi Spring 2017

Iomega REV Drive Data Transfer Performance

Hybrid Storage for Data Warehousing. Colin White, BI Research September 2011 Sponsored by Teradata and NetApp

Chapter 12: Mass-Storage

STORAGE MANAGEMENT USING OPENFILER II

Computer Architecture Computer Science & Engineering. Chapter 6. Storage and Other I/O Topics BK TP.HCM

Chapter 12: Mass-Storage

Transcription:

Windows Hardware Performance Tuning for Nastran By Easwaran Viswanathan (Siemens PLM Software) NX Nastran is a very I/O intensive application. It is important to select the proper hardware to satisfy expected performance goals. Hardware bottlenecks can limit the effectiveness of software tuning. The table below provides important consideration to help remove some of the performance bottlenecks. Component Recommendation Processors When the option is available, a 64-bit processor should be chosen as this provides additional address space if the system has more than 4GB RAM Cache Memory (RAM) and Paging Storage Choose large L2 or L3 processor caches. The larger caches generally provide better performance and often play a bigger role than raw CPU frequency. Install as much RAM as possible. The system will use a percentage of unallocated memory for I/O cache. When the computer runs low on memory it will use hard disk space to supplement memory through a procedure called paging. Excessive paging can degrade overall system performance. For smaller servers, a page file of 1.5 times the amount of RAM is needed by default. For servers that have hundreds of gigabytes of memory, the benefit of a paging file of larger than 50 GB is unclear Disks Paging can be optimized by 1. Place the pagefile and operating system files on separate physical disk drives (not on separate disk partitions) 2. Use multiple disks or a disk array if additional disk bandwidth is needed for paging. Higher rotational speeds reduce random request service times. Ultra SCSI, SAS and SATA drives with higher RPM would be beneficial. Disk I/O will benefit from RAID striping. Choose Raid-0 or Raid-5 configuration. Raid-0 is a data layout scheme where in sequential logical blocks of a pre-chosen size (the stripe unit) is laid out in a round-robin manner across multiple disks. It presents a logical disk that stripes disk accesses over a set of physical disks.

Antivirus and Anti-Spyware Installing antivirus and anti-spyware software greatly affects overall system performance, especially on the CPU usage. Performance can be enhanced if a list of files/folders (for eg., Nastran scratch directory and files) are excluded from active monitoring. Disabling File Last Access Time Check Windows Server 2003 and earlier Windows operating systems update the last-accessed time of a file when applications open, read, or write to the file. This increases the number of disk I/Os, which further increases the CPU overhead of virtualization. If applications do not use the last-accessed time on a server, system administrators should consider setting this registry key to disable these updates. NTFSDisableLastAccessUpdate HKLM\System\CurrentControlSet\Control\FileSystem\ (REG_DWORD) By default, both Windows Vista and Windows Server 2008 disable the last-access time updates. I. Memory System Memory Memory consists of physical memory (RAM) and pagefile (swap or virtual) memory. Pagefile or swap memory uses disk storage to supplement memory. NX Nastran performance will degrade if the memory requested by the mem or memory keyword exceeds physical memory or the RAM. It is strongly recommended not to specify more than 50 60 % of available memory to NX Nastran using the mem keyword. On Windows as well as other on operating systems, a part of the unallocated RAM is used for I/O caching. Therefore, when physical memory on the system is increased, the disk I/O performance is enhanced. Unfortunately, there is no parameter setting available in Windows to specify the amount of physical memory to be dedicated for I/O cache. Therefore, it is important to only request (via. the mem keyword) as much memory as needed for individual solution run. Requesting substantially more memory than needed (for example, requesting mem=6.5gb for a run that just requires 1.0GB ) will prevent the extra memory from being used for I/O cache by the operating system. Additionally, the operating system and any other running processes consume system resources such as memory and cpu time. The memory available for NX Nastran will therefore be

Available memory for NX Nastran = RAM memory used by other processes memory for I/O cache The more memory specified for NX Nastran would mean less memory available for (process memory + I/O cache). Since NX Nastran is a highly I/O intensive application, the performance will deteriorate if more memory is specified for Nastran and less memory is available for I/O cache. The amount of memory needed by the solver is output in the F04 file. Important values are (a) minimum memory required, (b) memory required to avoid spill, and (c) memory available. An excerpt is shown below *** USER INFORMATION MESSAGE 4157 (DFMSYN) PARAMETERS FOR SPARSE DECOMPOSITION OF DATA BLOCK KLL ( TYPE=RDP ) FOLLOW MATRIX SIZE = 70345 ROWS NUMBER OF NONZEROES = 2701957 TERMS NUMBER OF ZERO COLUMNS = 0 NUMBER OF ZERO DIAGONAL TERMS = 0 CPU TIME ESTIMATE = 78216 SEC I/O TIME ESTIMATE = 25 SEC MINIMUM MEMORY REQUIREMENT = 1364 K WORDS MEMORY AVAILABLE = 32615 K WORDS MEMORY REQR'D TO AVOID SPILL = 12305 K WORDS MEMORY USED BY BEND = 3651 K WORDS EST. INTEGER WORDS IN FACTOR = 87006 K WORDS EST. NONZERO TERMS = 174758 K TERMS In this case, the minimum memory required is just 1364 K words. This is the bare minimum memory needed for the matrix decomposition. The amount of memory required to avoid spill is 12305 K words and the memory available is 32615 K words. Since the amount of memory available is greater than the minimum amount of memory needed to avoid spill, Nastran will not use the spill logic (essentially when spill logic is activated, Nastran moves information back and forth from memory to disk). Typically, the decomposition module in Nastran requires more memory than other modules. It is therefore recommended that the user specify memory which is greater than the memory required to avoid spill. II. Disks: NFS disks are disks that are mounted remotely to a computer. Performance may degrade significantly if NFS disks are used for the Nastran scratch files. If databases need to be kept for restart runs it is recommended that the user specify a database directory where all Nastran database files can be stored (preferably on the scratch file system setup for Nastran) using the dbs= keyword. If no restart files need to be saved, it is recommended that the user run nastran using the command scr=yes. In this case, all the database files will get written out to the scratch file system of nastran and will be removed at the end of the run. Physical Disks Disk Type The following are the different disk types that are currently available: IDE, SATA, SAS, SCSI and Solid State Disks. The OS can reside on any type of disk without significant

performance degradation. However, the Nastran scratch file system should not reside on an IDE disk. NX Nastran will run significantly slower (compared to a SCSI/SATA/SAS disk drives) if IDE disks are used for scratch files. SATA/SAS disks are cheaper than SCSI disks but may need to be configured to achieve good performance. On some of the older systems the SATA disks are configured in the BIOS settings to be in the compatible mode - This mode essentially means compatible with IDE drives and should be changed in the BIOS (in CONTROLLER MODULE ) from COMPATIBLE to ENHANCED. Also, In the BIOS, SATA AHCI (Advanced Host Controller Interface) should be set to ENABLED. This setting allows the SATA disk to be read as a SCSI disk. Solid-State and Hybrid Drives Until recently, the cost of large quantities of nonvolatile memory was very prohibitive for server configurations. Newer laptops and desktop systems have begun to incorporate flash memory in the form of hybrid disk drives. In these configurations, Windows can explicitly request that some data be cached in a drive s non-volatile memory and other blocks be sent directly to the magnetic media. The typical vehicle for incorporating nonvolatile memory in a server is the solid-state disk (SSD). The most cost-effective way is to place only the hottest data (Nastran scratch files) of a workload onto non-volatile memory Recommendations for NX Nastran In general a windows server is more tuned to higher I/O performance than a windows desktop platform and is preferable for running NX Nastran. Running NX Nastran on a desktop or a non-server machine will cause the machine to appear stalled while NX Nastran is running (since by default the priority for foreground applications are higher on a desktop configuration). This happens when Nastran is performing the I/O operations. Other applications that were up and running might be paged out while Nastran is running in the foreground with high priority. The I/O bottle neck can be overcome by installing the operating system on a separate disk. The pagefile or the swap file should preferably go to a drive which is on a physically different disk. If possible, the operating system, the pagefile/swap file system, and the Nastran scratch files should be on physically different disks. Alternatively, this can be accomplished by using disks in a RAID-0 configuration. Care needs to be exercised to make sure that the total memory requirements do not exceed the memory limits of the system, especially, while running multiple Nastran jobs specifying same amount of memory. On a desktop box, it is recommended that only one Nastran job be run at any given time. NX Nastran uses file mapping on windows XP and older OS to perform I/O operations. File Mapping is the association of a file s contents with a portion of the virtual address space of the process. In other words, a part (view of file) of the file is read into the

memory and I/O is performed from this memory. Additionally, the operating system itself caches the data that is being written out and commits to the disk when this cache becomes full. Therefore, it is important to only request (via. the mem keyword) as much memory as needed for individual solution run. Requesting substantially more memory than needed (eg., requesting mem=6.5gb for a run that just requires 1.0GB ) will prevent the extra memory from being used for I/O cache by the operating system resulting in increased elapsed time for nastran runs. If NX Nastran job is run from a pre-processor, there may not be sufficient memory available for Nastran and or I/O cache. It is recommended that the user export a Nastran input file from the pre-processor and then run NX Nastran via. the NX Nastran GUI or via. NX Nastran command line syntax.