How to Install and Uninstall libmmap-allocator-dev Package on Ubuntu 21.10 (Impish Indri)
Last updated: November 22,2024
1. Install "libmmap-allocator-dev" package
Here is a brief guide to show you how to install libmmap-allocator-dev on Ubuntu 21.10 (Impish Indri)
$
sudo apt update
Copied
$
sudo apt install
libmmap-allocator-dev
Copied
2. Uninstall "libmmap-allocator-dev" package
Learn how to uninstall libmmap-allocator-dev on Ubuntu 21.10 (Impish Indri):
$
sudo apt remove
libmmap-allocator-dev
Copied
$
sudo apt autoclean && sudo apt autoremove
Copied
3. Information about the libmmap-allocator-dev package on Ubuntu 21.10 (Impish Indri)
Package: libmmap-allocator-dev
Architecture: amd64
Version: 0.4.0+git20200122.adbfbe1-1
Priority: optional
Section: universe/libdevel
Source: libmmap-allocator
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Med Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 87
Filename: pool/universe/libm/libmmap-allocator/libmmap-allocator-dev_0.4.0+git20200122.adbfbe1-1_amd64.deb
Size: 18900
MD5sum: 28c0e623426157765c7a5070cdf64af5
SHA1: 082356c61d2649d0a3ed3ab370fc432a02646224
SHA256: 069730b27f20c5996277926aab62f0e8359cd796a6b20c290fcc36c5d846d4e4
SHA512: 39d51d192b66597b7e8db5e040aefca50cbc4e22d1a6b15d0921f6676ea98b20844efed0ea81075db692c8c4f4eee99a064621f05ff3bf25fd182c595887b8ca
Homepage: https://github.com/ekg/mmap_allocator/
Description-en: STL allocator that mmaps files
When reading large files (>100MB) into memory, read() calls are usually
not very space and time efficient, since the whole data is copiied at
least once. Furthermore, when using STL containers (like a vector for
example), data is copiied another time unless the location of the vector
content as parameter to read() will be specified.
.
It would be nice to tell the vector a filename and have the vector mmap
the file directly. This not only avoids the read() copiing (and the STL
vector copiing) but also allows different processes that read the same
file to see the same physical memory. Fortunately STL foresees an
interface to do exactly this.
.
Libmmap-allocator helps to handle big files that contain unstructured
data (like doubles or even text files), mmap_allocator is worth a try.
Description-md5: 529e65a711138c35048785870eb84219
Architecture: amd64
Version: 0.4.0+git20200122.adbfbe1-1
Priority: optional
Section: universe/libdevel
Source: libmmap-allocator
Origin: Ubuntu
Maintainer: Ubuntu Developers
Original-Maintainer: Debian Med Packaging Team
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 87
Filename: pool/universe/libm/libmmap-allocator/libmmap-allocator-dev_0.4.0+git20200122.adbfbe1-1_amd64.deb
Size: 18900
MD5sum: 28c0e623426157765c7a5070cdf64af5
SHA1: 082356c61d2649d0a3ed3ab370fc432a02646224
SHA256: 069730b27f20c5996277926aab62f0e8359cd796a6b20c290fcc36c5d846d4e4
SHA512: 39d51d192b66597b7e8db5e040aefca50cbc4e22d1a6b15d0921f6676ea98b20844efed0ea81075db692c8c4f4eee99a064621f05ff3bf25fd182c595887b8ca
Homepage: https://github.com/ekg/mmap_allocator/
Description-en: STL allocator that mmaps files
When reading large files (>100MB) into memory, read() calls are usually
not very space and time efficient, since the whole data is copiied at
least once. Furthermore, when using STL containers (like a vector for
example), data is copiied another time unless the location of the vector
content as parameter to read() will be specified.
.
It would be nice to tell the vector a filename and have the vector mmap
the file directly. This not only avoids the read() copiing (and the STL
vector copiing) but also allows different processes that read the same
file to see the same physical memory. Fortunately STL foresees an
interface to do exactly this.
.
Libmmap-allocator helps to handle big files that contain unstructured
data (like doubles or even text files), mmap_allocator is worth a try.
Description-md5: 529e65a711138c35048785870eb84219