Skip to content

Conversation

igchor
Copy link

@igchor igchor commented Jun 10, 2022

Get tier id of item before calling any function on allocator
(which needs the tierID).


This change is Reviewable

Get tier id of item before calling any function on allocator
(which needs the tierID).
@igchor igchor merged commit dcf4290 into pmem:develop Jun 13, 2022
vinser52 pushed a commit to vinser52/CacheLib that referenced this pull request May 4, 2023
* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented
byrnedj pushed a commit to byrnedj/CacheLib that referenced this pull request Jul 24, 2023
* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented
byrnedj pushed a commit to byrnedj/CacheLib that referenced this pull request Mar 12, 2024
* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented
byrnedj pushed a commit to byrnedj/CacheLib that referenced this pull request May 8, 2024
(multi-tier patch 4.)
---------------------------------
This patch can go after we implement tryEvictToNextMemoryTier (or multi-tier part 2)
and should be combined as such.

* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented
byrnedj added a commit to byrnedj/CacheLib that referenced this pull request May 20, 2024
Part 2.
----------------------------
This patch introduces tryEvictToNextMemoryTier
and some additional multi-tier tests.

We can consider merging tryEvictToNextMemoryTier
with the initial implementation and seperating
the tests into a seperate patch.

Per tier pool stats
(multi-tier patch part 3.)
--------------------
This introduces per tier stats
this can go with multi-tier patch part 2.

Fix token creation and stats (pmem#79)
(multi-tier patch 4.)
---------------------------------
This patch can go after we implement tryEvictToNextMemoryTier (or multi-tier part 2)
and should be combined as such.

* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented

correct handling for expired items in eviction (pmem#86)
(multi-tier patch 5.)
-----------------------------------------------------
This can be merged with patches that fix token creation
and probably squashed into multi-tier patch 2.

- we first check if an item is expired under mmContainer
  lock and if so mark it for eviction so it is recycled
  back up to allocateInternalTier.
byrnedj added a commit to byrnedj/CacheLib that referenced this pull request Jun 25, 2024
Part 2.
----------------------------
This patch introduces tryEvictToNextMemoryTier
and some additional multi-tier tests.

We can consider merging tryEvictToNextMemoryTier
with the initial implementation and seperating
the tests into a seperate patch.

Per tier pool stats
(multi-tier patch part 3.)
--------------------
This introduces per tier stats
this can go with multi-tier patch part 2.

Fix token creation and stats (pmem#79)
(multi-tier patch 4.)
---------------------------------
This patch can go after we implement tryEvictToNextMemoryTier (or multi-tier part 2)
and should be combined as such.

* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented

correct handling for expired items in eviction (pmem#86)
(multi-tier patch 5.)
-----------------------------------------------------
This can be merged with patches that fix token creation
and probably squashed into multi-tier patch 2.

- we first check if an item is expired under mmContainer
  lock and if so mark it for eviction so it is recycled
  back up to allocateInternalTier.
byrnedj added a commit to byrnedj/CacheLib that referenced this pull request Jun 27, 2024
Part 2.
----------------------------
This patch introduces tryEvictToNextMemoryTier
and some additional multi-tier tests.

We can consider merging tryEvictToNextMemoryTier
with the initial implementation and seperating
the tests into a seperate patch.

Per tier pool stats
(multi-tier patch part 3.)
--------------------
This introduces per tier stats
this can go with multi-tier patch part 2.

Fix token creation and stats (pmem#79)
(multi-tier patch 4.)
---------------------------------
This patch can go after we implement tryEvictToNextMemoryTier (or multi-tier part 2)
and should be combined as such.

* Fix issue with token creation

* Do not increment evictFail* stats if evictFailConcurrentFill were incremented

correct handling for expired items in eviction (pmem#86)
(multi-tier patch 5.)
-----------------------------------------------------
This can be merged with patches that fix token creation
and probably squashed into multi-tier patch 2.

- we first check if an item is expired under mmContainer
  lock and if so mark it for eviction so it is recycled
  back up to allocateInternalTier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant