LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: telekroc

老话题--文件系统的选择

[复制链接]
 楼主| 发表于 2009-10-13 10:45:27 | 显示全部楼层
Post by hubert_star;2035906
已经很稳定了,刚开始出现问题也只是在某些情况下才会有这种现象,自从30内核以后ext4应该能够放心使用了


根据以上比较,感觉ext4系统才是最优选择了:daniu:
改天试试,格一个区出来测试一下:thank
回复 支持 反对

使用道具 举报

发表于 2009-10-13 11:15:34 | 显示全部楼层
我现在用的就是Ext4,感觉还不错。
回复 支持 反对

使用道具 举报

发表于 2009-10-13 11:25:37 | 显示全部楼层
Ext4个人感觉已经很稳定了,前一段时间内核2.6.31.1时,打开rtorrent老死机,也没见文件系统出过什么问题
回复 支持 反对

使用道具 举报

发表于 2009-10-13 12:42:10 | 显示全部楼层
极其稳定,用XFS时,有时候非正常关机,某些文件会还原到更改之前的状态,太吓人了;ext4下测试zen-sources内核,累计几十次死机均无明显的文件损坏。
回复 支持 反对

使用道具 举报

发表于 2009-10-13 14:20:40 | 显示全部楼层
Post by langenfeng;2035742
如果机子上小文件不是非常多的话,reiserfs反而效率不高。


超级潜水员!
回复 支持 反对

使用道具 举报

发表于 2009-10-13 15:30:40 | 显示全部楼层
ext3可以live換成ext4嗎?暫時没有多余空間可以挪用。

XFS說大檔案是指多大?
回复 支持 反对

使用道具 举报

发表于 2009-10-13 17:13:07 | 显示全部楼层
ext3向ext4轉換看教程吧,好像沒有live的。
  xfs的大文件是這樣,xfs處理文件是和文件數目有關,文件數目少就時間短,而且幾乎是呈正比的。所以你可以想想怎麼樣的大文件效率算比較理想。
  ext4的數據丟失的問題都是很久以前的事了,2.6.28出這個問題的第二天gentoo-sources就加了補丁了。這個可以放心使用。
回复 支持 反对

使用道具 举报

发表于 2009-10-13 18:38:15 | 显示全部楼层
Post by telekroc;2035883
谈谈xfs怎么样吧~:Coffee:

xfs 3.0.0 比之 2.x.x 前的进步巨大,删除文件速度是闪电,比 resierfs 3.6 快,
如果不和别的文件系统对比,各种性能其实都不错,不会让人发毛,
但是要和resierfs 3.6 比的话, 第一次emerge -pv 和 解压 stage3和 portage之类包含大量小文件的大压缩文件的话,感觉到明显慢了。
reiserfs删除大文件有点让人发毛。

xfs有在线整理,性能稳定。
reiserfs用久了,性能下降一点,但是很不明显。

如果让我再选一次,我用ext4+在线整理。
回复 支持 反对

使用道具 举报

发表于 2009-10-13 18:57:58 | 显示全部楼层
The defragmentation support in ext4 is still a work in progress. The current e4defrag essentially creates a new file that is the same size is the existing file, checks to see if it is less fragmented, and if so, invokes a ioctl which atomically substitutes the blocks from the new file to the new file, while preserving the contents of the file.

It however, doesn't have any concept trying to make the file system better from a global point of view, in terms of (a) making sure the free space is not fragmented so as to avoid the file system becoming fragmented again in the near future, and (b) using a global file system wide strategy to move files aside to "make room" for a large fragmented file. It also hasn't undergone enough testing that it's really a good idea to recommend its use in production settings...

——launchpad #321528


目前的ext4在線整理工具處於起步階段,portage里還沒有,補丁在[color="Blue"]這裡找。

另外問下,XFS在線整理花的時間長嗎,在/usr/portage下用過XFS嗎,又怎麼樣呢?
回复 支持 反对

使用道具 举报

发表于 2009-10-13 20:05:19 | 显示全部楼层
如果有一个系统兼具 reiserfs4 的性能和 reiserfs3.6的稳定的话,俺一定会选用它的。
现在用着 ext4 + reiserfs3.6(存放portage)。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表