Greetings,

The following webrev contains performance fixes for client cache usage:

  19130 non-existent caches can significantly degrade transport
        performance
  19131 repository class should assume v4+ format uses v1 file layout
  19132 image class should assume v4+ format uses v1 file layout

https://cr.opensolaris.org/action/browse/pkg/swalker/pkg-cache-1/webrev/

These changes reduce the number of failed stat calls by about 66% during a pkg update -nv on my system. When the cache is "cold", this can significantly improve transfer performance (1MB/s -> 6MB/s).

These changes also fix a bug where every configured file repository was checked for every single file downloaded multiple times. In my system's case, one of the configured repositories is a file repository for which I/O requests are very slow (think /nfs repo to a distant country), and this change reduced the transfer time by at least 30 minutes. For some users with an NFS-configured repository, this could reduce transfer times by hours.

-Shawn
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to