OpenFastPath / ofp

OpenFastPath project
BSD 3-Clause "New" or "Revised" License
351 stars 126 forks source link

Use more than one Timer Pool #168

Open brbrooks opened 7 years ago

brbrooks commented 7 years ago

Currently, all Timers are allocated from one giant Timer Pool (containing 10,000 Timers).

Sometimes timers are added to a slot ("long_table" field). When a Timeout Event is received for that slot, it will run through and call all registered callbacks. Instead of doing this, another Timer Pool can be created with an appropriate resolution so that the "slot" code doesn't have to be used on top of a Timer Pool.

sovu commented 6 years ago

TSC 23.01.18

We need to see and understand specific ODP implementations, so that we can use multiple timer resolutions.