📄 methodology.ms
字号:
.\" Copyright (c) 1983 The Regents of the University of California..\" All rights reserved..\".\" Redistribution and use in source and binary forms, with or without.\" modification, are permitted provided that the following conditions.\" are met:.\" 1. Redistributions of source code must retain the above copyright.\" notice, this list of conditions and the following disclaimer..\" 2. Redistributions in binary form must reproduce the above copyright.\" notice, this list of conditions and the following disclaimer in the.\" documentation and/or other materials provided with the distribution..\" 3. All advertising materials mentioning features or use of this software.\" must display the following acknowledgement:.\" This product includes software developed by the University of.\" California, Berkeley and its contributors..\" 4. Neither the name of the University nor the names of its contributors.\" may be used to endorse or promote products derived from this software.\" without specific prior written permission..\".\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION).\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF.\" SUCH DAMAGE..\".\" @(#)methodology.ms 6.2 (Berkeley) 4/16/91.\".ds RH Methodology.NHMethodology.PPOur goal was to evaluate the performance of the target peripheralsin an environment as much like our 4.2BSD UNIX systems as possible.There are two basic approaches to creating this kind of test environment.These might be termed the \fIindirect\fR and the \fIdirect\fR approach.The approach used by DEC in producing most of the performance dataon the UDA50/RA81 system under VMS is what we term the indirectapproach.We chose to use the direct approach..PPThe indirect approach used by DEC involves two steps.First, the environment in which performance is to be evaluatedis parameterized.In this case, the disk I/O characteristics of VMS were measuredas to the distribution of various sizes of accesses and the proportionof reads and writes.This parameterization oftypicalI/O activity was termed a``vax mix.''The second stage involves simulating this mixture of I/O activitieswith the devices to be tested and noting the total volume of transactionsprocessed per unit time by each system..PPThe problems encountered with this indirect approach oftenhave to do with the completeness and correctness of the parameterizationof the context environment.For example, the ``vax mix''model constructed for DECs tests uses a random distribution of seeksto the blocks read or written.It is not likely that any real system produces a distributionof disk transfer locations which is truly random and does notexhibit strong locality characteristics..PPThe methodology chosen by us is directin the sense that it uses the standard structured file system mechanism presentin the 4.2BSD UNIX operating system to create the sequence of locationsand sizes of reads and writes to the benchmarked equipment.We simply create, write, and readfiles as they would be by user's activities.The disk space allocation and disk cacheing mechanism built intoUNIX is used to produce the actual device reads and writes as wellas to determine their size and location on the disk.We measure and compare the rate at which these .Iuser files.Rcan be written, rewritten, or read..PPThe advantage of this approach is the implicit accuracy intesting in the same environment in which the peripheralwill be used.Although this system does not account for the I/O producedby some paging and swapping, in our memory rich environmentthese activities account for a relatively small portionof the total disk activity..PPA more significant disadvantage to the direct approachis the occasional difficulty we have in accounting for ourmeasured results.The apparently straight-forward activity of reading or writing a logical fileon disk can produce a complex mixture of disk traffic.File I/O is supported by a file management system thatbuffers disk traffic through an internal cache,which allows writes to ba handled asynchronously.Reads must be done synchronously,however this restriction is moderated by the use of read-ahead.Small changes in the performance of the disk controllersubsystem can result in large and unexpectedchanges in the file system performance,as it may change the characteristics of the memory contentionexperienced by the processor..ds RH Tests.bp
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -