File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -263,3 +263,20 @@ cannot be enabled later by providing a `polling_interval` non-zero value.
263263Furthermore, if the balloon was configured with statistics pre-boot through a
264264non-zero ` stats_polling_interval_s `  value, the statistics cannot be disabled
265265through a ` polling_interval `  value of zero post-boot.
266+ 
267+ ## Balloon Caveats  
268+ 
269+ -  Firecracker has no control over the speed of inflation or deflation; this is
270+   dictated by the guest kernel driver.
271+ 
272+ -  The balloon will continually attempt to reach its target size, which can be a
273+   CPU-intensive process. It is therefore recommended to set realistic targets
274+   or, after a period of stagnation in the inflation, update the target size to
275+   be close to the inflated size.
276+ 
277+ -  The ` deflate_on_oom `  flag is a mechanism to prevent the guest from crashing or
278+   terminating processes; it is not meant to be used continually to free memory.
279+   Doing this will be a CPU-intensive process, as the balloon driver is designed
280+   to deflate and release memory slowly. This is also compounded if the balloon
281+   has yet to reach its target size, as it will attempt to inflate while also
282+   deflating.
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments