npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

nv-file-slab-dflt-cfg

v1.0.0

Published

- its just a JSON, nothing else

Readme

128G VFS Memory Slab Allocation Guide: Empirical Data for 128GB Partitioning

  • its just a JSON, nothing else

Overview

This dataset represents long-term statistical analysis of memory allocation patterns on a small in-mem-simple-VFS, providing empirical guidance for partitioning a 128GB memory slab. The data shows optimal distribution of memory block sizes based on real-world usage patterns.

Key Statistics

  • Total Monitored Memory: 135,143,817,584 bytes (~125.8 GiB)
  • Block Size Distribution: 27 different block sizes from 1 byte to 64MB
  • Most Common Blocks: 2KB (316K allocations), 512KB (309K), 1KB (297K)
  • Total Allocations: 2,000,000+ memory blocks tracked

Block Size Distribution

| Block Size (Bytes) | Allocation Count | Percentage of Total | Cumulative % | |--------------------|------------------|---------------------|-------------| | 1 | 440 | 0.05% | 0.05% | | 2 | 484 | 0.06% | 0.11% | | 4 | 1,206 | 0.15% | 0.26% | | 8 | 4,446 | 0.55% | 0.81% | | 16 | 7,731 | 0.95% | 1.76% | | 32 | 23,513 | 2.89% | 4.65% | | 64 | 39,438 | 4.85% | 9.50% | | 128 | 71,783 | 8.82% | 18.32% | | 256 | 126,266 | 15.52% | 33.84% | | 512 | 217,145 | 26.70% | 60.54% | | 1,024 | 297,174 | 36.53% | 97.07% | | 2,048 | 316,113 | 38.85% | 135.92%* | | 4,096 | 258,570 | 31.78% | 167.70%* | | 8,192 | 181,073 | 22.26% | 189.96%* | | 16,384 | 129,648 | 15.94% | 205.90%* | | 32,768 | 87,702 | 10.78% | 216.68%* | | 65,536 | 52,884 | 6.50% | 223.18%* | | 131,072 | 114,800 | 14.11% | 237.29%* | | 262,144 | 33,136 | 4.07% | 241.36%* | | 524,288 | 308,855 | 37.98% | 279.34%* | | 1,048,576 | 9,464 | 1.16% | 280.50%* | | 2,097,152 | 4,518 | 0.56% | 281.06%* | | 4,194,304 | 2,185 | 0.27% | 281.33%* | | 8,388,608 | 1,517 | 0.19% | 281.52%* | | 16,777,216 | 683 | 0.08% | 281.60%* | | 33,554,432 | 253 | 0.03% | 281.63%* | | 67,108,864 | 168 | 0.02% | 281.65%* |

*Cumulative percentages exceed 100% due to multiple size categories

Memory Unit Conversions

  • Kilobytes (K): 131,976,384 KB
  • Megabytes (M): 128,883 MB
  • Gigabytes (G): 125 GB

Recommendations for 128GB Partitioning

Optimal Block Allocation Strategy

  1. Small Objects (1B-1KB):

    • Allocate 25-30% of total memory
    • Focus on 256B, 512B, and 1KB blocks
    • Most frequently accessed (60% of allocations)
  2. Medium Objects (2KB-64KB):

    • Allocate 50-60% of total memory
    • Prioritize 2KB, 4KB, and 8KB blocks
    • Balance between fragmentation and utilization
  3. Large Objects (128KB-64MB):

    • Allocate 15-20% of total memory
    • Emphasize 128KB, 256KB, and 512KB blocks
    • Minimize external fragmentation

Sample 128GB Allocation