pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/php-apcu



Module Name:    pkgsrc
Committed By:   taca
Date:           Sat Aug  2 03:20:23 UTC 2025

Modified Files:
        pkgsrc/www/php-apcu: Makefile distinfo

Log Message:
www/php-apcu: update to 5.1.25

5.1.25 (2025-07-28)

* If the cache is full, try to clean up expired entries based on their
  per-entry hard TTL even if the soft apc.ttl is 0.  Previously the entire
  cache was discarded.

* If a new entry cannot be inserted due to fragmentation, the cache will be
  defragmented, combining many small free blocks into one big free block by
  moving around cache entries.  This avoids the need to discard the entire
  cache in more cases.

* The access time (which is used by the soft apc.ttl) is now also updated
  when using apcu_exists().

* apc.entries_hint now defaults to 512 entries per 1MB of shared memory.
  Previously the default was 4096, independent of shm_size.  This could lead
  to a large number of hash collisions if shm_size was increased without
  also increasing entries_hint.

* Added apc.mmap_hugepage_size to use huge pages of a certain size for the
  apcu shared memory segment.  This requires support for huge pages to be
  enabled in the kernel.  Note that even if this option is not set, shared
  memory is still configured to use transparent huge pages.

* The apc.shm_segments ini option has been removed. Multiple SHM segments
  are no longer supported. (They were already not supported when using mmap,
  which is the default mode of operation)

* The apc.smart configuration setting should now work more reliably.
  Values > 1 can be used to increase the chance of discarding the entire
  cache when the amount of memory freed by removing expired entries was too
  small.  This could be useful if performance degrades due to executing the
  logic to remove expired entries (+ defragmentation) too frequently during
  periods of high memory usage.

* The number of cache cleanups performed (removal of expired entries) is now
  available in the array returned by apcu_cache_info() (via array key
  "cleanups").

* The number of defragmentations performed is now available in the array
  returned by apcu_cache_info() (via array key "defragmentations").

* Fixed several issues that caused inserting new entries to fail
  unexpectedly.

Internal changes:

* Fixed -Wclobbered compiler warnings.

* All cache data structures are now relocatable, i.e. independent of the
  base address of the cache.  This enables defragmentation support.

* Hash slots now use doubly linked lists. This is necessary for
  defragmentation.


To generate a diff of this commit:
cvs rdiff -u -r1.27 -r1.28 pkgsrc/www/php-apcu/Makefile \
    pkgsrc/www/php-apcu/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/php-apcu/Makefile
diff -u pkgsrc/www/php-apcu/Makefile:1.27 pkgsrc/www/php-apcu/Makefile:1.28
--- pkgsrc/www/php-apcu/Makefile:1.27   Sat Feb  8 04:04:39 2025
+++ pkgsrc/www/php-apcu/Makefile        Sat Aug  2 03:20:23 2025
@@ -1,8 +1,7 @@
-# $NetBSD: Makefile,v 1.27 2025/02/08 04:04:39 taca Exp $
+# $NetBSD: Makefile,v 1.28 2025/08/02 03:20:23 taca Exp $
 
 MODNAME=       apcu
-PECL_VERSION=  5.1.24
-PKGREVISION=   1
+PECL_VERSION=  5.1.25
 CATEGORIES+=   sysutils
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
Index: pkgsrc/www/php-apcu/distinfo
diff -u pkgsrc/www/php-apcu/distinfo:1.27 pkgsrc/www/php-apcu/distinfo:1.28
--- pkgsrc/www/php-apcu/distinfo:1.27   Sun Sep 22 14:58:18 2024
+++ pkgsrc/www/php-apcu/distinfo        Sat Aug  2 03:20:23 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.27 2024/09/22 14:58:18 taca Exp $
+$NetBSD: distinfo,v 1.28 2025/08/02 03:20:23 taca Exp $
 
-BLAKE2s (php-apcu/apcu-5.1.24.tgz) = f864aced38a926c4691823f6571480e77258548af6cb247655bc6405b452036d
-SHA512 (php-apcu/apcu-5.1.24.tgz) = 771c0551feb35bf64bc07a7a2c60c9b549009a252f4f158fbc83c7d77f4119d84291a1128302a350042d83879dcb38a445672ce115d8c14b969b51f423a446fa
-Size (php-apcu/apcu-5.1.24.tgz) = 90866 bytes
+BLAKE2s (php-apcu/apcu-5.1.25.tgz) = d143eb6cc3ad5f679f6d58ba11d18cfdae45ccd29ef0257d37b82e175dbc0e5c
+SHA512 (php-apcu/apcu-5.1.25.tgz) = 463d9e71b6bb0a1fb1e34b1f7b263aa1c78719d4e94f03e47dde0dc88c39e958a62671098c652d9651883c8182250a90d61d3ce56b8c41056b4bd6e7b6a054f5
+Size (php-apcu/apcu-5.1.25.tgz) = 94319 bytes
 SHA1 (patch-config.m4) = 5f301583137a0c5a928b7372aa32cd319aa17cc7



Home | Main Index | Thread Index | Old Index