There was recently a discussion on planet-debian about making BUILDPLACE a tmpfs. This increases the speed a lot. But then hard-linking of the cached Debian packages fails. An alternative might be to use the copy action (APTCACHEHARDLINK = no). But wouldn't it be sufficient to bind-mount APTCACHE as /var/cache/apt/archives in the chroot? Could there be an alternative option to APTCACHEHARDLINK: APTCACHEBINDMOUNT? IMO this would make it easily possible to use a tmpfs for BUILDPLACE. Regards, Daniel
Additionally, a document about "perf tuning pbuilder" would be nice, starting from the usage or hardlink for sharing cache contents, to /var/cache/pbuilder/build as a tmpfs and the bindmount of apt cache dir into the chroot. Regards,
Additionally, a document about "perf tuning pbuilder" would be nice, starting from the usage or hardlink for sharing cache contents, to /var/cache/pbuilder/build as a tmpfs and the bindmount of apt cache dir into the chroot. Regards,
Hi, At Sun, 03 Jan 2010 22:25:20 +0100, Daniel Leidert wrote: True. It probably depends on how much memory you have; 2GB or more of RAM and you'll probably be able to do that reliably. On the other hand, I personally use cowbuilder, and that seems to be working pretty well for my use-case. regards, junichi
Hi, At Sun, 03 Jan 2010 22:25:20 +0100, Daniel Leidert wrote: True. It probably depends on how much memory you have; 2GB or more of RAM and you'll probably be able to do that reliably. On the other hand, I personally use cowbuilder, and that seems to be working pretty well for my use-case. regards, junichi