Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fanyang89/slow-mmap
https://github.com/fanyang89/slow-mmap
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/fanyang89/slow-mmap
- Owner: fanyang89
- Created: 2024-08-02T05:04:09.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-02T08:54:20.000Z (4 months ago)
- Last Synced: 2024-08-02T10:27:34.809Z (4 months ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# POC for slow [mmap(2)][1]
## Environment setup
- 1c4g virtual machine
- Linux 3.10.0-957.el7.x86_64## Expected behavior
Memory allocation delayed.
## Real world behavior
```
2024-08-02T16:44:33.884200455+08:00 INFO poc: mmap(2) elapsed: 552.019123ms
2024-08-02T16:44:34.906196913+08:00 INFO poc: mmap(2) elapsed: 1.001015008s
2024-08-02T16:44:35.467195248+08:00 INFO poc: mmap(2) elapsed: 550.014566ms
2024-08-02T16:44:36.026197497+08:00 INFO poc: mmap(2) elapsed: 548.01508ms
2024-08-02T16:44:37.118197043+08:00 INFO poc: mmap(2) elapsed: 540.016055ms
```[1]: https://man7.org/linux/man-pages/man2/mmap.2.html