mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Cater for high core count systems
This commit is contained in:
		
							parent
							
								
									211e5ca90c
								
							
						
					
					
						commit
						c368e7ee9e
					
				
					 1 changed files with 5 additions and 1 deletions
				
			
		
							
								
								
									
										6
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -282,7 +282,11 @@ function vm_boot() { | ||||||
|   local CORES_VM="1" |   local CORES_VM="1" | ||||||
|   if [ -z "$cpu_cores" ]; then |   if [ -z "$cpu_cores" ]; then | ||||||
|       local CORES_HOST=$(nproc --all) |       local CORES_HOST=$(nproc --all) | ||||||
|       if [ ${CORES_HOST} -ge 8 ]; then |       if [ ${CORES_HOST} -ge 32 ]; then | ||||||
|  |         CORES_VM="16" | ||||||
|  |       elif [ ${CORES_HOST} -ge 16 ]; then | ||||||
|  |         CORES_VM="8" | ||||||
|  |       elif [ ${CORES_HOST} -ge 8 ]; then | ||||||
|         CORES_VM="4" |         CORES_VM="4" | ||||||
|       elif [ ${CORES_HOST} -ge 4 ]; then |       elif [ ${CORES_HOST} -ge 4 ]; then | ||||||
|         CORES_VM="2" |         CORES_VM="2" | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue