ComputerComputerOrganization&DesignOrganization&Design——TheHardware/SoftwareInterfaceTheHardware/SoftwareInterface25/1/271ContentsofChapter6ContentsofChapter66.1Introduction6.2Dependability,Reliability,andAvailability6.3DiskStorage6.4FlashStorage6.5ConnectingProcessors,Memory,andI/ODevices6.6InterfacingI/ODevicestotheProcessor,Memory,andOperatingSystem6.7I/OPerformanceMeasures:ExamplesfromDiskandFileSystems6.8DesigninganI/OSystem6.9ParallelismandI/O:RedundantArraysofInexpensiveDisks225/1/27I/ODesignersmustconsidermanyfactorssuchasexpandabilityandresilience(resume),aswellasperformance.AssessingI/Osystemperformanceisverydifficult.Indifferentsituations,needsusedifferentmeasurements.PerformanceofI/Osystemdependson:connectionbetweendevicesandthesystemthememoryhierarchytheoperatingsystem36.1Introduction6.1Introduction25/1/27AtypicalcollectionofI/OdevicesAtypicalcollectionofI/OdevicesMainmemoryI/OcontrollerI/OcontrollerI/OcontrollerDiskGraphicsoutputNetworkMemory-I/ObusProcessorCacheInterruptsDisk425/1/27ThreecharacteristicsBehaviorInput(readonce),output(writeonly,cannotread),orstorage(canberereadandusuallyrewritten)PartnerEitherahumanoramachineisattheotherendoftheI/Odevice,eitherfeedingdataoninputorreadingdataonoutput.DatarateThepeakrateatwhichdatacanbetransferredbetweentheI/Odeviceandthemainmemoryorprocessor.525/1/27I/Operformancedependsontheapplication:throughput:Inthesescases,I/Obandwidthwillbemostimportant.EvenI/Obandwidthcanbemeasuredintwodifferentwaysaccordingtodifferentsituations:1.Howmuchdatacanwemovethroughthesysteminacertaintime?Forexamples,inmanysupercomputerapplications,mostI/Orequiresareforlongstreamsofdata,andtransferbandwidthistheimportantcharacteristic.I/Orequests:ReadsorwrilestoI/0devices.625/1/272.HowmanyI/Ooperationscanwedoperunitoftime?Forexample,NationalIncomeTaxServicemainlyprocesseslargenumberofsmallfiles.responsetime(e.g.,workstationandPC)boththroughputandresponsetime(e.g.,ATM)725/1/27T...