Fragmentation in Large Object Repositories课件.ppt

  1. 1、本文档共28页,可阅读全部内容。
  2. 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
Experimental Setup Single storage node Compared filesystem, database NTFS on Windows Server 2003 R2 SQL Server 2005 beta Repeatedly update (free, reallocate) objects Randomly chose sizes, objects to update Unrealistic, easy to understand Measured throughput, fragmentation 精品文档 Reasoning about time Existing metrics Wall clock time: Requires trace to be meaningful, cannot compare different workloads Updates per volume: Coupled to volume size Storage Age: Average number of updates per object 精品文档 Read performance Clean system SQL good small object performance (inexpensive opens) NTFS significantly faster with objects 1MB SQL degraded quickly NTFS small object performance was low, but constant 0 2 4 6 8 10 12 NTFS SQL NTFS SQL Read Throughput (MB/s) 0 2 4 Updates per object 256 KB Objects 1 MB Objects 精品文档 10MB object fragmentation 0 5 10 15 20 25 30 35 40 0 1 2 3 4 5 6 7 8 9 10 Storage Age Fragments/object SQL Server NTFS NTFS approaching asymptote SQL Server degrades linearly No BLOB defragmenter 精品文档 Rules of Thumb Classic pitfalls Low free space ( 10%) Repeated allocation and deallocation (High storage age) One new problem Small volumes ( 100-1000x object size) Implicit tuning knobs Size of write requests 精品文档 Append is expensive! Neither system can take advantage of final object size during allocation Both API’s provide “append” Leave gaps for future appends Place objects without knowing length Observe same behavior with single and random object sizes 精品文档 Conclusions Get/put storage is important in practice Storage age Metric for comparing implementations and workloads Fragmentation behaviors vary significantly Append leads to poor layout 精品文档 ----BACKUP SLIDES---- 精品文档 Theory vs. Practice Theory focuses on contiguous layout of objects of known size Objects that are allocated in groups are freed in groups Good allocation algorithms exploit this Generally ignored for average case results Leads to pathological behavior in some cases 精品文档 Small objects / Large

文档评论(0)

liuxiaoyu98 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档