sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] Improving the SKS development model


From: Kim Minh Kaplan
Subject: Re: [Sks-devel] Improving the SKS development model
Date: Sun, 16 Aug 2009 15:35:47 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Yaron Minsky writes:

> Sounds like another good patch!
>
> On Fri, Aug 14, 2009 at 2:45 PM, Kim Minh Kaplan <address@hidden> 
> wrote:
>
>     Note that one reason of the excessive slowness 
>     of build is because of a strange tuning of database, namely pagesize. 
>     By default it is set to 2Kbytes.  Changing to 8Kbytes yields better 
>     results (most keys are above 1Kbytes in size and well below 2Kbytes).

Adding "pagesize: 16" and "ptree_pagesize 16" (maybe 8 is better for the 
ptree) in your sksconf is all it takes (and rebuilding).  Also *not* 
setting the page size by default in settings.ml could be a good idea:

123c123
< let pagesize = ref (Some 2048)
---
> let pagesize = ref (None)
130c130
< let ptree_pagesize = ref (Some 512)
---
> let ptree_pagesize = ref (None)

More interesting would be to find were the 50% increase in length for a 
pbuild comes from when switching from Berkeley DB 4.6 to Berkeley 
DB 4.7.  Am I the only one seeing this?

Kim Minh.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]