Reorder the config entries in Occlum.json
Not all config entries are created equal: some are more likely to be customized by users, some are not so often. This commit reorders the config entries in descending order of expected popularity.
This commit is contained in:
		
							parent
							
								
									c1b4814703
								
							
						
					
					
						commit
						ffbae880f2
					
				| @ -1,20 +1,18 @@ | ||||
| { | ||||
|     "metadata": { | ||||
|         "product_id": 0, | ||||
|         "version_number": 0, | ||||
|         "debuggable": true | ||||
|     }, | ||||
|     "resource_limits": { | ||||
|         "max_num_of_threads": 32, | ||||
|         "user_space_size": "256MB", | ||||
|         "kernel_space_heap_size": "32MB", | ||||
|         "kernel_space_stack_size": "1MB", | ||||
|         "user_space_size": "256MB" | ||||
|         "max_num_of_threads": 32 | ||||
|     }, | ||||
|     "process": { | ||||
|         "default_stack_size": "4MB", | ||||
|         "default_heap_size": "32MB", | ||||
|         "default_mmap_size": "80MB" | ||||
|     }, | ||||
|     "entry_points": [ | ||||
|         "/bin" | ||||
|     ], | ||||
|     "env": { | ||||
|         "default": [ | ||||
|             "OCCLUM=yes" | ||||
| @ -23,9 +21,11 @@ | ||||
|             "EXAMPLE" | ||||
|         ] | ||||
|     }, | ||||
|     "entry_points": [ | ||||
|         "/bin" | ||||
|     ], | ||||
|     "metadata": { | ||||
|         "product_id": 0, | ||||
|         "version_number": 0, | ||||
|         "debuggable": true | ||||
|     }, | ||||
|     "mount": [ | ||||
|         { | ||||
|             "target": "/", | ||||
| @ -49,4 +49,4 @@ | ||||
|             "type": "ramfs" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
| } | ||||
|  | ||||
| @ -1,20 +1,18 @@ | ||||
| { | ||||
|     "metadata": { | ||||
|         "product_id": 0, | ||||
|         "version_number": 0, | ||||
|         "debuggable": true | ||||
|     }, | ||||
|     "resource_limits": { | ||||
|         "max_num_of_threads": 32, | ||||
|         "kernel_space_heap_size": "32MB", | ||||
|         "kernel_space_stack_size": "1MB", | ||||
|         "user_space_size": "128MB" | ||||
|         "user_space_size": "128MB", | ||||
|         "max_num_of_threads": 32 | ||||
|     }, | ||||
|     "process": { | ||||
|         "default_stack_size": "4MB", | ||||
|         "default_heap_size": "8MB", | ||||
|         "default_mmap_size": "32MB" | ||||
|     }, | ||||
|     "entry_points": [ | ||||
|         "/bin" | ||||
|     ], | ||||
|     "env": { | ||||
|         "default": [ | ||||
|             "OCCLUM=yes", | ||||
| @ -26,9 +24,11 @@ | ||||
|             "OVERRIDE" | ||||
|         ] | ||||
|     }, | ||||
|     "entry_points": [ | ||||
|         "/bin" | ||||
|     ], | ||||
|     "metadata": { | ||||
|         "product_id": 0, | ||||
|         "version_number": 0, | ||||
|         "debuggable": true | ||||
|     }, | ||||
|     "mount": [ | ||||
|         { | ||||
|             "target": "/", | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user