mirror of
https://github.com/genodelabs/genode.git
synced 2024-12-22 06:57:51 +00:00
05b451c563
By using the cached_fs_rom instead of fs_rom, each client obtains the same (read-only) copy of the shared library, avoiding a RAM resource request when running mulitple GPU applications at the same time. With this patch, Sculpt is able to host at least 3 Mesa applications. Issue #4263 Issue #4281
56 lines
1.1 KiB
Plaintext
56 lines
1.1 KiB
Plaintext
<runtime ram="12M" caps="300" binary="init">
|
|
|
|
<provides>
|
|
<rom/>
|
|
</provides>
|
|
|
|
<requires>
|
|
<rm/>
|
|
</requires>
|
|
|
|
<content>
|
|
<rom label="mesa_gpu-iris.lib.so"/>
|
|
<rom label="cached_fs_rom"/>
|
|
<rom label="init"/>
|
|
<rom label="vfs"/>
|
|
<rom label="vfs.lib.so"/>
|
|
</content>
|
|
|
|
<config verbose="yes">
|
|
|
|
<service name="ROM">
|
|
<default-policy>
|
|
<child name="cached_fs_rom" label="mesa_gpu-iris.lib.so"/>
|
|
</default-policy>
|
|
</service>
|
|
|
|
<parent-provides>
|
|
<service name="ROM"/>
|
|
<service name="PD"/>
|
|
<service name="RM"/>
|
|
<service name="CPU"/>
|
|
<service name="LOG"/>
|
|
</parent-provides>
|
|
|
|
<default-route> <any-service> <parent/> <any-child/> </any-service> </default-route>
|
|
|
|
<start name="vfs" caps="100">
|
|
<resource name="RAM" quantum="1M"/>
|
|
<provides> <service name="File_system"/> </provides>
|
|
<config verbose="yes">
|
|
<vfs>
|
|
<rom name="mesa_gpu-iris.lib.so"/>
|
|
</vfs>
|
|
<default-policy root="/" writeable="no"/>
|
|
</config>
|
|
</start>
|
|
|
|
<start name="cached_fs_rom" caps="100">
|
|
<resource name="RAM" quantum="9M"/>
|
|
<provides> <service name="ROM"/> </provides>
|
|
<config/>
|
|
</start>
|
|
</config>
|
|
|
|
</runtime>
|