On 14-11-2011 05:31, Vlad Khorsun wrote:
> 
>     My doubt is that we will write more pages than necessary. Imagine small 
> cache (CS) 
> and set of actively modifying pages. Currently we will write them one-by-one 
> when new 
> buffer is required. You offer to write, say, 2 pages at time and replace one 
> of them. 
> Second written page could be modified again and we will write it again, so 
> first write 
> was not needed.
> 

But, remember, current cost (maybe of ext4 only) of writing one page at
a time with O_DSYNC should be high than write these extra pages at once
(without O_DSYNC) and do a flush.


Adriano

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
Firebird-Devel mailing list, web interface at 
https://lists.sourceforge.net/lists/listinfo/firebird-devel

Reply via email to