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
Small Objects (1B-1KB):
- Allocate 25-30% of total memory
- Focus on 256B, 512B, and 1KB blocks
- Most frequently accessed (60% of allocations)
Medium Objects (2KB-64KB):
- Allocate 50-60% of total memory
- Prioritize 2KB, 4KB, and 8KB blocks
- Balance between fragmentation and utilization
Large Objects (128KB-64MB):
- Allocate 15-20% of total memory
- Emphasize 128KB, 256KB, and 512KB blocks
- Minimize external fragmentation
