Questions tagged [evict]

To evict a part of memory is to clear its contents to make space for new data

52 questions
1
vote
2 answers

How to use cache with queries on different fields/keys?

I am implementing a Spring MVC based web application where I have added caching, but now face a problem in terms of how to operate on the cache when changes are applied to underlying database. I have been studying the documentation from available at…
aksamit
  • 2,325
  • 8
  • 28
  • 40
1
vote
1 answer

Buffer Pool with variable sized pages. Need a high performance way to coalesce pages when incoming page is larger than the page to be evicted

In an implementation of a database buffer pool (memory pool), I have a buffer which consists of pages in memory. The pages have different sizes (all integer multiple of 512kb). Say my eviction policy is LRU (least recently used) but the page I am…
Saher Ahwal
  • 9,015
  • 32
  • 84
  • 152
1
vote
1 answer

Trying to evict second level cache

I am trying to evict the second level cache in my persistence entity manager. Looks like I can use the following function defined in the javax.persistence.Cache interface: /** * Clear the cache. */ public void evictAll(); And in order to get the…
t.smith.htc
  • 203
  • 1
  • 3
  • 12
1
vote
1 answer

Jboss Cache : what happens to an object which evicted from cache?

If Joss cache evicts an object from a node, and the same object has reference to it from another object say objB. Does this condition causes any issue? Can objB manipulate on the evicted object? Thanks in advance.
Dinoop paloli
  • 633
  • 2
  • 8
  • 25
1
vote
1 answer

Unable to find correct access time of evicted lines of L2 cache in core i7 machine

I have core i7 system having L1 cache size 32KB, L2 cache size 256KB, shared L3 cache size 8MB( shared among 4 cores). I have written a program where I execute part A,B,C in a sequential manner. (A) create a big int array with size of 4 times of L2…
santosh-patil
  • 1,540
  • 1
  • 15
  • 29
0
votes
0 answers

How to override apollo client cache policy (cache-first) to make graphql calls?

I have a widget in my react application, where user can refresh to get the newly added tasks in the last hour. I am using cache-first policy to cache my data. But, whenever I am trying to refresh my widget within the same minute, network call is…
0
votes
0 answers

Only three of these PostEvictionCallbacks are fired under the same conditions

I have encountered a strange thing. I have a web api project of .net 6. When IServiceProvider starts, it will use FileService to read data and store it in the cache, and set IChangeToken. If the source file changes, the contents of the cache will be…
0
votes
0 answers

ARM Cortex A53 L1 Data cache eviction

I am trying to evict the L1 data cache of arm cortex a53, I have two threads running on the same core, first thread is performing array calculations and it is really small so the cache can cache its entries and the second thread is executing the…
joe
  • 1
  • 1
0
votes
0 answers

AWS AppSync cache entry eviction from direct lambda resolver

I started building AppSync GraphQL with direct lambda resolvers and per-resolver caching. Then when I added mutation I found that I need a way to invalidate query cached entries. There is a VTL template which does…
0
votes
0 answers

Openshift Depoyment create replicaset the same with old

We have some Openshift Deployments. We no do deploy or manual changes. However, We got an alert at night. After our query, see these Deployments create new ReplicaSet and it's yaml the same with old ReplicaSet, and evnet log display , scale up new…
江小羽
  • 1
  • 1
0
votes
0 answers

Redis allkeys-lfu eviction policy. What happens if multiple keys have least frequency?

Im new to Redis, i'm trying to set eviction policy In Redis we can specify eviction policy in the conf file in case the cache size crosses maxmemory specified maxmemory-policy allkeys-lfu What will happen if multiple keys have same least frequency…
0
votes
1 answer

What are Fill/Evict buffers

Arm A72 core TRM specifies that L1 has a 'fill buffer' and that L2 has a 'fill/evict queue' and the manual does not mention anywhere what they do. Am I right in assuming the following Fill buffer is something that temporarily holds a cache line…
user2927392
  • 249
  • 3
  • 11
0
votes
0 answers

Is the stop method removing cache entries really from memory?

I'm maintaining an old java code that is based on Infinispan 9.4.24 and terminates by an out of memory exception. The code launches 680 threads where each thread receives each second a 2byte data and inserts it in a cache. After one hour, the thread…
0
votes
0 answers

ceph cache-flush-evict-all get err:failed to evict /rbd_header.xxx: (16) Device or resource busy before remove cache tier

The situation is similar with [ceph-users] Cannot remove cache tier . The same as: The total size and the number of stored objects in the rbd-cache pool oscillate around 5 GB and 3K, respectively, while "rados -p rbd-cache cache-flush-evict-all" is…
Victor Lee
  • 2,467
  • 3
  • 19
  • 37
0
votes
1 answer

When does Spark evict broadcasted dataframe from Executors?

I have a doubt, about when we broadcast a dataframe. Copies of broadcasted dataframe are sent to each Executor. So, when does Spark evict these copies from each Executor ?