欢迎来到天天文库
浏览记录
ID:40405276
大小:242.20 KB
页数:15页
时间:2019-08-01
《The Design and Implementation of a Log-Structured File System文稿》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、TheDesignandImplementationofaLog-StructuredFileSystemMendelRosenblumandJohnK.OusterhoutElectricalEngineeringandComputerSciences,ComputerScienceDivisionUniversityofCaliforniaBerkeley,CA94720mendel@sprite.berkeley.edu,ouster@sprite.berkeley.eduAbstractmagnitudemoreefficientlythancurre
2、ntfilesystems.ThispaperpresentsanewtechniquefordiskstorageLog-structuredfilesystemsarebasedontheassump-managementcalledalog-structuredfilesystem.Alog-tionthatfilesarecachedinmainmemoryandthatincreas-structuredfilesystemwritesallmodificationstodiskingmemorysizeswillmakethecachesmoreandmor
3、esequentiallyinalog-likestructure,therebyspeedingupeffectiveatsatisfyingreadrequests[1].Asaresult,diskbothfilewritingandcrashrecovery.Thelogistheonlytrafficwillbecomedominatedbywrites.Alog-structuredstructureondisk;itcontainsindexinginformationsothatfilesystemwritesallnewinformationto
4、diskinasequen-filescanbereadbackfromthelogefficiently.Inordertotialstructurecalledthelog.Thisapproachincreaseswritemaintainlargefreeareasondiskforfastwriting,wedivideperformancedramaticallybyeliminatingalmostallseeks.thelogintosegmentsanduseasegmentcleanertoThesequentialnatureofthelo
5、galsopermitsmuchfastercompresstheliveinformationfromheavilyfragmentedcrashrecovery:currentUnixfilesystemstypicallymustsegments.Wepresentaseriesofsimulationsthatdemon-scantheentiredisktorestoreconsistencyafteracrash,butstratetheefficiencyofasimplecleaningpolicybasedonalog-structuredfil
6、esystemneedonlyexaminethemostcostandbenefit.Wehaveimplementedaprototypelog-recentportionofthelog.structuredfilesystemcalledSpriteLFS;itoutperformsThenotionofloggingisnotnew,andanumberofcurrentUnixfilesystemsbyanorderofmagnitudeforrecentfilesystemshaveincorporatedalogasanauxiliarysmall-
7、filewriteswhilematchingorexceedingUnixperfor-structuretospeedupwritesandcrashrecovery[2,3].How-manceforreadsandlargewrites.Evenwhentheoverheadever,theseothersystemsusethelogonlyfortemporaryforcleaningisincluded,SpriteLFScanuse70%ofthestorage;thepermanenthomeforinformationisinatradi-
8、diskbandwidthforwriting,wh
此文档下载收益归作者所有