soryu: more ram
This commit is contained in:
		
							parent
							
								
									4ca2440280
								
							
						
					
					
						commit
						b96652db97
					
				@ -26,10 +26,10 @@
 | 
				
			|||||||
      SYSTEMD_NSPAWN_TMPFS_TMP = "0";
 | 
					      SYSTEMD_NSPAWN_TMPFS_TMP = "0";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
    serviceConfig = {
 | 
					    serviceConfig = {
 | 
				
			||||||
      CPUQuota = "300%";
 | 
					      CPUQuota = "1400%";
 | 
				
			||||||
      MemoryHigh = "29G";
 | 
					      MemoryHigh = "90G";
 | 
				
			||||||
      MemoryMax = "30G";
 | 
					      MemoryMax = "94G";
 | 
				
			||||||
      MemorySwapMax = "50G";
 | 
					      MemorySwapMax = "40G";
 | 
				
			||||||
      ExecStart = "systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i -D /mnt/human/machines/ubuntu-ai";
 | 
					      ExecStart = "systemd-nspawn --quiet --keep-unit --boot --link-journal=try-guest --network-veth -U --settings=override --machine=%i -D /mnt/human/machines/ubuntu-ai";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
  #  overrideStrategy = "asDropin";
 | 
					  #  overrideStrategy = "asDropin";
 | 
				
			||||||
 | 
				
			|||||||
@ -31,7 +31,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  zramSwap = {
 | 
					  zramSwap = {
 | 
				
			||||||
    enable = true;
 | 
					    enable = true;
 | 
				
			||||||
    memoryMax = 32 * 1024 * 1024 * 1024;  # 16 GB ZRAM
 | 
					    memoryMax = 96 * 1024 * 1024 * 1024;  # 96 GB ZRAM
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  disabledModules = [
 | 
					  disabledModules = [
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user