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": {
|
"resource_limits": {
|
||||||
"max_num_of_threads": 32,
|
"user_space_size": "256MB",
|
||||||
"kernel_space_heap_size": "32MB",
|
"kernel_space_heap_size": "32MB",
|
||||||
"kernel_space_stack_size": "1MB",
|
"kernel_space_stack_size": "1MB",
|
||||||
"user_space_size": "256MB"
|
"max_num_of_threads": 32
|
||||||
},
|
},
|
||||||
"process": {
|
"process": {
|
||||||
"default_stack_size": "4MB",
|
"default_stack_size": "4MB",
|
||||||
"default_heap_size": "32MB",
|
"default_heap_size": "32MB",
|
||||||
"default_mmap_size": "80MB"
|
"default_mmap_size": "80MB"
|
||||||
},
|
},
|
||||||
|
"entry_points": [
|
||||||
|
"/bin"
|
||||||
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"default": [
|
"default": [
|
||||||
"OCCLUM=yes"
|
"OCCLUM=yes"
|
||||||
@ -23,9 +21,11 @@
|
|||||||
"EXAMPLE"
|
"EXAMPLE"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"entry_points": [
|
"metadata": {
|
||||||
"/bin"
|
"product_id": 0,
|
||||||
],
|
"version_number": 0,
|
||||||
|
"debuggable": true
|
||||||
|
},
|
||||||
"mount": [
|
"mount": [
|
||||||
{
|
{
|
||||||
"target": "/",
|
"target": "/",
|
||||||
|
@ -1,20 +1,18 @@
|
|||||||
{
|
{
|
||||||
"metadata": {
|
|
||||||
"product_id": 0,
|
|
||||||
"version_number": 0,
|
|
||||||
"debuggable": true
|
|
||||||
},
|
|
||||||
"resource_limits": {
|
"resource_limits": {
|
||||||
"max_num_of_threads": 32,
|
|
||||||
"kernel_space_heap_size": "32MB",
|
"kernel_space_heap_size": "32MB",
|
||||||
"kernel_space_stack_size": "1MB",
|
"kernel_space_stack_size": "1MB",
|
||||||
"user_space_size": "128MB"
|
"user_space_size": "128MB",
|
||||||
|
"max_num_of_threads": 32
|
||||||
},
|
},
|
||||||
"process": {
|
"process": {
|
||||||
"default_stack_size": "4MB",
|
"default_stack_size": "4MB",
|
||||||
"default_heap_size": "8MB",
|
"default_heap_size": "8MB",
|
||||||
"default_mmap_size": "32MB"
|
"default_mmap_size": "32MB"
|
||||||
},
|
},
|
||||||
|
"entry_points": [
|
||||||
|
"/bin"
|
||||||
|
],
|
||||||
"env": {
|
"env": {
|
||||||
"default": [
|
"default": [
|
||||||
"OCCLUM=yes",
|
"OCCLUM=yes",
|
||||||
@ -26,9 +24,11 @@
|
|||||||
"OVERRIDE"
|
"OVERRIDE"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"entry_points": [
|
"metadata": {
|
||||||
"/bin"
|
"product_id": 0,
|
||||||
],
|
"version_number": 0,
|
||||||
|
"debuggable": true
|
||||||
|
},
|
||||||
"mount": [
|
"mount": [
|
||||||
{
|
{
|
||||||
"target": "/",
|
"target": "/",
|
||||||
|
Loading…
Reference in New Issue
Block a user