scalloc | A Fast , Multicore-Scalable , Low-Fragmentation Memory
kandi X-RAY | scalloc Summary
kandi X-RAY | scalloc Summary
scalloc is a C++ library. scalloc has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.
We completely rewrote the allocator from scratch. Please use the current version to obtain benchmarking numbers for scalloc. See Benchmarking. The problem of concurrent memory allocation is to find the right balance between temporal and spatial performance and scalability across a large range of workloads. Our contributions to address this problem are: uniform treatment of small and big objects through the idea of virtual spans, efficiently and effectively reclaiming unused memory through fast and scalable global data structures, and constant-time (modulo synchronization) allocation and deallocation operations that trade off memory reuse and spatial locality without being subject to false sharing. We have implemented an allocator, scalloc, based on these ideas that generally performs and scales in our experiments better than other allocators while using less memory and is still competitive otherwise. While the code provided in this repository is complete in the sence that it supports the full API, it may still require tuning for a specific production environment (read: your environment).
We completely rewrote the allocator from scratch. Please use the current version to obtain benchmarking numbers for scalloc. See Benchmarking. The problem of concurrent memory allocation is to find the right balance between temporal and spatial performance and scalability across a large range of workloads. Our contributions to address this problem are: uniform treatment of small and big objects through the idea of virtual spans, efficiently and effectively reclaiming unused memory through fast and scalable global data structures, and constant-time (modulo synchronization) allocation and deallocation operations that trade off memory reuse and spatial locality without being subject to false sharing. We have implemented an allocator, scalloc, based on these ideas that generally performs and scales in our experiments better than other allocators while using less memory and is still competitive otherwise. While the code provided in this repository is complete in the sence that it supports the full API, it may still require tuning for a specific production environment (read: your environment).
Support
Quality
Security
License
Reuse
Support
scalloc has a low active ecosystem.
It has 135 star(s) with 5 fork(s). There are 19 watchers for this library.
It had no major release in the last 12 months.
scalloc has no issues reported. There are no pull requests.
It has a neutral sentiment in the developer community.
The latest version of scalloc is v1.0.0
Quality
scalloc has 0 bugs and 0 code smells.
Security
scalloc has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
scalloc code analysis shows 0 unresolved vulnerabilities.
There are 0 security hotspots that need review.
License
scalloc is licensed under the BSD-2-Clause License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
scalloc releases are available to install and integrate.
Installation instructions, examples and code snippets are available.
It has 2326 lines of code, 117 functions and 1 files.
It has high code complexity. Code complexity directly impacts maintainability of the code.
Top functions reviewed by kandi - BETA
kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of scalloc
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of scalloc
scalloc Key Features
No Key Features are available at this moment for scalloc.
scalloc Examples and Code Snippets
No Code Snippets are available at this moment for scalloc.
Community Discussions
No Community Discussions are available at this moment for scalloc.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install scalloc
We do not explicitly provide pre-built binaries. However, binaries for Linux (x86_64) can be found in the release section of this repository.
Checkout the latest version. If you don't have a global gyp installation, you can get a local one using. Generate a build environment (using the gyp installation from the previous step).
log_level: Log level that is used through the allocator. [default: kWarning]
reuse_threshold: Utilization of spans that should be revived before they actually get empty (i.e. all objects have been returned). A threshold of 100 corresponds to disabling this feature at compile time. [default: 80]
Debug: Binaries are created with debugging symbols and without optimizations. We also include assertions checking for various invariants.
Release: Binaries are created with maximum optimization levels, no debugging symbols, and without assertions.
Checkout the latest version. If you don't have a global gyp installation, you can get a local one using. Generate a build environment (using the gyp installation from the previous step).
log_level: Log level that is used through the allocator. [default: kWarning]
reuse_threshold: Utilization of spans that should be revived before they actually get empty (i.e. all objects have been returned). A threshold of 100 corresponds to disabling this feature at compile time. [default: 80]
Debug: Binaries are created with debugging symbols and without optimizations. We also include assertions checking for various invariants.
Release: Binaries are created with maximum optimization levels, no debugging symbols, and without assertions.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page