mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
file_vault/file_vault_client: recalibrate quota
Recalibrates RAM and CAP quota in app and test in order for the file_vault_client test to succeed on qemu/x86_64/sel4 and qemu/pbxa9/foc. Ref #5148
This commit is contained in:
parent
ac2d708205
commit
0404cc6907
@ -198,7 +198,7 @@ append config {
|
||||
</start>
|
||||
|
||||
<start name="fs_rom" caps="100">
|
||||
<resource name="RAM" quantum="30M"/>
|
||||
<resource name="RAM" quantum="8M"/>
|
||||
<provides> <service name="ROM"/> </provides>
|
||||
<config/>
|
||||
<route>
|
||||
@ -210,8 +210,8 @@ append config {
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="bash" caps="1000">
|
||||
<resource name="RAM" quantum="64M"/>
|
||||
<start name="bash" caps="500">
|
||||
<resource name="RAM" quantum="32M"/>
|
||||
<binary name="/bin/bash"/>
|
||||
<config>
|
||||
<libc stdin="/dev/terminal" stdout="/dev/terminal"
|
||||
@ -323,9 +323,9 @@ if {[have_board linux]} {
|
||||
|
||||
append config {
|
||||
|
||||
<start name="data_fs" caps="2000">
|
||||
<start name="data_fs" caps="100">
|
||||
<binary name="vfs"/>
|
||||
<resource name="RAM" quantum="200M"/>
|
||||
<resource name="RAM" quantum="10M"/>
|
||||
<provides><service name="File_system"/></provides>
|
||||
<config>
|
||||
<vfs>
|
||||
@ -345,7 +345,7 @@ if {[have_board linux]} {
|
||||
|
||||
<start name="trust_anchor_fs" caps="100">
|
||||
<binary name="vfs"/>
|
||||
<resource name="RAM" quantum="5M"/>
|
||||
<resource name="RAM" quantum="4M"/>
|
||||
<provides><service name="File_system"/></provides>
|
||||
<config>
|
||||
<vfs>
|
||||
@ -366,8 +366,8 @@ if {[have_board linux]} {
|
||||
}
|
||||
append config {
|
||||
|
||||
<start name="file_vault" caps="2000">
|
||||
<resource name="RAM" quantum="200M"/>
|
||||
<start name="file_vault" caps="1000">
|
||||
<resource name="RAM" quantum="80M"/>
|
||||
<provides>
|
||||
<service name="File_system"/>
|
||||
</provides>
|
||||
@ -397,8 +397,8 @@ append config {
|
||||
</route>
|
||||
</start>
|
||||
|
||||
<start name="dynamic_init" caps="1500">
|
||||
<resource name="RAM" quantum="200M"/>
|
||||
<start name="dynamic_init" caps="1000">
|
||||
<resource name="RAM" quantum="100M"/>
|
||||
<binary name="init"/>
|
||||
<route>
|
||||
<service name="ROM" label="config"> <child label="dynamic_init_config" name="dynamic_rom"/> </service>
|
||||
|
@ -370,26 +370,26 @@ class File_vault::Main
|
||||
Root_directory _vfs { _env, _heap, _config_rom.xml().sub_node("vfs") };
|
||||
Registry<Child_state> _children { };
|
||||
Child_state _menu_view { _children, "menu_view", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _mke2fs { _children, "mke2fs", Ram_quota { 100 * 1024 * 1024 }, Cap_quota { 500 } };
|
||||
Child_state _resize2fs { _children, "resize2fs", Ram_quota { 100 * 1024 * 1024 }, Cap_quota { 500 } };
|
||||
Child_state _tresor_vfs { _children, "tresor_vfs", "vfs", Ram_quota { 64 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _tresor_trust_anchor_vfs { _children, "tresor_trust_anchor_vfs", "vfs", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _mke2fs { _children, "mke2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 500 } };
|
||||
Child_state _resize2fs { _children, "resize2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 500 } };
|
||||
Child_state _tresor_vfs { _children, "tresor_vfs", "vfs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _tresor_trust_anchor_vfs { _children, "tresor_trust_anchor_vfs", "vfs", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _rump_vfs { _children, "rump_vfs", "vfs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _sync_to_tresor_vfs_init { _children, "sync_to_tresor_vfs_init", "file_vault-sync_to_tresor_vfs_init", Ram_quota { 8 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _sync_to_tresor_vfs_init { _children, "sync_to_tresor_vfs_init", "file_vault-sync_to_tresor_vfs_init", Ram_quota { 8 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _truncate_file { _children, "truncate_file", "file_vault-truncate_file", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _tresor_vfs_block { _children, "vfs_block", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _fs_query { _children, "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _image_fs_query { _children, "image_fs_query", "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _client_fs_fs_query { _children, "client_fs_fs_query", "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _tresor_init_trust_anchor { _children, "tresor_init_trust_anchor", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _tresor_init { _children, "tresor_init", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _snapshots_fs_query { _children, "snapshots_fs_query", "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _tresor_vfs_block { _children, "vfs_block", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _fs_query { _children, "fs_query", Ram_quota { 2 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _image_fs_query { _children, "image_fs_query", "fs_query", Ram_quota { 2 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _client_fs_fs_query { _children, "client_fs_fs_query", "fs_query", Ram_quota { 2 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _tresor_init_trust_anchor { _children, "tresor_init_trust_anchor", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 300 } };
|
||||
Child_state _tresor_init { _children, "tresor_init", Ram_quota { 4 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _snapshots_fs_query { _children, "snapshots_fs_query", "fs_query", Ram_quota { 2 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _resizing_fs_tool { _children, "resizing_fs_tool", "fs_tool", Ram_quota { 5 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _resizing_fs_query { _children, "resizing_fs_query", "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _rekeying_fs_tool { _children, "rekeying_fs_tool", "fs_tool", Ram_quota { 5 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _rekeying_fs_query { _children, "rekeying_fs_query", "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _lock_fs_tool { _children, "lock_fs_tool", "fs_tool", Ram_quota { 5 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _lock_fs_query { _children, "lock_fs_query", "fs_query", Ram_quota { 1 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _lock_fs_tool { _children, "lock_fs_tool", "fs_tool", Ram_quota { 6 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _lock_fs_query { _children, "lock_fs_query", "fs_query", Ram_quota { 2 * 1024 * 1024 }, Cap_quota { 100 } };
|
||||
Child_state _create_snap_fs_tool { _children, "create_snap_fs_tool", "fs_tool", Ram_quota { 5 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Child_state _discard_snap_fs_tool { _children, "discard_snap_fs_tool", "fs_tool", Ram_quota { 5 * 1024 * 1024 }, Cap_quota { 200 } };
|
||||
Xml_report_handler _fs_query_listing_handler { *this, &Main::_handle_fs_query_listing };
|
||||
|
Loading…
x
Reference in New Issue
Block a user