Ext4 ReiserFS Btrfs 等7种文件系统性能比拼

Ext2、Ext3、Ext4、XFS、JFS、ReiserFS 和 Btrfs 的全面性能测试,对比结果如下:

完整表,请看: filesystem.html


reclen write rewrite read reread random read random write bkwd read record rewrite stride read fwrite frewrite fread freread
Ext2

real 27m23.545s
user 0m9.184s
sys 4m40.925s
4218,554218,662668,245 245,20885,235175,284101,8641,911,57974,368215,014217,680583,169 244,831
8216,064220,489618,661 243,444146,695215,002176,9082,314,305 129,333215,772218,571605,436 241,144
16218,874219,173609,563242,592246,442220,306292,1142,438,520218,357216,497219,774596,211244,652
32219,584217,859611,712244,445372,023224,151442,6292,423,574334,999218,829219,553606,186 244,346
64216,320219,400622,218243,761478,747227,018580,9602,633,117439,129215,956220,166608,210243,950
128219,286218,318614,559243,862579,724224,346690,9452,467,787537,440219,420218,330607,326244,337
256216,027220,509635,633245,385614,120227,099842,2202,567,169614,753217,744219,897617,728 243,780
Ext3

real 27m26.675s
user 0m9.323s
sys 6m43.199s
4215,478218,294604,858246,14886,758 151,858102,1131,618,76974,979214,446218,569568,659242,772
8217,695218,777609,377244,520148,608190,313171,9031,830,365128,957218,752217,501603,465246,861
16215,683219,822643,396248,815252,255202,374290,6811,915,488219,805216,519219,033568,086243,985
32219,341217,364603,462245,273379,512208,740435,7562,069,791335,303218,578219,086604,572245,578
64216,192220,186665,646 244,234481,101212,185567,7502,106,710442,926217,075220,042618,134 244,870
128218,503219,151616,479244,711589,927212,355683,9432,080,136541,597219,271218,514600,308244,782
256217,255219,213637,417248,555636,309211,793839,9072,125,314618,958218,424218,954600,894245,523
Ext4

real 26m15.771s
user 0m9.609s
sys 5m36.096s
4225,586 224,616 532,721270,17482,398180,231 102,9351,683,47674,990224,893 224,186 277,025584,868
8226,896 221,965 274,314629,603239,913219,223 156,9642,026,184127,553226,382 227,019 292,566593,154
16222,929 229,392 272,022599,360 390,533 223,951 256,8312,114,002212,773227,728 225,332 602,317269,289
32223,703 221,025 566,981262,980380,787227,198 435,7742,157,610338,629226,208 225,816 591,102268,725
64222,236 223,813 593,481268,002522,365 227,268 582,8302,216,225457,252228,294 223,269 614,376269,657
128221,681 222,859 285,304623,990 915,430 231,380 663,3832,276,039573,624226,616 224,477 583,965271,159
256220,129221,608 279,101657,815 889,963 232,256 770,2202,212,083610,074225,877 224,642 288,852603,933
XFS

real 28m43.957s
user 0m9.899s
sys 6m4.268s
4217,459214,348244,600239,64778,424161,673107,6431,711,97674,828218,638216,903227,675240,492
8220,514219,994241,854951,125 248,623 207,750161,1752,214,681127,363218,892211,613219,749240,286
16220,776220,740226,186242,746224,486219,963318,5032,480,826223,664221,106221,694669,693 262,346
32218,481216,919255,232799,715 593,083 225,213408,8162,278,034337,026222,153213,330226,093241,351
64216,921210,031228,877244,161430,479225,432612,8722,568,460448,155224,650209,745221,768239,888
128216,341218,284232,550242,283559,400227,915768,2512,545,859568,945222,605216,060714,911 258,397
256221,444 220,462469,309321,275757,895225,641806,2512,689,152609,077219,703219,815226,021240,108
JFS

real 26m53.990s
user 0m9.096s
sys 4m39.691s
4196,819218,121455,194258,06285,910169,163142,814 1,949,282 92,246 212,270217,272450,996258,928
8211,794215,030445,452258,082147,556208,623236,197 2,214,516159,402 213,076218,146451,013258,767
16209,028214,714455,795257,989248,145218,747399,935 2,587,176 269,527 214,271215,626439,736258,830
32210,454218,204448,067258,568380,325220,682591,781 2,379,845409,061 213,292217,683439,114259,160
64214,862215,636450,430258,413487,982222,660750,139 2,613,574522,050 216,365217,830444,546259,553
128213,152218,084449,185258,775592,912148,064933,583 2,728,229667,878 219,155213,461466,396262,608
256213,119213,514477,804258,508631,376129,0601,055,205 2,727,762717,814 213,771217,569463,931258,291
ReiserFS

real 28m16.075s
user 0m10.134s
sys 7m38.726s
4208,422217,932190,459223,68472,142175,21099,8201,726,65474,081211,433216,255540,847239,091
8214,840218,917610,592240,376146,908210,703176,2952,180,046128,114215,368218,950580,334240,261
16216,886217,827651,240 243,800249,478219,967288,4572,444,958213,780217,438219,510592,932239,510
32214,217219,178645,366 240,227369,030224,795434,5562,372,823329,006217,055217,110554,072240,046
64217,160219,013623,512239,875470,435224,619560,7902,429,552421,615218,043218,734587,074239,802
128215,163219,348624,117 240,364572,926226,463683,6862,530,721530,024215,932218,157577,617240,975
256217,058218,839643,857 240,141615,875224,530825,3642,631,201590,909217,256218,942567,422240,061
Btrfs

real 59m41.974s
user 0m10.382s
sys 18m40.804s
4214,203215,879265,389280,244 65,36710,52016,032773,64434,26094,105194,357269,380268,254
8218,318215,978270,100275,160109,68726,01540,4471,366,91189,489141,760214,990273,446271,531
16219,477215,738284,876282,111178,66247,88172,6231,864,106150,255177,508219,348264,935273,140
32218,835220,886281,550277,054246,933130,288181,7742,573,279 250,936204,491219,736281,894268,989
64216,758218,890282,026275,127 312,803195,963299,6853,270,521 354,200202,362220,928281,331271,676
128216,509220,235279,353274,813368,053215,445343,6963,739,759 414,950216,029219,711276,973272,569
256220,333216,113277,920273,271405,215215,495393,7314,015,851 474,052213,849220,372283,035277,594














Kbytes/sec

本次测试所使用的 Linux kernel 版本为 2.6.29-rc3,文件系统性能测试工具为 IOzone 3.318。

从 测试结果可以看出,Ext4 的综合性能位居现有文件系统之首,JFS、ReiserFS 在读性能方面亦有不俗表现。Btrfs 的小块数据读写性能与平均水平相差甚远,是导致其本次测试总时间超出平均时间两倍的主要原因。较之其它成熟的文件系统,Btrfs 投入生产系统运作可能尚需时日。

 

 

摘自:http://www.kuqin.com/linux/20090204/34063.html

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值