Write delay appears to be fixed @ 5 secs?

Report bugs or suggestions around FancyCache
Post Reply
Bjameson
Level 6
Level 6
Posts: 62
Joined: Mon Nov 08, 2010 12:00 pm

Write delay appears to be fixed @ 5 secs?

Post by Bjameson »

Still beta-testing on the only machine that FC still runs on. My other machine has been permanently locked out by FC :roll:

I've been experimenting with the write delay (beta 0.3.0.0). Suppose I set it to 30 secs and issue enough writes to fill both the L1 and the L2 caches (L2 caches to to 3 GB of invisible memory).

No matter what I do, I can see by the flashing of the disk light that FC flushes its write buffers after exactly 5 seconds. After the first flush, no further writes take place.

The stats (especially the L2 stats) confirm this. The count of unwritten blocks suddenly and sharply drops after 5 secs.

Any suggestion? I guess I'm just overlooking something.
Thanks.
User avatar
Support
Support Team
Support Team
Posts: 3635
Joined: Sun Dec 21, 2008 2:42 am

Re: Write delay appears to be fixed @ 5 secs?

Post by Support »

Hi,

the statistics items related to the defer write are
"Deferred Blocks (current)" : # of blocks which are written in cache but haven't been written to the disk/volume yet.
"Write Bytes (Deferred, Urgent/Normal)": # of bytes which have been flushed/written to the disk/volume.
Post Reply