How to Install and Uninstall libcache-fastmmap-perl Package on Ubuntu 20.10 (Groovy Gorilla)

Last updated: May 14,2024

1. Install "libcache-fastmmap-perl" package

Please follow the guidelines below to install libcache-fastmmap-perl on Ubuntu 20.10 (Groovy Gorilla)

$ sudo apt update $ sudo apt install libcache-fastmmap-perl

2. Uninstall "libcache-fastmmap-perl" package

This guide covers the steps necessary to uninstall libcache-fastmmap-perl on Ubuntu 20.10 (Groovy Gorilla):

$ sudo apt remove libcache-fastmmap-perl $ sudo apt autoclean && sudo apt autoremove

3. Information about the libcache-fastmmap-perl package on Ubuntu 20.10 (Groovy Gorilla)

Package: libcache-fastmmap-perl
Architecture: amd64
Version: 1.49-1
Priority: optional
Section: universe/perl
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Perl Group
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 119
Depends: libcompress-lz4-perl, libcompress-snappy-perl, perl (>= 5.30.0-9build1), perlapi-5.30.0, libc6 (>= 2.28)
Filename: pool/universe/libc/libcache-fastmmap-perl/libcache-fastmmap-perl_1.49-1_amd64.deb
Size: 43112
MD5sum: 39d86521e5a387b317b8868df3d8727f
SHA1: 8a032482bd4dd8f2374842952f7cdde2661ba69b
SHA256: b0a737526ecce01593efcc569fa898f7228297753aefe7b5d45e058b47bf6f0f
SHA512: 184dc89b6f169442266fd54f65b093c671247b27381e4b30e3dc86f6713e109fb6b0d745fb9ecb22409d5b1d798146312003072608b4db107a722fcc2d8267cc
Homepage: https://metacpan.org/release/Cache-FastMmap
Description-en: Perl module providing a mmap'ed cache
Cache::FastMmap uses the mmap system call to establish an interprocess shared
memory cache. Its core code is written in C, which can provide significant
performance compared to a Pure Perl implementation such as Cache::Mmap. It can
handle rather large pages without the socket connection and latency of using
full-fledged databases where long-term persistence is unnecessary.
.
Since the algorithm uses a dual-level hashing system (a hash is used to find
a page, then another hash within each page to find a given slot), most get
calls can execute in constant O(1) time. The system uses fcntl to handle
concurrent access, but only locks individual pages to reduce contention. The
oldest (least recently used) data is evicted from the cache first, making
this cache implementation most suitable for cases when old data is unlikely
to be searched.
Description-md5: 1ae2c7cbe6861169a2b5c6020c5b69b2