file_vault: further reduce typical quota needs

Ref #5190
This commit is contained in:
Martin Stein 2024-04-23 09:37:45 +02:00 committed by Christian Helmuth
parent d5e3f73884
commit 50fc5c6d42
3 changed files with 5 additions and 5 deletions

View File

@ -194,8 +194,8 @@ append_if [expr ![have_board linux]] config {
append config {
<start name="file_vault" caps="2000">
<resource name="RAM" quantum="200M"/>
<start name="file_vault" caps="1000">
<resource name="RAM" quantum="80M"/>
<config jitterentropy_available="} [jent_avail_attr] {">
<vfs>
<dir name="tresor">

View File

@ -358,7 +358,7 @@ if {[have_board linux]} {
}
append config {
<start name="file_vault" caps="2000">
<start name="file_vault" caps="1000">
<resource name="RAM" quantum="80M"/>
<provides>
<service name="File_system"/>

View File

@ -162,8 +162,8 @@ struct Main : Sandbox::Local_service_base::Wakeup, Sandbox::State_handler
bool jent_avail { config_rom.xml().attribute_value("jitterentropy_available", true) };
Root_directory vfs { env, heap, config_rom.xml().sub_node("vfs") };
Registry<Child_state> children { };
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 mke2fs { children, "mke2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 300 } };
Child_state resize2fs { children, "resize2fs", Ram_quota { 32 * 1024 * 1024 }, Cap_quota { 300 } };
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 } };