Linux NILFS development
 help / color / mirror / Atom feed
* [SPAM] Database performance is worse with (DIRECT IO)O_DIRECT
@ 2009-08-05 13:59 Yongkun Wang
  2009-08-05 18:16 ` Ryusuke Konishi
  0 siblings, 1 reply; 2+ messages in thread
From: Yongkun Wang @ 2009-08-05 13:59 UTC (permalink / raw)
  To: users-JrjvKiOkagjYtjvyW6yDsg


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

hi, guys

 

I have been using this awesome file system for a while. 

I built a database server on it. The transaction throughput on NILFS2 is about several times faster than that on EXT2.

 

However, when I set the flush method to DIRECT IO (O_DIRECT), the database performance on NILFS2 is even worse than that on EXT2 with DIRECT IO.

 

My conjecture is that probably the log-structured file system need a lot of buffer to apply changes and group the writes.

 

Is it also possible that the implementation of NILFS2 on DIRECT IO is  not very efficient?

 

Before I read the code, could you give me some hints why the performance is not good with DIRECT IO?

Or could you please introduce the implementation relevant to the DIRECT IO?

 

Thank you very much.

 

Best regards,

Yongkun

 


[-- Attachment #1.2: Type: text/html, Size: 3514 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] 2+ messages in thread

end of thread, other threads:[~2009-08-05 18:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-05 13:59 [SPAM] Database performance is worse with (DIRECT IO)O_DIRECT Yongkun Wang
2009-08-05 18:16 ` Ryusuke Konishi

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