Hi Kevin, On Fri, 2008-02-01 at 12:31 -0800, Kevin Burton wrote: > > Hey guys. > > I'm playing with nilfs2 on an Mtron SSD 32G NAND Flash SATA drive.
We're also preparing for the test on SSD! > NAND is GREAT for random reads but horrible for random writes. > > A log filesystem fixes this problem because when the disk does random > writes it > will just read the block from the previous erase block and wrote a new > block > with the data to the end of the drive, thereby simulating sequential > writes. > > I tested this theory by comparing nilfs2 to XFS on the mtron with a > sysbenchm > random write to test. Sure enough nilfs2 beat out XFS by 8.5x and > wrote at > about 50MB/s which is amazingly impressive. Yes, this is a well-known effect and an age-old application of lfs. Though the primary motivation of NILFS was not in this use, I think it's one of interesting matters when considering the recent rise of the NAND flash devices and their future trends especially for their increase in the capacity. As Chris pointed out, we should once compare lfs-like filesystems justly because we have some choices for this purpose. > The problem is that with I used the sysbench OLTP benchmark it was > only about > 10% faster than an HDD running XFS. > > Not too impressive. > > The OLTP benchmark simulates a MySQL box doing lots of random DELETE, > UPDATE, > and INSERT commands so you end up seeing lots or random writes to the > disk. Umm, I don't know the reason why the OLTP benchmark doesn't show the expected result. Does it invoke many synchronous writes? NILFS incurs overheads for HDD read, so I'm also concerned with read performance of SSD. > Is it possible to disable checkpointing to test my theory? I'm just > about to > dive into the source to test this out but I wanted to post here first > to get > your thoughts. No, I think we cannot disable checkpointing. But if we have good idea to test your theory, we'll reply later. Regards, -- Ryusuke Konishi NILFS team NTT http://www.nilfs.org/ _______________________________________________ users mailing list [email protected] https://www.nilfs.org/mailman/listinfo/users
