My WebLink
|
Help
|
About
|
Sign Out
Home
Browse
Search
CRDSS_Task1_05-14_GeneralPerformanceIssues
CWCB
>
Decision Support Systems
>
DayForward
>
CRDSS_Task1_05-14_GeneralPerformanceIssues
Metadata
Thumbnails
Annotations
Entry Properties
Last modified
9/25/2011 10:18:53 AM
Creation date
5/30/2008 2:39:46 PM
Metadata
Fields
Template:
Decision Support Systems
Title
CRDSS Task 1.05-14 - Study of System Integrarion Issues General Performance Issues
Description
This memorandum addresses general issues related to system performance.
Decision Support - Doc Type
Task Memorandum
Date
5/10/1994
DSS Category
DMI Utilities
DSS
Colorado River
Basin
Colorado Mainstem
Contract/PO #
C153658, C153727, C153752
Grant Type
Non-Reimbursable
Bill Number
SB92-87, HB93-1273, SB94-029, HB95-1155, SB96-153, HB97-008
Prepared By
Riverside Technology inc.
There are no annotations on this page.
Document management portal powered by Laserfiche WebLink 9 © 1998-2015
Laserfiche.
All rights reserved.
/
5
PDF
Print
Pages to print
Enter page numbers and/or page ranges separated by commas. For example, 1,3,5-12.
After downloading, print the document using a PDF reader (e.g. Adobe Reader).
Show annotations
View images
View plain text
conduct analyses. For example, if generating a baseline data set for the water rights planning model <br />using a DMI requires "too much time", then perhaps the baseline files could automatically be created <br />and stored in a common location. Individual users could then access that data directly rather than <br />having to each recreate the data from the database. If the user is running a model on a remote <br />machine, such as at the Briefing Room, and the DMI data transfer is slow, then issues related to <br />network speed will be studied. Perhaps it will be necessary to dump the flat files onto the server <br />machine and then transfer all of the files to the remote machine. <br />General Code Optimization <br />Because most of the analytical code to be used in the CRDSS will consist of existing code (e.g., <br />CRSM and the selected water rights planning model), it is unlikely that a great deal of effort will be <br />spent improving the performance of the existing code. It often takes a great deal of time to decipher <br />someone else's code (depending on the documentation), and changing the code will distance the code <br />from its original form (and consequently decrease the likelihood that the code could be updated if the <br />author releases a new version). An exception to this is that MODSIM code performance could be <br />improved because the author of the code is part of the CRDSS team. <br />Code related to GUI components will most likely perform well because GUI components are <br />interactive and do not involve a great deal of "number-crunching." Additionally, much of the GUI <br />code will exist as system libraries such as the Motif libraries, and cannot be recompiled. The <br />consumptive use model will use GIS technology to perform analyses. However, both ARC/INFO <br />and GRASS are existing code that will not be rewritten. <br />New (or recompiled) code that is part of CRDSS applications can be compiled using the optimize <br />compiler options (e.g., "-O1, -O2, -O3") to take advantage of general optimization technology. This <br />generally involves elimination of unused variables, inlining of code (replacing a function call with <br />the code for that call), and unrolling loops (using separate assignment commands for short loops <br />rather than incurring overhead for executing the loop). RTi has used optimizing compilers before <br />and has sometimes found bugs with such compilers. Consequently, it is important that all code be <br />verified after it is optimized. <br />prof <br />Standard UNIX tools such as can be used to profile executables. This involves compiling the <br />code with the profile option ("-p"), executing the code to generate profile information, and then <br />running the profile command to review the results. Such a procedure will indicate which routines <br />use the majority of processing resources. These routines can then be targeted for recoding to make <br />the code more efficient. <br />Code can also be optimized simply by following good programming techniques. For example, <br />ensure that memory is accessed efficiently by using loop indexes that are in the appropriate order for <br />the language being used. C stores arrays by rows and FORTRAN stores arrays by column. <br />Model Performance <br />Model performance should be evaluated by treating models as stand-alone programs. Model <br />performance is related mainly to input/output operations (e.g., reading/writing files) and solution <br />algorithm speed. Current experience with MODSIM on a SUN workstation indicates that <br />approximately two hours are required to solve a system roughly equivalent to the Gunnison River <br />basin. It is currently unknown how well the SGI machines will perform when running models. RTi <br />3 <br />A275 05.10.94 1.05-14 Malers, Brazil <br />
The URL can be used to link to this page
Your browser does not support the video tag.