黄荣荣
2008-06-09 02:15:27 UTC
hi, I have simply modified ext3cow to let it automatically create a new version of file on every write.
According to the paper of ext3cow on 2005 ACM transaction on storage, the bonnie's rewrite performance of ext3cow is worse than ext3, because the copy-on-write bitmap operations that must be performed when rewriting a buffer.However, when I use bonnie++ to test the performance of the file system, the performance of "rewrite" is better than ext3.
this is ext3's performance:
Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CPmsns710 2016M 10471 98 30663 43 13417 16 13236 99 33837 20 323.4 1
this is ext3cow's performance
Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CPmsns710 2016M 10476 98 30437 43 24653 44 12066 90 32160 20 +++++ +++
I'm confused about the performance result, can somebody shed some light on this?
_________________________________________________________________
MSN ÖÐÎÄÍø£¬×îÐÂʱÉÐÉú»î×ÊѶ£¬°×ÁìŸÛŒ¯ÃÅ»§¡£
http://cn.msn.com
According to the paper of ext3cow on 2005 ACM transaction on storage, the bonnie's rewrite performance of ext3cow is worse than ext3, because the copy-on-write bitmap operations that must be performed when rewriting a buffer.However, when I use bonnie++ to test the performance of the file system, the performance of "rewrite" is better than ext3.
this is ext3's performance:
Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CPmsns710 2016M 10471 98 30663 43 13417 16 13236 99 33837 20 323.4 1
this is ext3cow's performance
Version 1.03 ------Sequential Output------ --Sequential Input- --Random- -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CPmsns710 2016M 10476 98 30437 43 24653 44 12066 90 32160 20 +++++ +++
I'm confused about the performance result, can somebody shed some light on this?
_________________________________________________________________
MSN ÖÐÎÄÍø£¬×îÐÂʱÉÐÉú»î×ÊѶ£¬°×ÁìŸÛŒ¯ÃÅ»§¡£
http://cn.msn.com