How to Install and Uninstall libcache-fastmmap-perl Package on Ubuntu 21.04 (Hirsute Hippo)

Last updated: May 13,2024

1. Install "libcache-fastmmap-perl" package

This tutorial shows how to install libcache-fastmmap-perl on Ubuntu 21.04 (Hirsute Hippo)

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

2. Uninstall "libcache-fastmmap-perl" package

Please follow the guidance below to uninstall libcache-fastmmap-perl on Ubuntu 21.04 (Hirsute Hippo):

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

3. Information about the libcache-fastmmap-perl package on Ubuntu 21.04 (Hirsute Hippo)

Package: libcache-fastmmap-perl
Architecture: amd64
Version: 1.56-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: 123
Depends: perl, perlapi-5.32.0, libc6 (>= 2.28), libcompress-lz4-perl, libcompress-snappy-perl
Filename: pool/universe/libc/libcache-fastmmap-perl/libcache-fastmmap-perl_1.56-1_amd64.deb
Size: 44860
MD5sum: 5935673f4c20d9177fc6bf966309d6af
SHA1: 39fe6b4546161b7387b186cfed6f35e86791077c
SHA256: a045ceeb95eacea508eb36858b8783b062e4dc22cd1a35c443d301a1399e3b8e
SHA512: 85b0b4b96f010edba2bd81bdae4c1fb4a26da55ec1b464e904b2ca46ec854f01b588749214ce22d0e5f1fdbe90356aec048efb33b70e3704dc0aec64e58f1cf4
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