soryu: more swap
This commit is contained in:
		
							parent
							
								
									0fc6034632
								
							
						
					
					
						commit
						5b374ef972
					
				@ -29,7 +29,7 @@
 | 
				
			|||||||
      CPUQuota = "300%";
 | 
					      CPUQuota = "300%";
 | 
				
			||||||
      MemoryHigh = "29G";
 | 
					      MemoryHigh = "29G";
 | 
				
			||||||
      MemoryMax = "30G";
 | 
					      MemoryMax = "30G";
 | 
				
			||||||
      MemorySwapMax = "25G";
 | 
					      MemorySwapMax = "50G";
 | 
				
			||||||
      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";
 | 
				
			||||||
 | 
				
			|||||||
@ -29,6 +29,10 @@
 | 
				
			|||||||
    "fs.file-max" = 524288;
 | 
					    "fs.file-max" = 524288;
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  zramSwap = {
 | 
				
			||||||
 | 
					    enable = true;
 | 
				
			||||||
 | 
					    memoryMax = 32 * 1024 * 1024 * 1024;  # 16 GB ZRAM
 | 
				
			||||||
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  disabledModules = [
 | 
					  disabledModules = [
 | 
				
			||||||
    "services/network-filesystems/tahoe.nix"
 | 
					    "services/network-filesystems/tahoe.nix"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user