Dedicated more memory to network hardware
This commit is contained in:
		
							parent
							
								
									8393f03b2a
								
							
						
					
					
						commit
						aac0926608
					
				| @ -46,7 +46,6 @@ | |||||||
|         pipewire.jack |         pipewire.jack | ||||||
|       ] |       ] | ||||||
|     )}"; |     )}"; | ||||||
|     services.xserver.enable = true; |  | ||||||
|     qt = { |     qt = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       style = "adwaita"; |       style = "adwaita"; | ||||||
| @ -89,6 +88,27 @@ | |||||||
|       }; |       }; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|  |     # Dedicate more memory to network interfaces | ||||||
|  |     boot.kernel.sysctl = { | ||||||
|  |       "net.core.rmem_default" = 1048576; | ||||||
|  |       "net.core.rmem_max" = 16777216; | ||||||
|  |       "net.core.wmem_default" = 1048576; | ||||||
|  |       "net.core.wmem_max" = 16777216; | ||||||
|  |       "net.core.optmem_max" = 65536; | ||||||
|  |       "net.ipv4.tcp_rmem" = [ | ||||||
|  |         4096 | ||||||
|  |         1048576 | ||||||
|  |         2097152 | ||||||
|  |       ]; | ||||||
|  |       "net.ipv4.tpc_wmem" = [ | ||||||
|  |         4096 | ||||||
|  |         65536 | ||||||
|  |         16777216 | ||||||
|  |       ]; | ||||||
|  |       "net.ipv4.udp_rmem_min" = 8192; | ||||||
|  |       "net.ipv4.udp_wmem_min" = 8192; | ||||||
|  |     }; | ||||||
|  | 
 | ||||||
|     # Create null sink for spotifyd |     # Create null sink for spotifyd | ||||||
|     services.pipewire.extraConfig.pipewire."91-null-sinks" = { |     services.pipewire.extraConfig.pipewire."91-null-sinks" = { | ||||||
|       "context.objects" = [ |       "context.objects" = [ | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Jan-Bulthuis
						Jan-Bulthuis