Comments (2)
Do you mean using jemalloc to replace posix_memalign? Or replace the whole memory pool?
BTW, photon uses the IOAlloc
interface to representing a memory allocator. The PooledAllocator
is something you can use to generate a IOAlloc
, which can manage memory with a pool.
Of course you can implement you own allocator, as long as it satisfied the IOAlloc interface
from photonlibos.
At first, I thought there was no memory pool, but it has.
from photonlibos.
Related Issues (20)
- [io_uring] Refine submit_wait_by_timer for kernel less than 5.15
- Using ```estring_view``` instead of ```std::string_view``` for APIs, to avoid ABI inconsistency between C++ versions
- photon.fini() will hang with iouring master engine and signalfd HOT 3
- What is 'randomizer' in thread_create for? HOT 2
- install option via cmake? HOT 3
- Issue building on Ubuntu/ARM HOT 11
- [Discussion] Add ENABLE_TLS option HOT 2
- Build fails on fresh Ubuntu 23.04, GCC-13 HOT 11
- Pinning Photon vcpu to specific cpu cores HOT 5
- It would be great if it supports various clients, such as grpc, redis, mysql.. HOT 5
- - HOT 1
- Thread-per-core Architecture HOT 18
- Windows IOCP backend support HOT 4
- EPOLL: Why not set EPOLLONESHOT in add_interest when ONESHOT is set? HOT 4
- Scalable Stack Discuss HOT 4
- Clarification on Lock and Synchronization HOT 19
- build with curl 8.2.1 failed, some macros are deprecated.
- Unit test with lockfree queue `PhotonLockfreeBatchMPMCQueue+Batch` reported mismatch.
- Example for RDMA HOT 2
- TLS implementation does not validate certificate chain HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from photonlibos.