Linux NILFS development
 help / color / mirror / Atom feed
* Using nilfs to increase performance of NAND/SSD flash devices.
@ 2008-02-01 20:31 Kevin Burton
       [not found] ` <30c6373b0802011231t75a8a00djab3c82b4de3fa928-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Kevin Burton @ 2008-02-01 20:31 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg


[-- Attachment #1.1: Type: text/plain, Size: 1583 bytes --]

Hey guys.

I'm playing with nilfs2 on an Mtron SSD 32G NAND Flash SATA drive.

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.

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.

In theory nilfs2 should be able to boost hte performance here but I didn't
see
this in practice.

I think what might be happening is that the consistent snapshot support
might be
slowing down performance by keeping older blogs on disk and doing too many
sequential writes thereby seeing slower performance.

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.

Onward!

Kevin

-- 
Founder/CEO Tailrank.com
Location: San Francisco, CA
AIM/YIM: sfburtonator
Skype: burtonator
Work: http://spinn3r.com and http://tailrank.com
Blog: http://feedblog.org
Cell: 415-637-8078
Fax: 1-415-358-419 PIN: 0092

[-- Attachment #1.2: Type: text/html, Size: 1890 bytes --]

[-- Attachment #2: Type: text/plain, Size: 158 bytes --]

_______________________________________________
users mailing list
users-JrjvKiOkagjYtjvyW6yDsg@public.gmane.org
https://www.nilfs.org/mailman/listinfo/users

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-02-05 12:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-02-01 20:31 Using nilfs to increase performance of NAND/SSD flash devices Kevin Burton
     [not found] ` <30c6373b0802011231t75a8a00djab3c82b4de3fa928-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2008-02-04 10:00   ` Chris Samuel
2008-02-05 12:59   ` Ryusuke Konishi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox