Skip to content
Snippets Groups Projects
Select Git revision
  • ffb98265fcaa2ff545b52dc4f991281759d5ce29
  • master default protected
2 results

makefile

Blame
  • consts.go 460 B
    package consts
    
    const (
    	DefaultLogLevel = "info"
    
    	APIDefaultPort = 1077
    	APIPortMin     = 1025
    	APIPortMax     = 1099
    
    	VMSpiceMinPort = 1100
    	VMSpiceMaxPort = 65000
    
    	MaxUploadSize = "30G"
    
    	// We estimate that KVM allows for this amount of RAM saving in %
    	// (due to page sharing across VMs).
    	KsmRamSaving = 0.3
    
    	// To prevent RAM saturation, we refuse running new VMs if more than
    	// this amount of memory is being used (in %).
    	RamUsageLimit = .85
    )