DragonFly bugs List (threaded) for 2007-12
DragonFly BSD
DragonFly bugs List (threaded) for 2007-12
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: [issue884] Performance/memory problems under filesystem IO load


From: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Wed, 19 Dec 2007 14:00:23 +0100

Nicolas Thery wrote:
> Oops.  I've just noticed that block size is 4096k in the original post
> and not 4096.  I did all my experiments with the latter (there is a
> paste bug in my previous email).

I can confirm that creating a 4MB file consumes 1026 wired pages.

So either this is a) insane b) a bug or c) a counting issue, where the
buffer cache gets placed with the wired pages.

>> I traced this with gdb.  The additional wired page is part of a struct
>> buf (b_xio) instance tied to the ./file vnode.   I reckon this vnode
>> stays cached (namecache?) when the dd process ends and deleting ./file
>> forces destruction of the vnode.

I didn't yet look at the code, but does this mean that additionally to
the buffer cache data, this b_xio is kept as well, keeping the *same* data?

cheers
  simon

Attachment: signature.asc
Description: OpenPGP digital signature



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]