tech-pkg archive

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

Re: Doubling performance of pkgsrc/mk



 +----------+---------+--------+-------+
 | OS       | SmartOS | NetBSD | macOS |
 +----------+---------+--------+-------+
 | Baseline |   12.5s |  10.3s |  3.0s |
 | Patched  |    5.7s |   5.3s |  1.4s |
 +----------+---------+--------+-------+

All of the builds were done on very different hardware so the OPSYS differences aren't interesting, but the patched times show a consistent 2x speedup regardless.

This makes a HUGE difference on slower hardware. For instance, here's benchmark/flops (I wasn't going to wait for Python to compile) on a 33 MHz m68030 running NetBSD-9.99.100:

=> Creating binary package /usr/pkgsrc/packages/All/flops-2.0.tgz
     1625.10 real       672.92 user       749.24 sys

versus

=> Creating binary package /usr/pkgsrc/packages/All/flops-2.0.tgz
      958.06 real       389.40 user       415.06 sys

Are there edge cases we should test, or are you running bulk builds with this tree to shake things out?

John Klos


Home | Main Index | Thread Index | Old Index