Package: dpkg
Version: 1.15.7.2
Severity: normal

Hi,

the fsync()/sync() changes done recently cause significant performance
loss of dpkg when used in chroot environments living on tmpfs.

For short-lived chroots that cause a lot of e.g. dpkg activity (e.g.
pbuilder environments while building, piuparts while testing, ...) I
prefer to have them on tmpfs in order to reduce the amount of I/O which
hits the disk - and get a significant speed boost that way.

Unfortunately since the last dpkg changes concerning sync()/fsync() this
no longer works out well - the continuous sync() from a "virtual" chroot
on tmpfs hits the physical system really hard, causing speed loss
factors between 3-5, probably more if multiple pbuilder builds/piuparts
tests are run in parallel.

Is there a possibility to disable the syncing when dpkg runs on tmpfs?


Andreas

-- System Information:
Debian Release: squeeze/sid
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (130, 
'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils         8.5-1                  GNU core utilities
ii  libbz2-1.0        1.0.5-4                high-quality block-sorting file co
ii  libc6             2.11.2-2               Embedded GNU C Library: Shared lib
ii  libselinux1       2.0.94-1               SELinux runtime shared libraries
ii  xz-utils          4.999.9beta+20100527-1 XZ-format compression utilities
ii  zlib1g            1:1.2.3.4.dfsg-3       compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                           0.7.25.3   Advanced front-end for dpkg

-- no debconf information




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to