Comment 17 for bug 570805

Revision history for this message
Jakob Unterwurzacher (jakobunt) wrote : Re: [regression] dpkg fsync cause massive regression in Ubuntu Server and Alternate installation times

Test on ext3 (Karmic upgraded to Lucid), 5400rpm notebook hd. Note that i think in addition to dropping the caches, we have to sync before running the test to get somewhat stable results.

Commands used (as root):
  sync; echo 3 > /proc/sys/vm/drop_caches; time dpkg -i /var/cache/apt/archives/openoffice.org-common_1%3a3.2.0-7ubuntu4_all.deb | ts
  sync; echo 3 > /proc/sys/vm/drop_caches; time dpkg -i /var/cache/apt/archives/ubuntu-docs_10.04.3_all.deb | ts

Results, old dpkg (1.15.5.6ubuntu4):
  openoffice.org-common: 26s unpack, 93s real
  ubuntu-docs: 24s unpack, 51s real

Results, Colin's PPA dpkg (1.15.5.6ubuntu5~ppa1):
  openoffice.org-common: 31s unpack, 94s real
  ubuntu-docs: 23s unpack, 54s real

So ext3 doesn't care at all - it's not regressing at least.