# How to change persistingL2CacheMaxSize?

**URL:** <https://forums.developer.nvidia.com/t/how-to-change-persistingl2cachemaxsize/324251>\
**Category:** CUDA Programming and Performance\
**Tags:** cuda\
**Created:** [February 19, 2025, 8:07am UTC](https://forums.developer.nvidia.com/t/how-to-change-persistingl2cachemaxsize/324251 "2025-02-19T08:07:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JiamingCheng](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@JiamingCheng](https://forums.developer.nvidia.com/u/JiamingCheng)\
**Post date:** [February 19, 2025, 8:07am UTC](https://forums.developer.nvidia.com/t/how-to-change-persistingl2cachemaxsize/324251/1 "2025-02-19T08:07:36Z")

</div>

Hello everyone, I encountered some issues while trying to use the Persisting feature of L2cache. The a100 machine has a 40MB L2 cache, but I found through persitingL2CacheMaxSize that the maximum available persitingL2Cache for this machine is 25MB. Is there any way I can change this value to make it larger? For example, 30MBor35MB.

 ![image](https://global.discourse-cdn.com/nvidia/original/4X/b/e/0/be0ae2f8ada1086e5692569a2fe2a27cd615a72c.png)
